Update sysvinit for new ipkg() -d option
[hvlinux.git] / stage2 / hv-install-2
index d9ed780..6a25ace 100755 (executable)
@@ -4,6 +4,7 @@ source ../functions/main
 
 init_log_file
 
+ipkg ${BC} "--with-readline"
 ipkg ${GDBM}
 ipkg ${INETUTILS}
 ipkg -m noac ${BZIP2}
@@ -12,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}
@@ -31,19 +33,21 @@ ipkg ${MAN_DB} "\
     --with-browser=/usr/bin/lynx \
     --with-vgrind=/usr/bin/vgrind \
     --with-grap=/usr/bin/grap"
-ipkg ${MODULE_INIT_TOOLS}
+ipkg ${KMOD}
 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 -m acnb ${DHCP} "--exec-prefix=/"
+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}
 
@@ -54,18 +58,21 @@ if [ -n "${WIFI_SUPPORT}" ]; then
 fi
 
 ipkg ${NANO}
-ipkg -m noac ${ACPID}
-ipkg -c -m noac -l "kernel" -s "kernel" ${KERNEL}
+ipkg ${ACPID}
+ipkg ${HV_UTILITIES} "--prefix=/usr/local"
+
+ipkg ${LZO} "--enable-shared --disable-static"
+ipkg ${LZOP}
+
+ipkg -m noac -l "kernel" -s "kernel" ${KERNEL}
 
-rscr once "Installing HV-utilities" install-hv-utilities
 rscr once "Installing bootscripts"  install-bootscripts
 rscr once "Creating default config files" create-config-files
 
 rscr mult  "Compressing man pages"   compressdoc
 #rscr mult "Stripping" stripping
 
-# Creating root password
-passwd root
+rscr once "Setting root password:\n" create-root-password
 
 rscr mult  "Performing post-install" post-install
 ldconfig