summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-20 15:21:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-20 15:21:59 (GMT)
commitd66c33d9e436aa96c477991f89ebd85407bae0cb (patch)
treec53cafec2d4e5505c473616413209de0d38dce2c /abs/core/sysvinit/PKGBUILD
parent94b35c36de73945918cd2d09f23735a0c4e84fe4 (diff)
downloadlinhes_pkgbuild-d66c33d9e436aa96c477991f89ebd85407bae0cb.zip
linhes_pkgbuild-d66c33d9e436aa96c477991f89ebd85407bae0cb.tar.gz
linhes_pkgbuild-d66c33d9e436aa96c477991f89ebd85407bae0cb.tar.bz2
runit & sysvinit : remove power related scripts and move them to a common
Diffstat (limited to 'abs/core/sysvinit/PKGBUILD')
-rw-r--r--abs/core/sysvinit/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/abs/core/sysvinit/PKGBUILD b/abs/core/sysvinit/PKGBUILD
index 3be24b0..e2c87ab 100644
--- a/abs/core/sysvinit/PKGBUILD
+++ b/abs/core/sysvinit/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=sysvinit
pkgver=2.88
-pkgrel=4
+pkgrel=5
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')
+depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk' 'poweroff-scripts')
source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2 halt-init.patch)
build() {
@@ -26,8 +26,16 @@ package() {
# 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
+ #These will be created in the poweroff-scripts post-install section
+ #This should be removed when moving to 64 and we have no legacy to worry about
+ #ln -s halt.init reboot.init
+ #ln -s halt.init poweroff.init
+
+
+
+ mv halt halt.init
+ mv shutdown shutdown.init
+
}
md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f'