[Bug 220739] New: lilo does not copy the kernels correctly to the HFS boot partition
https://bugzilla.novell.com/show_bug.cgi?id=220739 Summary: lilo does not copy the kernels correctly to the HFS boot partition Product: openSUSE 10.2 Version: Beta 2 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: jplack@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de CC: power-bugs@forge.provo.novell.com 10.2b2 if the root filesystem is on lvm or raid, lilo has to copy the kernel and initrd to the HFS boot partition because yaboot can not read from lvm. All this works ok. But if the vmlinux or initrd has a filename longer than 31 chars, the copying will fail because HFS has a filename length limit. lilo should use the same copy scheme thats used for FAT on chrp, call the binaries vmlinux.001 and initrd.001 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220739 jplack@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from jplack@novell.com 2006-11-14 05:05 MST ------- will try to reuse code from CHRP -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220739 ------- Comment #2 from jplack@novell.com 2006-11-14 05:27 MST ------- proposed fix: Index: lilo/lilo-pmac.lib =================================================================== --- lilo/lilo-pmac.lib (revision 893) +++ lilo/lilo-pmac.lib (working copy) @@ -136,3 +136,3 @@ function running_on_pmac_new () { if [ "${CONFIG_IMAGE_PATH[$i]}" = "copy" ] ; then - echo "image = `basename ${CONFIG_IMAGE_FILE[$i]}`" + echo "image = "$(printf "vmlinux.%03d", $i) else @@ -147,3 +147,3 @@ function running_on_pmac_new () { if [ "${CONFIG_IMAGE_INITRDPATH[$i]}" = "copy" ] ; then - echo " initrd = `basename ${CONFIG_IMAGE_INITRD[$i]}`" + echo " initrd = $(printf "initrd.%03d", $i)" else @@ -305,3 +305,3 @@ function running_on_pmac_new () { if [ "${CONFIG_IMAGE_PATH[$i]}" = "copy" ] ; then - hcopy ${CONFIG_IMAGE_FILE[$i]} :`basename ${CONFIG_IMAGE_FILE[$i]}` + hcopy ${CONFIG_IMAGE_FILE[$i]} :$(printf "vmlinux.%03d", $i) fi @@ -309,3 +309,3 @@ function running_on_pmac_new () { if [ "${CONFIG_IMAGE_INITRDPATH[$i]}" = "copy" ] ; then - hcopy ${CONFIG_IMAGE_INITRD[$i]} :`basename ${CONFIG_IMAGE_INITRD[$i]}` + hcopy ${CONFIG_IMAGE_INITRD[$i]} :$(printf "initrd.%03d", $i) fi ) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220739 ------- Comment #3 from olh@novell.com 2006-11-14 06:57 MST ------- yes, this works. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220739 jplack@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from jplack@novell.com 2006-11-15 00:59 MST ------- it in 10.1.21 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=220739 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- 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.
participants (1)
-
bugzilla_noreply@novell.com