diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-08-17 21:48:18 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-08-17 21:48:18 (GMT) |
commit | 4df43632bee24052820b3f29e315c46e4cc5fbcc (patch) | |
tree | 93a16920d50c557a51e05408aa4afab28cab2762 /abs/core/sysvinit/PKGBUILD | |
parent | 307eb233df908c5b979bfbe8bc76211cd3ff59b4 (diff) | |
download | linhes_pkgbuild-4df43632bee24052820b3f29e315c46e4cc5fbcc.zip linhes_pkgbuild-4df43632bee24052820b3f29e315c46e4cc5fbcc.tar.gz linhes_pkgbuild-4df43632bee24052820b3f29e315c46e4cc5fbcc.tar.bz2 |
sysvinit: Make changes to ensure halt/reboot work.
Diffstat (limited to 'abs/core/sysvinit/PKGBUILD')
-rw-r--r-- | abs/core/sysvinit/PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/abs/core/sysvinit/PKGBUILD b/abs/core/sysvinit/PKGBUILD index 110d93c..3be24b0 100644 --- a/abs/core/sysvinit/PKGBUILD +++ b/abs/core/sysvinit/PKGBUILD @@ -4,14 +4,13 @@ pkgname=sysvinit pkgver=2.88 -pkgrel=3 +pkgrel=4 pkgdesc="Linux System V Init" arch=('i686' 'x86_64') url="http://savannah.nongnu.org/projects/sysvinit" license=('GPL') groups=('base') depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk') -install=sysvinit.install source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2 halt-init.patch) build() { @@ -23,6 +22,13 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}dsf" make ROOT="${pkgdir}" install + + # Rename some stuff so it does not bigfoot changes needed for runit + cd "${pkgdir}/sbin" + rm -f reboot poweroff + mv halt halt-init + mv shutdown shutdown-init + } md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f' 'cd4c5767f63ca5881e3e1f1c4f10f896') |