https://bugzilla.novell.com/show_bug.cgi?id=299663#c20
Marcus Schaefer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |bwalle@novell.com
--- Comment #20 from Marcus Schaefer 2007-10-04 06:11:48 MST ---
The function used here works like this:
#======================================
# CDDevice
#--------------------------------------
function CDDevice {
# /.../
# detect CD/DVD device. The function use the information
# from /proc/sys/dev/cdrom/info to activate the drive
# ----
for module in usb-storage sr_mod cdrom ide-cd BusLogic;do
/sbin/modprobe $module
done
info="/proc/sys/dev/cdrom/info"
cddevs=`cat $info | grep "drive name:" | cut -f2 -d: | tr "\t" ":"`
cddevs=`echo $cddevs | cut -f3- -d:`
cddevs=`echo $cddevs | tr -d [:space:]`
IFS=":"; for i in $cddevs;do
if [ -b "/dev/$i" ];then
test -z $cddev && cddev=/dev/$i || cddev=$cddev:/dev/$i
fi
done
IFS=$IFS_ORIG
if [ -z $cddev ]; then
systemException \
"Failed to detect CD drive !" \
"reboot"
fi
}
This has worked on all test machines, laptops and external USB drives I have
here in my office but it seems something goes wrong. As I can't test this it
would be great if someone can change the file
/usr/share/kiwi/modules/KIWILinuxRC.sh
search for the CDDevice function and change the the systemException to
systemException \
"Failed to detect CD drive !" \
"shell"
* you need to re-create the iso and give it a test. In case of an error a
shell appears and you can test why it doesn't find a CD drive
* this iso is a special one as far as I know so you might need help from
coolo and/or Christoph Thiel
Thanks
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.