>> 3.1.1c. Add LiveCD detection to skip mountable but non-LiveCD media; requires Catalyst 1.1.6.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@178 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent a8b3e2f804
commit 0fe7ee2175

@ -46,20 +46,14 @@ findcdmount() {
if [ "$?" = '0' ] if [ "$?" = '0' ]
then then
REAL_ROOT="${x}" # Check for a LiveCD
break if [ -e /newroot/mnt/cdrom/gentoo ]
then
## FIXME: I need a proper identifier present on all LiveCDs to work across REAL_ROOT="${x}"
## all architectures. break
else
# # Check for a LiveCD umount /newroot/mnt/cdrom
# if [ -e /newroot/mnt/cdrom/.gentoo_LiveCD ] fi
# then
# REAL_ROOT="${x}"
# break
# else
# umount /newroot/mnt/cdrom
# fi
fi fi
done done
if [ "${REAL_ROOT}" != "" ] if [ "${REAL_ROOT}" != "" ]

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Genkernel v3 # Genkernel v3
GK_V='3.1.1b' GK_V='3.1.1c'
TEMP='/var/tmp/genkernel' TEMP='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified. TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

Loading…
Cancel
Save