Set adjusted cd_type for incomplete BD image

If COMPLETE=0 is set, the content should rather be
"bluray/not_complete" instead of just "not_complete". This would allow
one to build offline usable Edu BDs.
This commit is contained in:
Wolfgang Schweer 2019-02-03 12:59:17 +01:00 committed by Steve McIntyre
parent dca9045c6d
commit f1adacb899
1 changed files with 5 additions and 1 deletions

View File

@ -198,9 +198,13 @@ if [ $DISKNUM = 1 ] ; then
echo "full_cd" > $CDDIR/.disk/cd_type echo "full_cd" > $CDDIR/.disk/cd_type
fi fi
fi fi
else
if [ $DISKTYPE = BD ] ; then
echo "bluray/not_complete" > $CDDIR/.disk/cd_type
else else
echo "not_complete" > $CDDIR/.disk/cd_type echo "not_complete" > $CDDIR/.disk/cd_type
fi fi
fi
if [ $NUM_ARCHES -gt 1 ]; then if [ $NUM_ARCHES -gt 1 ]; then
echo " Adding .disk/multi_arch" echo " Adding .disk/multi_arch"