[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769589: marked as done (debian-cd: Please improve .disk/cd_type for non-complete builds)



Your message dated Tue, 19 Feb 2019 18:19:02 +0000
with message-id <E1gw9yw-000BVL-TZ@fasolo.debian.org>
and subject line Bug#769589: fixed in debian-cd 3.1.23
has caused the Debian Bug report #769589,
regarding debian-cd: Please improve .disk/cd_type for non-complete builds
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
769589: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769589
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-cd
Version: 3.1.16
Tags: patch

In Debian Edu, we use the .disk/cd_type content to decide if Internet
connectivity is required or not.  And this work fine when we build ISOs
trying to include the complete archive, but not when we limit the ISO to
only have the packages we want.

But by default debian-cd do not put any useful value in the file if
COMPLETE=0.  Please change it to document the cd type also in this case,
with the same keywords used in the complete case, to allow our grep
calls to work.

This is the patch we use at the moment to build the Debian Edu ISOs:

diff -ur debian-cd.unpatched.wheezy/tools/start_new_disc debian-cd/tools/start_new_disc
--- debian-cd.unpatched.wheezy/tools/start_new_disc	2013-06-17 22:55:07.000000000 +0200
+++ debian-cd/tools/start_new_disc	2013-06-21 15:07:54.000000000 +0200
@@ -150,7 +150,25 @@
             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

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: debian-cd
Source-Version: 3.1.23

We believe that the bug you reported is fixed in the latest version of
debian-cd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 769589@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-cd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 19 Feb 2019 19:08:26 +0100
Source: debian-cd
Architecture: source
Version: 3.1.23
Distribution: unstable
Urgency: medium
Maintainer: Debian CD Group <debian-cd@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 769589
Changes:
 debian-cd (3.1.23) unstable; urgency=medium
 .
   [ Wolfgang Schweer ]
   * tools/start_new_disc: set adjusted cd_type for incomplete BD image for
     offline usable Edu BDs. Closes: #769589
   * contrib/HEADER.html.in: add paragraphs describing the Debian Edu netinst
     images for amd64 and i386.
 .
   [ Steve McIntyre ]
   * Add grub-efi packages to armhf media.
 .
   [ Samuel Thibault ]
   * Support dark theme boot entries.
 .
   [ Holger Levsen ]
   * data/buster: update Debian Edu installer logo and syslinux splash image
     from src:debian-edu-artwork 2.10.5-1.
   * contrib: updated from setup.git/buster/.
Checksums-Sha1:
 a5128cfb2b2b0deda2d28936fbd832410e50d6f7 1741 debian-cd_3.1.23.dsc
 2118bf13871711bdae9fcec1e26dee504b2c04ad 1149232 debian-cd_3.1.23.tar.xz
 9606d3eaddf3ba9b7950fdd1998dd2bdb9805d10 5012 debian-cd_3.1.23_source.buildinfo
Checksums-Sha256:
 e6c002dcd67bdeb629f26082195db30cbcc6d6c1b5fbc7bcada570dd2a94cbdf 1741 debian-cd_3.1.23.dsc
 75ce6aa517ae4e445ddd6e4dad758acc095969c5190690c2dece38c05437f1ed 1149232 debian-cd_3.1.23.tar.xz
 2f24f2d17fbb37f14de9afcb74e08393fd4943e683141e149128830523bb1d46 5012 debian-cd_3.1.23_source.buildinfo
Files:
 b0d386440912d597bf71e56fa82882f7 1741 admin optional debian-cd_3.1.23.dsc
 1d5efefae993bf84d2ae8187691e0cba 1149232 admin optional debian-cd_3.1.23.tar.xz
 3ba8e9b684b0e80f862fd5fcad61a9cf 5012 admin optional debian-cd_3.1.23_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAlxsR3EACgkQCRq4Vgaa
qhyp3BAAjbiThnjV28A5sX1ivvfERT57Yzdw8wbhh0twdsUOwu7W5aMkHahPZrxD
MIUrApKEB0gvM79M9zmfCzRqRQjs3vKFCchXQBqLopZ3EDdJ2RHusoHifJkEM9fA
glIlbf9Rrwme5USU8bU2SOjOptWHa6ZbZuD6gSAYNp3edmrQRTidPkekqNpSSNQe
BlkeCiKSvA/SfhZJOj5NO0QAOhPDfs867n4aY5hZGhmszLkV5UMP6btod1NP1IA+
CRzgE9/yx9zxjnIm26/L/RIuLpezGgZdK5RD66vMgnMxU5J4Wk0CJv32ptAIcuot
+aoUAgH23Poukm+l4v+TsNYs+ySV/x9uYct5wvwyn48eZ3MTXEVhqiFCrh+ez4Yc
995q4cosIAll8D1zi+ZzmKQ4EoLPBPmeAOa4VpngKsB4Y2C7Z7FqXFzj0lQUMfJe
UTdsPVXfFmj4G3zabQvJARjQgifBwHVpCy0sKEmn9OXjYOAmBdednObRw5Pvpm6R
3nf7ioPH9nC44M0+JQOW0h34bqVbLL2dS/bJ6CtQxaeoZHU11oLBlLU0Kv5ThWlt
uFcYqi9Cp22IE3jwhxhiUuwPZklB9ElIS1xicB+QuZH0eYzA4UMMpXRmLRFs6DIf
EKnauERaYzW/9YUvRavEugYbzNuJTMAWA3HZ5qZpmPDoN0/+ODI=
=+MbR
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: