tools/livecd-iso-to-disk.sh | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9e8c8328f976f07e98083e5c23278f20f098e1a2 Author: Brian C. Lane bcl@redhat.com Date: Thu Dec 19 11:50:27 2013 -0800
Add check for extlinux tools (#881317)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index d6f21a4..5f4b697 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -567,6 +567,12 @@ checkFilesystem() { fi fi
+ if [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" -a ! -x /sbin/extlinux ]; then + echo "Target filesystem ($TGTFS) requires syslinux-extlinux to be installed." + exitclean + fi + + TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev) if [ "$TGTLABEL" != "$label" ]; then if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
livecd@lists.fedoraproject.org