Advertisement
Guest User

zfs_PKGBUILD.patch

a guest
Aug 13th, 2019
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.87 KB | None | 0 0
  1. --- a/PKGBUILD    2019-08-06 14:51:56.000000000 +0200
  2. +++ b/PKGBUILD    2019-08-13 10:27:40.528190725 +0200
  3. @@ -14,8 +14,10 @@
  4.  makedepends=("git")
  5.  arch=("x86_64")
  6.  url="http://zfsonlinux.org/"
  7. -source=("git+https://github.com/zfsonlinux/zfs.git#commit=${_commit}")
  8. -sha256sums=("SKIP")
  9. +source=("git+https://github.com/zfsonlinux/zfs.git#commit=${_commit}"
  10. +"0001-modue_install_fix.patch")
  11. +sha256sums=('SKIP'
  12. +            'c20bfe9d399ea9d085a6bb2b7cda128ae291f57f977418dc0cc4d7e55e25a6f8')
  13.  license=("CDDL")
  14.  depends=("zfs-utils-git=${pkgver}" "lsb-release" "dkms")
  15.  provides=("zfs" "zfs-headers" "spl" "spl-headers")
  16. @@ -23,6 +25,12 @@
  17.  conflicts=("zfs" "zfs-headers" "spl" "spl-headers")
  18.  replaces=("spl-dkms-git")
  19.  
  20. +prepare() {
  21. +    cd "${srcdir}"/zfs
  22. +
  23. +    patch -p1 -i ../0001-modue_install_fix.patch
  24. +}
  25. +
  26.  build() {
  27.      cd "${srcdir}/zfs"
  28.      ./autogen.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement