diff options
-rw-r--r-- | testing/zfs-git-grsec/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/zfs-git-grsec/APKBUILD b/testing/zfs-git-grsec/APKBUILD index add22c195..5805ee68a 100644 --- a/testing/zfs-git-grsec/APKBUILD +++ b/testing/zfs-git-grsec/APKBUILD @@ -9,7 +9,7 @@ _kpkg=linux-$_flavor _kver=3.6.6 _kpkgrel=1 -_mypkgrel=0 +_mypkgrel=1 _date=$(date +%Y%m%d) # source the kernel version @@ -84,7 +84,7 @@ dev() { utils() { pkgdesc="Userland tools to manage zfs on linux" - depends="$depends bash" + depends="bash" mkdir -p "$subpkgdir" mv "$pkgdir"/* "$subpkgdir" || return 1 mkdir -p "$pkgdir"/lib @@ -93,6 +93,10 @@ utils() { rm -f "$subpkgdir"/etc/init.d/zfs install -m755 -D "$_builddir"/etc/init.d/zfs.gentoo.in \ "$subpkgdir"/etc/init.d/zfs + sed -i -e "s/@sbindir@/\/usr\/sbin/g" \ + "$subpkgdir"/etc/init.d/zfs || return 1 + sed -i -e "s/@sysconfdir@/\/etc/g" \ + "$subpkgdir"/etc/init.d/zfs || return 1 } md5sums="78652d6a0ea05fa3476d0e1c577dbb98 zfs-git-20121108.tar.gz |