* start_new_disc: make multi-arch CD/DVDs and CD/DVDs that are not part of a

set (e.g. KDE/Xfce CDs) recognizable through info in .disk directory.
This commit is contained in:
Frans Pop 2008-01-16 17:04:13 +00:00
parent 4c2837c737
commit a8beab40a3
2 changed files with 25 additions and 10 deletions

4
debian/changelog vendored
View File

@ -71,11 +71,13 @@ debian-cd (3.0.4) UNRELEASED; urgency=low
* During installation debootstrap will complain about an invalid Release file
if there is no Packages file for the local section. Create an empty Packages
file if one is missing.
* start_new_disc: make multi-arch CD/DVDs and CD/DVDs that are not part of a
set (e.g. KDE/Xfce CDs) recognizable through info in .disk directory.
[ Steve McIntyre ]
* Significant cleanup of list2cds. Closes: #451237
-- Frans Pop <fjp@debian.org> Mon, 17 Dec 2007 21:54:11 +0100
-- Frans Pop <fjp@debian.org> Wed, 16 Jan 2008 17:47:37 +0100
debian-cd (3.0.3) unstable; urgency=low

View File

@ -128,15 +128,28 @@ if [ $DISKNUM = 1 ] ; then
fi
echo " Adding .disk/cd_type"
if [ "$COMPLETE"x = "1"x ]; then
if [ $DISKTYPE = DVD ]; then
echo "dvd" > $CDDIR/.disk/cd_type
else
echo "full_cd" > $CDDIR/.disk/cd_type
fi
else
echo "not_complete" > $CDDIR/.disk/cd_type
fi
if [ "$COMPLETE"x = "1"x ]; then
if [ $DISKTYPE = DVD ]; then
if [ $MAXCDS -eq 1 ]; then
echo "dvd/single" > $CDDIR/.disk/cd_type
else
echo "dvd" > $CDDIR/.disk/cd_type
fi
else
if [ $MAXCDS -eq 1 ]; then
echo "full_cd/single" > $CDDIR/.disk/cd_type
else
echo "full_cd" > $CDDIR/.disk/cd_type
fi
fi
else
echo "not_complete" > $CDDIR/.disk/cd_type
fi
if [ $NUM_ARCHES -gt 1 ]; then
echo " Adding .disk/multi_arch"
touch $CDDIR/.disk/multi_arch
fi
echo " Adding udeb/base includes/excludes"