Upgrade to gdbm-1.11
[hvlinux.git] / stage2 / hv-install-2
index 25a5edc..531d57e 100755 (executable)
@@ -4,68 +4,89 @@ source ../functions/main
 
 init_log_file
 
-ipkg ${GDBM}
-ipkg ${INETUTILS}
+ipkg ${BC} "--with-readline"
+ipkg ${GDBM} "--enable-libgdbm-compat"
+ipkg ${INETUTILS} "\
+    --libexecdir=/usr/sbin \
+    --localstatedir=/var \
+    --disable-ifconfig \
+    --disable-logger \
+    --disable-syslogd \
+    --disable-whois \
+    --disable-servers"
 ipkg -m noac ${BZIP2}
 ipkg ${DIFFUTILS}
 ipkg ${FILE_PKG}
 ipkg ${GAWK} "--libexecdir=/usr/lib"
-ipkg ${FINDUTILS}
+ipkg ${FINDUTILS} "\
+    --libexecdir=/usr/lib/findutils \
+    --localstatedir=/var/lib/locate"
 ipkg ${GETTEXT}
+ipkg ${GPERF}
 ipkg ${GREP} "--bindir=/bin --without-included-regex"
 ipkg ${GROFF}
-ipkg ${GZIP}
-ipkg ${KBD}
+ipkg ${GZIP} "--bindir=/bin"
+ipkg ${KBD} "--datadir=/lib/kbd"
 ipkg ${LESS}
 ipkg ${MAKE_PACKAGE}
+ipkg ${XZ_UTILS}
+ipkg ${LIBPIPELINE} "\
+    --libexecdir=/usr/lib \
+    --disable-setuid \
+    --with-browser=/usr/bin/lynx \
+    --with-vgrind=/usr/bin/vgrind \
+    --with-grap=/usr/bin/grap"
 ipkg ${MAN_DB} "\
     --libexecdir=/usr/lib \
     --disable-setuid \
     --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 ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin"
+ipkg -m noac -d src ${SYSVINIT}
+FORCE_UNSAFE_CONFIGURE=1 ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin"
 ipkg ${TEXINFO}
-ipkg ${UDEV}
-ipkg -m noac ${UDEV_CONFIG}
-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}
 
-    if [ -n "${FIRMWARE_B43_LPPHY}" ]; then
+    if [ -n "${B43_LPPHY}" ]; then
         PREFIX=/usr ipkg -m noac ${B43_FWCUTTER}
         ipkg -m noac -s firmware-b43-lpphy ${FIRMWARE_B43_LPPHY}
     fi
 fi
 
 ipkg ${NANO}
+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
 
-echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h"
-
-# Creating root password
-passwd root
+rscr once "Setting root password:\n" create-root-password
 
 rscr mult  "Performing post-install" post-install
 ldconfig
 
-echo "Stage2 successfully completed."
-echo "You must now compile a new kernel (go to /usr/src/linux)."
-echo "After that, you can reboot and try your new system."
+write_completed_stage
+display_stage_build_stats
 
 exec /bin/bash --login