source ../functions/main
source /etc/profile
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
+check_for_root_user
init_log_file
rscr mult "Performing pre-install" pre-install
ipkg -l "${PERL}-pass1" ${PERL}
-ipkg -m noac ${KERNEL}
+ipkg -c -m noac -l "kernel-headers" -s "kernel-headers" ${KERNEL}
ipkg -m noac ${MANPAGES}
ipkg ${EGLIBC}
rscr once "Adjusting toolchain" toolchain-adjust