X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fsysvinit;h=38229b149420781b6252dddebfabe561501afd67;hb=582e550b16726c1391156a831baaf33c29a7a38f;hp=4ca834e15227af6f9188e13a215832b5174addd6;hpb=09d90aecd59ed3f258a29f54a3cacdac312f3d0c;p=hvlinux.git diff --git a/stage2/pkg/sysvinit b/stage2/pkg/sysvinit index 4ca834e..38229b1 100644 --- a/stage2/pkg/sysvinit +++ b/stage2/pkg/sysvinit @@ -1,23 +1,5 @@ #!/bin/bash -hvconfig_pre() -{ - cd ${LFS_TMP}/${PACKAGE} - - sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c - - # A maintained version of the wall program was installed earlier by - # Util-linux-ng. Suppress the installation of Sysvinit's version: - sed -i -e 's/utmpdump wall/utmpdump/' \ - -e 's/mountpoint.1 wall.1/mountpoint.1/' src/Makefile -} - -hvbuild() -{ - make -j ${MAKEJOBS} -C src - make -C src install -} - hvbuild_post() { chown root:shutdown /sbin/{halt,poweroff,reboot,shutdown}