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:
parent
550a9a4edc
commit
cd1f0736fd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue