[Lunar-commits] r18368 - lunar-iso/trunk/lunar-install/sbin
Auke Kok
sofar at lunar-linux.org
Fri Jan 27 19:59:06 UTC 2006
Author: sofar
Date: 2006-01-27 19:59:04 +0000 (Fri, 27 Jan 2006)
New Revision: 18368
Modified:
lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Wait if the kernel compile fails so the user can read some of the output first.
Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install 2006-01-27 19:50:33 UTC (rev 18367)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install 2006-01-27 19:59:04 UTC (rev 18368)
@@ -547,8 +547,8 @@
make_grub_conf()
{
+ mkdir -p $TARGET/boot/grub
(
- mkdir -p $TARGET/boot/grub
echo "timeout 30"
echo "default 0"
echo "fallback 1"
@@ -1075,7 +1075,12 @@
C)
CCOMMAND=`$DIALOG --title "Kernel selection menu" --cancel-label "Exit" --default-item "L" --item-help --menu "" 0 0 0 $(list_kernel_modules)`
if grep -q "^$CCOMMAND:" /kernels/.kernel-modules ; then
- USE_SWAP=1 chroot_run lin -r $(grep "^$CCOMMAND:" /kernels/.kernel-modules | cut -d: -f2)
+ if ! USE_SWAP=1 chroot_run lin -r $(grep "^$CCOMMAND:" /kernels/.kernel-modules | cut -d: -f2); then
+ echo "Press ENTER to go back to the menu"
+ read
+ else
+ sleep 2
+ fi
fi
;;
P)
More information about the Lunar-commits
mailing list