Update sysvinit for new ipkg() -d option
[hvlinux.git] / stage2 / hv-install-2
index 7a29ca4..6a25ace 100755 (executable)
@@ -13,6 +13,7 @@ ipkg ${FILE_PKG}
 ipkg ${GAWK} "--libexecdir=/usr/lib"
 ipkg ${FINDUTILS}
 ipkg ${GETTEXT}
+ipkg ${GPERF}
 ipkg ${GREP} "--bindir=/bin --without-included-regex"
 ipkg ${GROFF}
 ipkg ${GZIP}
@@ -37,14 +38,16 @@ ipkg ${PATCH_PACKAGE}
 ipkg ${PSMISC}
 ipkg ${SHADOW}
 ipkg -m noac ${SYSKLOGD}
-ipkg -m noac ${SYSVINIT}
+ipkg -m noac -d src ${SYSVINIT}
 FORCE_UNSAFE_CONFIGURE=1 ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin"
 ipkg ${TEXINFO}
-ipkg ${UDEV}
-ipkg ${GRUB}
+ipkg ${EUDEV}
+CFLAGS="" CPPFLAGS="" CXXFLAGS="" ipkg ${GRUB} --disable-werror
 ipkg -m acnb ${DHCP}
+ipkg -m acnb ${DHCPCD}
 
 if [ -n "${WIFI_SUPPORT}" ]; then
+    ipkg -m acnb ${LIBNL} "--disable-static"
     PREFIX=/usr ipkg -m noac -s wireless-tools ${WIRELESS_TOOLS}
     ipkg -m noac ${WPA_SUPPLICANT}
 
@@ -55,10 +58,13 @@ if [ -n "${WIFI_SUPPORT}" ]; then
 fi
 
 ipkg ${NANO}
-ipkg -m noac ${ACPID}
+ipkg ${ACPID}
 ipkg ${HV_UTILITIES} "--prefix=/usr/local"
 
-ipkg -c -m noac -l "kernel" -s "kernel" ${KERNEL}
+ipkg ${LZO} "--enable-shared --disable-static"
+ipkg ${LZOP}
+
+ipkg -m noac -l "kernel" -s "kernel" ${KERNEL}
 
 rscr once "Installing bootscripts"  install-bootscripts
 rscr once "Creating default config files" create-config-files
@@ -66,8 +72,7 @@ rscr once "Creating default config files" create-config-files
 rscr mult  "Compressing man pages"   compressdoc
 #rscr mult "Stripping" stripping
 
-echo "Setting root password:"
-rscr once "" create-root-password
+rscr once "Setting root password:\n" create-root-password
 
 rscr mult  "Performing post-install" post-install
 ldconfig