[Fedora-livecd-list] [PATCH] F14 livecd-tools: livecd-iso-to-disk with extlinux
Alan Pevec
apevec at gmail.com
Fri Oct 1 08:54:10 UTC 2010
On Fri, Oct 1, 2010 at 8:41 AM, Bruno Wolff III <bruno at wolff.to> wrote:
> The fix for that is already available. If you get the version from testing
> that should have it.
>
> On another note, you made the same mistake I did. You really want to require
> the executable rather than the package. That way it works with older and
You can even remove explicit syslinux dep, since syslinux-extlinux
depends on it:
-Requires: syslinux
Requires: /sbin/extlinux
But what about Paul's actual patch:
- chattr -i $USBMNT/$SYSLINUXPATH/extlinux.sys
+ chattr -i $USBMNT/$SYSLINUXPATH/ldlinux.sys
This is not in git master, and to preserve compatibility it should
check for both:
- chattr -i $USBMNT/$SYSLINUXPATH/extlinux.sys
+ if [ -f "$USBMNT/$SYSLINUXPATH/extlinux.sys" ]; then
- chattr -i $USBMNT/$SYSLINUXPATH/extlinux.sys
+ elif [ -f "$USBMNT/$SYSLINUXPATH/ldlinux.sys" ]; then
+ chattr -i $USBMNT/$SYSLINUXPATH/ldlinux.sys
+ fi
Alan
More information about the livecd
mailing list