Add a bluray option in .disk/cd_type so that d-i can work with it
This commit is contained in:
parent
8c9457ed30
commit
ce8d2493db
|
@ -130,12 +130,18 @@ if [ $DISKNUM = 1 ] ; then
|
||||||
|
|
||||||
echo " Adding .disk/cd_type"
|
echo " Adding .disk/cd_type"
|
||||||
if [ "$COMPLETE"x = "1"x ]; then
|
if [ "$COMPLETE"x = "1"x ]; then
|
||||||
if [ $DISKTYPE = DVD ]; then
|
if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
|
||||||
if [ "$MAXCDS"x = "1"x ]; then
|
if [ "$MAXCDS"x = "1"x ]; then
|
||||||
echo "dvd/single" > $CDDIR/.disk/cd_type
|
echo "dvd/single" > $CDDIR/.disk/cd_type
|
||||||
else
|
else
|
||||||
echo "dvd" > $CDDIR/.disk/cd_type
|
echo "dvd" > $CDDIR/.disk/cd_type
|
||||||
fi
|
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
|
else
|
||||||
if [ "$MAXCDS"x = "1"x ]; then
|
if [ "$MAXCDS"x = "1"x ]; then
|
||||||
echo "full_cd/single" > $CDDIR/.disk/cd_type
|
echo "full_cd/single" > $CDDIR/.disk/cd_type
|
||||||
|
|
Loading…
Reference in New Issue