X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fsysvinit;h=4882a697bb2370aa6b8817cc75f086e05f3a66d4;hb=22ec65898211b590bfbbf2f25c604169c456d15d;hp=853c904849d78f1cb6c09121c07332cc35538848;hpb=3a7685561df0a4d80e727e5b26fbf413ad0586f2;p=hvlinux.git diff --git a/stage2/pkg/sysvinit b/stage2/pkg/sysvinit index 853c904..4882a69 100644 --- a/stage2/pkg/sysvinit +++ b/stage2/pkg/sysvinit @@ -1,19 +1,8 @@ #!/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() { + cd ${LFS_TMP}/${PACKAGE} make -j ${MAKEJOBS} -C src make -C src install } @@ -23,7 +12,4 @@ hvbuild_post() chown root:shutdown /sbin/{halt,poweroff,reboot,shutdown} chmod 750 /sbin/{halt,poweroff,reboot,shutdown} chmod u+s /sbin/{halt,poweroff,reboot,shutdown} - - # Il faut ajouter l'usager régulier au groupe shutdown. - gpasswd -a ${REGUSER} shutdown }