On Sun, Sep 09, 2018 at 03:53:30PM +0200, Wolfgang Schweer wrote:
> While disk/cd_type now correctly says
> 'bluray', the ISO image is way too big again (21GB), maybe caused by
> removing COMPLETE=0 from cronjob.weekly?
>
> As far as I understand, disk/cd_type is written by tools/start_new_disc;
> so would it be possible to add another if statement for USB?
As far as I was able to find out, the Debian Edu ISO image build process
on maintainer.skolelinux.no has been using this (also attached) patch to
write a content to .disk/cd_type enabling offline installation:
diff --git a/tools/start_new_disc b/tools/start_new_disc
index 21f412f..0b64a7e 100755
--- a/tools/start_new_disc
+++ b/tools/start_new_disc
@@ -199,7 +199,25 @@ if [ $DISKNUM = 1 ] ; then
fi
fi
else
- echo "not_complete" > $CDDIR/.disk/cd_type
+ if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
+ if [ "$MAXCDS"x = "1"x ]; then
+ echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
+ else
+ echo "dvd/not_complete" > $CDDIR/.disk/cd_type
+ fi
+ elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
+ if [ "$MAXCDS"x = "1"x ]; then
+ echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
+ else
+ echo "bluray/not_complete" > $CDDIR/.disk/cd_type
+ fi
+ else
+ if [ "$MAXCDS"x = "1"x ]; then
+ echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
+ else
+ echo "cd/not_complete" > $CDDIR/.disk/cd_type
+ fi
+ fi
fi
if [ $NUM_ARCHES -gt 1 ]; then
Steve, could you please check if the Debian Edu patch would be
acceptable for the more general case as well?
Wolfgang
Attachment:
signature.asc
Description: PGP signature