Stage2 semble compléter ok
[hvlinux.git] / stage2 / pkg / module-init-tools
old mode 100755 (executable)
new mode 100644 (file)
index 44a2aa6..a7d9c13
@@ -1,14 +1,17 @@
 #!/bin/bash
 
-# --enable-zlib-dynamic: To handle compressed kernel modules.
-CONFIGURE_OPTS="\
-    --enable-zlib-dynamic \
-    --mandir=/usr/share/man \
-    ${CONFIGURE_OPTS}"
+hvconfig_pre()
+{
+    # --enable-zlib-dynamic: To handle compressed kernel modules.
+    CONFIGURE_OPTS="\
+        ${CONFIGURE_OPTS} \
+        --enable-zlib-dynamic \
+        --mandir=/usr/share/man"
+}
 
 hvbuild()
 {
-    make -j ${MAKEJOBS}
+    make -j ${MAKEJOBS} DOCBOOKTOMAN=""
 
     # INSTALL=install
     # Normally, make install will not install the binaries if they already
@@ -19,7 +22,5 @@ hvbuild()
 
 hvbuild_post()
 {
-    cat > /etc/modprobe.conf << "EOF"
-# modprobe.conf
-EOF
+    install -dv ${LFS}/etc/modprobe.d
 }