Add a bluray option in .disk/cd_type so that d-i can work with it

This commit is contained in:
Steve McIntyre 2011-01-08 23:39:31 +00:00
parent 8c9457ed30
commit ce8d2493db
1 changed files with 7 additions and 1 deletions

View File

@ -130,12 +130,18 @@ if [ $DISKNUM = 1 ] ; then
echo " Adding .disk/cd_type"
if [ "$COMPLETE"x = "1"x ]; then
if [ $DISKTYPE = DVD ]; then
if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
if [ "$MAXCDS"x = "1"x ]; then
echo "dvd/single" > $CDDIR/.disk/cd_type
else
echo "dvd" > $CDDIR/.disk/cd_type
fi
elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
if [ "$MAXCDS"x = "1"x ]; then
echo "bluray/single" > $CDDIR/.disk/cd_type
else
echo "bluray" > $CDDIR/.disk/cd_type
fi
else
if [ "$MAXCDS"x = "1"x ]; then
echo "full_cd/single" > $CDDIR/.disk/cd_type