Tweak ppc64el boot stuff: depend on xorriso
This commit is contained in:
parent
77387b5419
commit
840d549c8c
|
@ -11,6 +11,16 @@
|
||||||
set -e
|
set -e
|
||||||
#set -x
|
#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
|
N=$1
|
||||||
CDDIR=$2
|
CDDIR=$2
|
||||||
INSTALLDIR=$CDDIR/install
|
INSTALLDIR=$CDDIR/install
|
||||||
|
@ -59,7 +69,7 @@ cp -lf cdrom/initrd.gz $INSTALLDIR/
|
||||||
|
|
||||||
# Add CHRP boot header
|
# Add CHRP boot header
|
||||||
if [ -d CD$N/ppc/bootinfo.txt ] ; then
|
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
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue