[Lunar-commits]
CVS: lunar-iso/lunar-install/sbin lunar-install, 1.5, 1.6
Auke Kok
sofar at lunar-linux.org
Sun Mar 27 16:49:32 UTC 2005
- Previous message: [Lunar-commits] CVS: lunar-iso/kernels baseconfig-2.4, NONE,
1.1 baseconfig-2.6, NONE, 1.1 config_bigmem-2.4, NONE,
1.1 config_grsec-2.4, NONE, 1.1 config_i386-2.4, NONE,
1.1 config_lowlat-2.4, NONE, 1.1 config_lowmem-2.4, NONE,
1.1 config_lowmem-2.6, NONE, 1.1 config_mem-2.4, NONE,
1.1 config_nosmp-2.4, NONE, 1.1 config_nosmp-2.6, NONE,
1.1 config_om-2.4, NONE, 1.1 config_safe-2.4, NONE,
1.1 config_smp-2.4, NONE, 1.1 config_smp-2.6, NONE,
1.1 baseconfig, 1.1, NONE config_bigmem, 1.1,
NONE config_grsec, 1.1, NONE config_i386, 1.1,
NONE config_lowlat, 1.1, NONE config_lowmem, 1.1,
NONE config_mem, 1.1, NONE config_nosmp, 1.1, NONE config_om,
1.1, NONE config_safe, 1.3, NONE config_smp, 1.1, NONE
- Next message: [Lunar-commits]
CVS: lunar-iso/scripts aaa_base, 1.4, 1.5 init, 1.1,
1.2 initrd, 1.9, 1.10 kernels, 1.11, 1.12 moonbase, 1.1,
1.2 proper, 1.7, 1.8 rebuild, 1.2, 1.3 unpack, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/lunar/lunar-iso/lunar-install/sbin
In directory espresso.foo-projects.org:/tmp/cvs-serv27184/lunar-install/sbin
Modified Files:
lunar-install
Log Message:
Merginf in nestu's kernel-version related code, as well as some fixes and small additions to the build code
Index: lunar-install
===================================================================
RCS file: /var/cvs/lunar/lunar-iso/lunar-install/sbin/lunar-install,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- lunar-install 20 Mar 2005 21:40:27 -0000 1.5
+++ lunar-install 27 Mar 2005 16:49:29 -0000 1.6
@@ -406,8 +406,6 @@
if [ "$MNTPNT" == "/" ]; then
ROOT=$PART
- elif [ "$MNTPNT" == "/boot" ]; then
- BOOT=$PART
fi
done
}
@@ -442,23 +440,18 @@
}
-
make_lilo_conf()
{
if [ ! -f $TARGET/etc/lilo.conf ]; then
cp /etc/lilo.conf $TARGET/etc/lilo.conf
fi
- if [ -z "$BOOT" ]; then
- BOOT=${ROOT/part[0-9]*/disc}
- fi
echo "" >> $TARGET/etc/lilo.conf
- echo "boot=/dev/discs/$BOOT" >> $TARGET/etc/lilo.conf
+ echo "boot=/dev/discs/disc" >> $TARGET/etc/lilo.conf
echo "root=/dev/discs/$ROOT" >> $TARGET/etc/lilo.conf
echo "" >> $TARGET/etc/lilo.conf
}
-
transfer()
{
$DIALOG --msgbox "You should now be ready to install lunar to your system. Lunar will now create filesystems if needed, make a swapfile if it was selected, and install all lunar packages to the newly setup system. Make sure you are done with partitioning and filesystem selection." 12 60
@@ -490,12 +483,6 @@
$DIALOG --msgbox "Problem creating filesystem on /dev/discs/$PART. Installation will continue." 8 50
fi
fi
- # then mount if needed and make fstab lines
- if [ "$MNT_OPTS" != "defaults" ]; then
- MNT_OPTS="-o $MNT_OPTS"
- else
- MNT_OPTS=
- fi
# again, weed out swap first
if [ "$FSYS" == "swap" ]; then
if swapon /dev/discs/$PART; then
@@ -505,8 +492,8 @@
$DIALOG --msgbox "Problem mounting swap on /dev/discs/$PART. Installation will continue." 8 50
fi
# then try to mount normal FS's
- elif mkdir -p $TARGET$MOUNTPOINT && mount -n -t $FSYS /dev/discs/$PART $TARGET$MOUNTPOINT $MNT_OPTS &> /dev/null; then
- FSTAB="$FSTAB\n/dev/discs/$PART\t$MOUNTPOINT\t$FSYS\t$MNT_OPTS\t\t0 $FSCK_PASS"
+ elif mkdir -p $TARGET$MOUNTPOINT && mount -n -t $FSYS /dev/discs/$PART $TARGET$MOUNTPOINT ${MNT_OPTS:+ -o $MNT_OPTS} &> /dev/null; then
+ FSTAB="$FSTAB\n/dev/discs/$PART\t$MOUNTPOINT\t$FSYS\t${MNT_OPTS:-defaults}\t0 $FSCK_PASS"
else
sleep 3
$DIALOG --msgbox "Problem mounting filesystem on /dev/discs/$PART. Installation will continue." 8 50
@@ -556,14 +543,14 @@
(
if [ -f /var/cache/lunar/aaa_base.tar.bz2 ]; then
echo XXX
- echo 1
+ echo $(( 1 * 100 / $NUM ))
echo "\nInstalling aaa_base: base directories and files\n"
echo XXX
tar xjf /var/cache/lunar/aaa_base.tar.bz2 2> /dev/null
fi
if [ -f /var/cache/lunar/aaa_dev.tar.bz2 ]; then
echo XXX
- echo 2
+ echo $(( 2 * 100 / $NUM ))
echo "\nInstalling aaa_dev: device nodes\n"
echo XXX
tar xjf /var/cache/lunar/aaa_dev.tar.bz2 2> /dev/null
@@ -581,7 +568,7 @@
done
if [ -f /var/lib/lunar/moonbase.tar.bz2 ] ; then
echo XXX
- echo 99
+ echo $(( CNT * 100 / NUM ))
echo "\nInstalling moonbase"
echo XXX
(
- Previous message: [Lunar-commits] CVS: lunar-iso/kernels baseconfig-2.4, NONE,
1.1 baseconfig-2.6, NONE, 1.1 config_bigmem-2.4, NONE,
1.1 config_grsec-2.4, NONE, 1.1 config_i386-2.4, NONE,
1.1 config_lowlat-2.4, NONE, 1.1 config_lowmem-2.4, NONE,
1.1 config_lowmem-2.6, NONE, 1.1 config_mem-2.4, NONE,
1.1 config_nosmp-2.4, NONE, 1.1 config_nosmp-2.6, NONE,
1.1 config_om-2.4, NONE, 1.1 config_safe-2.4, NONE,
1.1 config_smp-2.4, NONE, 1.1 config_smp-2.6, NONE,
1.1 baseconfig, 1.1, NONE config_bigmem, 1.1,
NONE config_grsec, 1.1, NONE config_i386, 1.1,
NONE config_lowlat, 1.1, NONE config_lowmem, 1.1,
NONE config_mem, 1.1, NONE config_nosmp, 1.1, NONE config_om,
1.1, NONE config_safe, 1.3, NONE config_smp, 1.1, NONE
- Next message: [Lunar-commits]
CVS: lunar-iso/scripts aaa_base, 1.4, 1.5 init, 1.1,
1.2 initrd, 1.9, 1.10 kernels, 1.11, 1.12 moonbase, 1.1,
1.2 proper, 1.7, 1.8 rebuild, 1.2, 1.3 unpack, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Lunar-commits
mailing list