From ce8d2493db7307f56d6c2e39c14d28dfef39b60b Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sat, 8 Jan 2011 23:39:31 +0000 Subject: [PATCH] Add a bluray option in .disk/cd_type so that d-i can work with it --- tools/start_new_disc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/start_new_disc b/tools/start_new_disc index 4b648563..13912a02 100755 --- a/tools/start_new_disc +++ b/tools/start_new_disc @@ -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