summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit
diff options
context:
space:
mode:
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
-}