Installation automatique du kernel au stage2.
[hvlinux.git] / stage2 / hv-install-2
index 7bc9846..53b8d15 100755 (executable)
@@ -49,6 +49,7 @@ fi
 
 ipkg ${NANO}
 ipkg -m noac ${ACPID}
+ipkg -c -m noac -l "kernel" -s "kernel" ${KERNEL}
 
 rscr once "Installing HV-utilities" install-hv-utilities
 rscr once "Installing bootscripts"  install-bootscripts
@@ -57,18 +58,13 @@ 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 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