From f1adacb89911dc122bbf8763a1dc6fe006a59764 Mon Sep 17 00:00:00 2001 From: Wolfgang Schweer Date: Sun, 3 Feb 2019 12:59:17 +0100 Subject: [PATCH] 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. --- tools/start_new_disc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/start_new_disc b/tools/start_new_disc index 21f412f0..f2abcd8c 100755 --- a/tools/start_new_disc +++ b/tools/start_new_disc @@ -199,7 +199,11 @@ if [ $DISKNUM = 1 ] ; then fi fi else - echo "not_complete" > $CDDIR/.disk/cd_type + if [ $DISKTYPE = BD ] ; then + echo "bluray/not_complete" > $CDDIR/.disk/cd_type + else + echo "not_complete" > $CDDIR/.disk/cd_type + fi fi if [ $NUM_ARCHES -gt 1 ]; then