Tweak ppc64el boot stuff: depend on xorriso

This commit is contained in:
Steve McIntyre 2014-10-03 14:13:03 +01:00
parent 77387b5419
commit 840d549c8c
1 changed files with 11 additions and 1 deletions

View File

@ -11,6 +11,16 @@
set -e
#set -x
case "$MKISOFS" in
*xorriso*)
XORRISO_VER=$(xorriso_version)
;;
*)
echo "ERROR: debian-cd now depends on xorriso for making ppc64el bootable CDs."
exit 1;
;;
esac
N=$1
CDDIR=$2
INSTALLDIR=$CDDIR/install
@ -59,7 +69,7 @@ cp -lf cdrom/initrd.gz $INSTALLDIR/
# Add CHRP boot header
if [ -d CD$N/ppc/bootinfo.txt ] ; then
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-chrp-boot"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-chrp-boot-part"
fi
exit 0