From 285f2d028bfead41d9b2e1662d21aa551eb23d1e Mon Sep 17 00:00:00 2001 From: piernov Date: Tue, 17 Jul 2012 01:45:18 +0200 Subject: sysvinit 2.88dsf-3 correction port pour systemd --- sysvinit/Pkgfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'sysvinit/Pkgfile') 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} } -- cgit v1.2.3-70-g09d2