Using fedora 10 to spin fedora 11 live
by Williamson Grant
Jeremy,
is possible to use a fedora 10 based machine to spin a fedora 11 beta
livecd.
I rebuilt the livecd tools from fedora 11 on fedora 10, so that /usr/
share/syslinux is handled, and it appears to generate
an iso, however when booting, it complains there is a squashfs mismatch.
Any ideas?
15 years
tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 42233b2d2d6abb722d713e21cdac7d7895b0d623
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Apr 2 16:57:13 2009 -0400
Use our syslinux's menu com32 modules (#492370)
com32 modules in syslinux don't seem to have a consistent API, so
let's workaround it by copying in the menu files from our syslinux
when doing livecd-iso-to-disk. This is kind of kludgey, really :/
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index daadc3d..4effb3e 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -658,6 +658,17 @@ if [ -z "$multi" ]; then
if [ -f "$USBMNT/EFI/boot/boot.conf" ]; then cp -f $USBMNT/EFI/boot/bootia32.conf $USBMNT/EFI/boot/boot.conf ; fi
fi
+ # this is a bit of a kludge, but syslinux doesn't guarantee the API for its com32 modules :/
+ if [ -f $USBMNT/$SYSLINUXPATH/vesamenu.c32 -a -f /usr/share/syslinux/vesamenu.c32 ]; then
+ cp /usr/share/syslinux/vesamenu.c32 $USBMNT/$SYSLINUXPATH/vesamenu.c32
+ elif [ -f $USBMNT/$SYSLINUXPATH/vesamenu.c32 -a -f /usr/lib/syslinux/vesamenu.c32 ]; then
+ cp /usr/lib/syslinux/vesamenu.c32 $USBMNT/$SYSLINUXPATH/vesamenu.c32
+ elif [ -f $USBMNT/$SYSLINUXPATH/menu.c32 -a -f /usr/share/syslinux/menu.c32 ]; then
+ cp /usr/share/syslinux/menu.c32 $USBMNT/$SYSLINUXPATH/menu.c32
+ elif [ -f $USBMNT/$SYSLINUXPATH/menu.c32 -a -f /usr/lib/syslinux/menu.c32 ]; then
+ cp /usr/lib/syslinux/menu.c32 $USBMNT/$SYSLINUXPATH/menu.c32
+ fi
+
if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
# syslinux expects the config to be named syslinux.cfg
# and has to run with the file system unmounted
15 years