From: Brad House Date: Sat, 24 Jan 2004 21:15:24 +0000 (+0000) Subject: updates X-Git-Tag: v3.4.10.902~695 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=935ee8f947b70449c862f41c9545b0f297be36bd;p=genkernel.git updates git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@57 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_funcs.sh b/gen_funcs.sh index d4bba7b..b7fd72a 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -165,6 +165,11 @@ gen_die() { then print_info 1 "gen_die(): ${1}" fi + print_info 1 "Please see ${DEBUGFILE} for more info on failures" + print_info 1 "" + print_info 1 "DO NOT REPORT KERNEL COMPILE FAILURES AS GENKERNEL BUGS!" + print_info 1 "" + print_info 1 "Report real genkernel bugs to bugs.gentoo.org" exit 1 } diff --git a/generic/linuxrc b/generic/linuxrc index edd0698..c0b6496 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -77,7 +77,7 @@ mkdir /newroot if [ "${CDROOT}" -eq "1" ] then mount -t tmpfs tmpfs /newroot - mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp /newroot/tmp/.initrd /newroot/mnt/gentoo + mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/livecd /newroot/tmp /newroot/tmp/.initrd /newroot/mnt/gentoo [ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev devfsd /newroot/dev sleep 1 @@ -208,13 +208,13 @@ then mount -o bind /newroot/dev /dev echo "STEP 5a1: mounting loop filesystem" - mount -t ext2 -o loop,ro /newroot/mnt/cdrom/${LOOP} /newroot/mnt/loop + mount -t ext2 -o loop,ro /newroot/mnt/cdrom/${LOOP} /newroot/mnt/livecd if [ "$?" != "0" ] then echo "FAILED TO MOUNT LOOP FILESYSTEM, barfing out to shell" /bin/ash fi - FS_LOCATION="mnt/loop" + FS_LOCATION="mnt/livecd" umount /dev elif [ "${LOOPTYPE}" = "zisofs" ] then diff --git a/genkernel b/genkernel index af24221..5df0da3 100755 --- a/genkernel +++ b/genkernel @@ -1,7 +1,7 @@ #!/bin/bash # Genkernel v3 -GK_V="3.0.1_beta6" +GK_V="3.0.1_beta7" TEMP="/tmp" small_die() { @@ -100,4 +100,19 @@ then gen_minkernpackage fi -print_info 1 "DONE" + +print_info 1 "Kernel compiled successfully!" +print_info 1 "Required Kernel Params:" +print_info 1 " : root=/dev/ram0 init=/linuxrc real_root=/dev/\$ROOT" +print_info 1 " where \$ROOT is the devicenode for your root partition as" +print_info 1 " you should have specified in /etc/fstab" +print_info 1 "" +print_info 1 "You MUST tell your bootloader to use the generated initrd" +print_info 1 "" +print_info 1 "Recommended Kernel Params:" +print_info 1 " : vga=0x317 splash=verbose" +print_info 1 "" +print_info 1 "Do NOT report kernel bugs (configs included) as genkernel bugs." +print_info 1 "Make sure you have the latest genkernel before reporting bugs" +print_info 1 "" +print_info 1 "For more info see /usr/share/genkernel/README"