summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2009-03-02 15:57:06 -0800
committerDavid Cantrell <dcantrell@redhat.com>2009-03-02 15:20:14 -1000
commit493b0d7cdbca5bbd67a1fec8f713deb245ca8a13 (patch)
tree9caac3c13428cd50ac115a3f7fef616055f47f31 /scripts/mk-images
parent97c04f48e948e61902189a9bcfc510cf88d16ec3 (diff)
downloadanaconda-493b0d7cdbca5bbd67a1fec8f713deb245ca8a13.tar.gz
anaconda-493b0d7cdbca5bbd67a1fec8f713deb245ca8a13.tar.xz
anaconda-493b0d7cdbca5bbd67a1fec8f713deb245ca8a13.zip
Update syslinux path to /usr/share instead of /usr/lib
Signed-off-by: David Cantrell <dcantrell@redhat.com>
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 1b483f25a..d4cac465f 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -810,8 +810,8 @@ makemainimage () {
ERROR=$(du -sk $IMGPATH/usr/lib/anaconda-runtime | awk '{ print $1 }')
SIZE=$(expr $SIZE - $ERROR)
fi
- if [ -d $IMGPATH/usr/lib/syslinux ]; then
- ERROR=$(du -sk $IMGPATH/usr/lib/syslinux | awk '{ print $1 }')
+ if [ -d $IMGPATH/usr/share/syslinux ]; then
+ ERROR=$(du -sk $IMGPATH/usr/share/syslinux | awk '{ print $1 }')
SIZE=$(expr $SIZE - $ERROR)
fi
dd if=/dev/zero bs=1k count=${SIZE} of=$mmi_tmpimage 2>/dev/null
@@ -821,7 +821,7 @@ makemainimage () {
(cd $IMGPATH; find . |
fgrep -v "./usr/lib/anaconda-runtime" |
- fgrep -v "./usr/lib/syslinux"
+ fgrep -v "./usr/share/syslinux"
cpio -H crc -o) | (cd $mmi_mntpoint; cpio -iumd)
makeproductfile $mmi_mntpoint
umount $mmi_mntpoint