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

Bug#661348: debian-cd: udeb_includes not visible for 'testing' release



Package: debian-cd
Version: 3.1.5
Severity: minor


When attempting to build a debian-cd for the 'testing' release, via simple-cdd, debian-cd creates symlinks beneath tmp/debian-cd/data which maps the 'sid'
release onto 'squeeze'. However, there are no corresponding links created
for the 'testing' release. This means that simple-cdd has difficulty
creating a custom CD for the 'testing' release.

The attached patch to the 'unstable-map' target in the Makefile
within /usr/share/debian-cd/ will create additional symlinks
that allow a 'testing' release to be built.


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-cd depends on:
ii  apt                  0.8.10.3+squeeze1   Advanced front-end for dpkg
ii  bc                   1.06.95-2           The GNU bc arbitrary precision cal
ii  cpp                  4:4.4.5-1           The GNU C preprocessor (cpp)
ii  curl                 7.21.0-2.1+squeeze1 Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dc 2.14.5              Command-line tools to process Debi
ii  dpkg-dev             1.15.8.12           Debian package development tools
ii  genisoimage          9:1.1.11-1          Creates ISO-9660 CD-ROM filesystem
ii  libcompress-zlib-per 2.024-1             Transitional dummy package for Com
ii  lynx-cur             2.8.8dev.5-1        Text-mode WWW Browser with NLS sup
ii  make                 3.81-8              An utility for Directing compilati
ii  perl [libdigest-md5- 5.10.1-17squeeze3   Larry Wall's Practical Extraction 
ii  tofrodos             1.7.8.debian.1-2    Converts DOS <-> Unix text files, 

Versions of packages debian-cd recommends:
pn  hfsutils                  <none>         (no description available)
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 
pn  syslinux-common           <none>         (no description available)

debian-cd suggests no packages.

-- no debconf information
diff -uar usr/share/debian-cd.orig/Makefile usr/share/debian-cd/Makefile
--- usr/share/debian-cd.orig/Makefile	2012-02-26 07:18:25.000000000 +0000
+++ usr/share/debian-cd/Makefile	2012-02-26 15:35:07.000000000 +0000
@@ -160,12 +160,11 @@
 # Make sure unstable/sid points to testing/squeeze, as there is no build
 # rule for unstable/sid.
 unstable-map:
-	$(Q)if [ ! -d $(BASEDIR)/data/sid ] ; then \
-		ln -s squeeze $(BASEDIR)/data/sid ; \
-	fi
-	$(Q)if [ ! -d $(BASEDIR)/tools/boot/sid ] ; then \
-		ln -s squeeze $(BASEDIR)/tools/boot/sid ; \
-	fi
+	$(Q)for xd in testing sid; do \
+		test -d $(BASEDIR)/data/$${xd} \
+			|| ln -s squeeze $(BASEDIR)/data/$${xd}; \
+		test -d $(BASEDIR)/tools/boot/$${xd} \
+			|| ln -s squeeze $(BASEDIR)/tools/boot/$${xd}; done
 
 #################
 ## CLEAN RULES ##

Reply to: