Update kmod for new install dir option
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 27 Dec 2014 17:11:15 +0000 (12:11 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 28 Dec 2014 19:55:38 +0000 (14:55 -0500)
stage1/hv-install-2
stage1/pkg/kmod

index 520921b..8b7b955 100755 (executable)
@@ -63,7 +63,7 @@ ipkg -i ${LFS} ${SHADOW} "\
 LDFLAGS="-Wl,-lpthread,-ldl" \
     ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
-ipkg ${KMOD}
+ipkg -i ${LFS} ${KMOD} "--bindir=/bin"
 ipkg ${EUDEV}
 ipkg -c -m noac ${KERNEL}
 
index 783d8ce..6810c46 100644 (file)
@@ -1,20 +1,5 @@
 #!/bin/bash
 
-hvconfig_pre()
-{
-    CONFIGURE_OPTS="\
-        --prefix=/tools \
-        --bindir=/bin \
-        --build=${CLFS_HOST} \
-        --host=${CLFS_TARGET}"
-}
-
-hvbuild()
-{
-    make
-    make DESTDIR=${LFS} install
-}
-
 hvbuild_post()
 {
     # Create symbolic links for programs that expect Module-Init-Tools: