diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2012-11-08 19:14:23 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2012-11-08 19:14:36 +0100 |
commit | 4c24642ba1ef8bb1539e400540fb3f3d972471ff (patch) | |
tree | 8f2ec94dd30cbcebfe8b48c901c6c9024a2bd61d | |
parent | 2328886972a8525946787dc3d663a59484dae204 (diff) | |
download | aports-4c24642ba1ef8bb1539e400540fb3f3d972471ff.tar.bz2 aports-4c24642ba1ef8bb1539e400540fb3f3d972471ff.tar.xz |
testing/zfs-git-grsec: fix deps and initd
-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 add22c1955..5805ee68af 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 |