summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit
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
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')
-rw-r--r--abs/core/sysvinit/PKGBUILD16
-rw-r--r--abs/core/sysvinit/__changelog4
-rw-r--r--abs/core/sysvinit/sysvinit.install3
3 files changed, 16 insertions, 7 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'
diff --git a/abs/core/sysvinit/__changelog b/abs/core/sysvinit/__changelog
index 2a93469..f249199 100644
--- a/abs/core/sysvinit/__changelog
+++ b/abs/core/sysvinit/__changelog
@@ -24,3 +24,7 @@ patch halt to work with runit
* mv shutdown shutdown-init
* rm -f reboot poweroff
* remove sysvinit.install
+
+#add -jm
+'poweroff-scripts' as a depend
+
diff --git a/abs/core/sysvinit/sysvinit.install b/abs/core/sysvinit/sysvinit.install
deleted file mode 100644
index 2f0e62e..0000000
--- a/abs/core/sysvinit/sysvinit.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_upgrade() {
- [ -x sbin/init ] && sbin/init u
-}