Enable CHRP partition table on ppc64el boot CD

The test is on a file, so it should use -f instead of -d.
This commit is contained in:
Aurelien Jarno 2014-10-04 13:36:33 +02:00 committed by Steve McIntyre
parent 550a9a4edc
commit cd1f0736fd
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ cp -lf cdrom/vmlinux $INSTALLDIR/
cp -lf cdrom/initrd.gz $INSTALLDIR/
# Add CHRP boot header
if [ -d CD$N/ppc/bootinfo.txt ] ; then
if [ -f CD$N/ppc/bootinfo.txt ] ; then
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-chrp-boot-part"
fi