Fix sysvinit problems with new patches
[hvlinux.git] / stage2 / pkg / sysvinit
index 4ca834e..4882a69 100644 (file)
@@ -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
 }