Subversion Repositories livecd

Rev

Rev 65 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 65 Rev 91
Line 470... Line 470...
470
    ### create grub.conf file
470
    ### create grub.conf file
471
    ### -----------------------------------------------------------
471
    ### -----------------------------------------------------------
472
    echo "Create grub.conf ..."
472
    echo "Create grub.conf ..."
473
 
473
 
474
    TITLE="Linux"
474
    TITLE="Linux"
475
    [ -e $NEW//etc/redhat-release ] && TITLE=$( cat $NEW/etc/redhat-release )
475
    [ -e $NEW/etc/redhat-release ] && TITLE=$( cat $NEW/etc/redhat-release )
476
 
476
 
477
    DEFAULT=0
477
    DEFAULT=0
478
    # set default=1, if smp kernel is running
478
    # set default=1, if smp kernel is running
479
    uname -r | grep -q smp
479
    uname -r | grep -q smp
480
    [ "$?" = "0" ] && DEFAULT=1
480
    [ "$?" = "0" ] && DEFAULT=1
Line 548... Line 548...
548
cp -a $BOOT_DIR/vmlinuz            $NEW/boot/vmlinuz-${KERNEL_VERSION}
548
cp -a $BOOT_DIR/vmlinuz            $NEW/boot/vmlinuz-${KERNEL_VERSION}
549
cp -a $BOOT_DIR/vmlinuzs           $NEW/boot/vmlinuz-${KERNEL_VERSION}smp  2>/dev/null
549
cp -a $BOOT_DIR/vmlinuzs           $NEW/boot/vmlinuz-${KERNEL_VERSION}smp  2>/dev/null
550
cp -a $BOOT_DIR/System.map-*       $NEW/boot/
550
cp -a $BOOT_DIR/System.map-*       $NEW/boot/
551
cp -a $BOOT_DIR/config-*           $NEW/boot/
551
cp -a $BOOT_DIR/config-*           $NEW/boot/
552
cp -a $BOOT_DIR/symvers-*.gz       $NEW/boot/        2>/dev/null
552
cp -a $BOOT_DIR/symvers-*.gz       $NEW/boot/        2>/dev/null
553
cp -a $BOOT_DIR/grub/splash.xpm.gz $NEW/boot/grub/
553
cp -a $BOOT_DIR/grub/splash.xpm.gz $NEW/boot/grub/   2>/dev/null
554
cp -a $BOOT_DIR/message.ja         $NEW/boot/        2>/dev/null
554
cp -a $BOOT_DIR/message.ja         $NEW/boot/        2>/dev/null
555
cp -a $BOOT_DIR/message            $NEW/boot/        2>/dev/null
555
cp -a $BOOT_DIR/message            $NEW/boot/        2>/dev/null
556
 
556
 
557
echo "done."; echo
557
echo "done."; echo
558
 
558