search for: syslinux_tmpdir

Displaying 1 result from an estimated 1 matches for "syslinux_tmpdir".

2013 Mar 11
2
menu.c32: not a COM32R image
...-1 | awk -F'|' '{print $1}'`" DEST=$2 PWD=`pwd` SYSLINUX_RPM=`find /local/yum-repo/OS/${OSREL}-x86_64/base -name 'syslinux-*.x86_64.rpm' | egrep 'syslinux-[[:digit:]]'` SYSLINUX_PATH=`rpm -qpl $SYSLINUX_RPM | grep -w menu.c32 | xargs dirname` SYSLINUX_TMPDIR=`mktemp -d /tmp/syslinux.XXXXXX` cd $SYSLINUX_TMPDIR rpm2cpio $SYSLINUX_RPM | cpio -idm .${SYSLINUX_PATH}/menu.c32 rpm2cpio $SYSLINUX_RPM | cpio -idm .${SYSLINUX_PATH}/isolinux.bin cp -f .${SYSLINUX_PATH}/menu.c32 $DEST cp -f .${SYSLINUX_PATH}/isolinux.bin $DEST cd $PWD...