Bug#523017: debian-cd: Doesn't support local udebs if using a repo that requires section: local/debian-installer for local udebs
Package: debian-cd
Version: 3.1.1
Severity: minor
Tags: patch
I'm using reprepro and in order to get packages stored in the local dist I have to use Section: local/section (therefore local/debian-installer for custom debian-installer udebs). debian-cd doesn't create Packages{.gz} files for local/debian-installer. This patch fixes that.
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages debian-cd depends on:
ii apt 0.7.20.2 Advanced front-end for dpkg
ii bc 1.06.94-3 The GNU bc arbitrary precision cal
ii cpp 4:4.3.2-2 The GNU C preprocessor (cpp)
ii curl 7.18.2-8lenny2 Get a file from an HTTP, HTTPS or
ii dctrl-tools [grep-dctrl 2.13.1 Command-line tools to process Debi
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem
ii libcompress-zlib-perl 2.012-1 Perl module for creation and manip
ii lynx-cur 2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup
ii make 3.81-5 The GNU version of the "make" util
ii perl [libdigest-md5-per 5.10.0-19 Larry Wall's Practical Extraction
ii tofrodos 1.7.8.debian.1-1 Converts DOS <-> Unix text files,
Versions of packages debian-cd recommends:
pn hfsutils <none> (no description available)
ii netpbm 2:10.0-12 Graphics conversion tools
ii syslinux-common 2:3.71+dfsg-5 Kernel loader which uses a FAT, ex
debian-cd suggests no packages.
-- no debconf information
738,739c738,743
< if ($section and $section eq "debian-installer") {
< $pdir = "$dir/dists/$codename/$dist/debian-installer";
---
> if (($section and $section eq "debian-installer") or ($section and $section eq "local/debian-installer")) {
> # if ($dist and $dist eq "local") {
> # $pdir = "$dir/dists/$codename/debian-installer";
> # } else {
> $pdir = "$dir/dists/$codename/$dist/debian-installer";
> # }
Reply to: