Update stage1 shadow for new install dir option
[hvlinux.git] / stage1 / hv-install-2
index 1411a4e..520921b 100755 (executable)
@@ -57,10 +57,11 @@ PKG_CONFIG=true \
         --disable-sulogin \
         --disable-su \
         --disable-makeinstall-chown"
-ipkg ${SHADOW} "\
+ipkg -i ${LFS} ${SHADOW} "\
     --sysconfdir=/etc \
     --cache-file=config.cache"
-ipkg ${E2FSPROGS}
+LDFLAGS="-Wl,-lpthread,-ldl" \
+    ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
 ipkg ${KMOD}
 ipkg ${EUDEV}