From 4c24642ba1ef8bb1539e400540fb3f3d972471ff Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 8 Nov 2012 19:14:23 +0100 Subject: testing/zfs-git-grsec: fix deps and initd --- testing/zfs-git-grsec/APKBUILD | 8 ++++++-- 1 file 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 -- cgit v1.2.3