summaryrefslogtreecommitdiffstats
path: root/sysvinit/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-17 01:45:18 +0200
committerpiernov <piernov@piernov.org>2012-07-17 01:45:18 +0200
commit285f2d028bfead41d9b2e1662d21aa551eb23d1e (patch)
treeaa8b9ac29d28bce183df422bbd0944c53f3774d3 /sysvinit/Pkgfile
parentdc92d5f922d5f6b157c091267d2828336727b8e2 (diff)
downloadnutyx-pakxe-285f2d028bfead41d9b2e1662d21aa551eb23d1e.tar.gz
nutyx-pakxe-285f2d028bfead41d9b2e1662d21aa551eb23d1e.tar.bz2
nutyx-pakxe-285f2d028bfead41d9b2e1662d21aa551eb23d1e.tar.xz
nutyx-pakxe-285f2d028bfead41d9b2e1662d21aa551eb23d1e.zip
sysvinit 2.88dsf-3 correction port pour systemd
Diffstat (limited to 'sysvinit/Pkgfile')
-rwxr-xr-xsysvinit/Pkgfile17
1 files changed, 10 insertions, 7 deletions
diff --git a/sysvinit/Pkgfile b/sysvinit/Pkgfile
index 6c9070a2a..732e97dd6 100755
--- a/sysvinit/Pkgfile
+++ b/sysvinit/Pkgfile
@@ -6,18 +6,21 @@
name=sysvinit
version=2.88dsf
-release=2
+release=3
source=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$version.tar.bz2)
build() {
-cd $name-$version
-
+ cd $name-$version
sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c
- sed -i -e 's/utmpdump wall/utmpdump/' src/Makefile
+
+ sed "s|init halt shutdown runlevel killall5 fstab-decode|killall5 fstab-decode|" -i src/Makefile
+ sed "s|halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8|init.8 killall5.8 pidof.8|" -i src/Makefile
+ sed "s|shutdown.8 telinit.8 fstab-decode.8|fstab-decode.8|" -i src/Makefile
+ sed "s|mountpoint||" -i src/Makefile
+ sed "s|mountpoint.1||" -i src/Makefile
+
make
make ROOT=$PKG install
- # mountpoint fournis par util-linux
- rm $PKG/bin/mountpoint
- rm $PKG/usr/share/man/man1/mountpoint.1
+ rm $PKG/sbin/{poweroff,reboot,telinit}
}