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

Bug#423459: debian-cd: No longer supports adding packages from a "local" repository



Package: debian-cd
Version: 3.0.2
Severity: important

While in Bhutan, I did some work adding packages from a local repository 
to CDs. This worked fine then (before the debian-cd restructuring) by 
setting LOCAL=1 and having LOCALDEBS point to some directory outside the 
mirror.

The current debian-cd possibly still supports "local" if it is _part_ of 
the mirror structure, but not if LOCALDEBS is set outside the mirror 
structure. IMO this is an important regression, especially for CDDs.

A build where I tried that resulted in:
Using ISOLINUX boot-disks image on CD1
  Starting the md5sum.txt file
  Placing packages into image 1
Use of uninitialized value in concatenation (.) or string at
/home/fjp/projects/debian-cd/tools/add_packages line 53, <LIST> chunk 1.
unable to stat file
/srv/debmirror-sarge/debian/binary-i386/base-config/base-config_2.53.10.3_all.deb: 
No such file or directory
make: *** [image-trees] Error 2

This clearly shows that it looks under the mirror directory, while that 
version of base-config was actually in:
/srv/debmirror-sarge/debian-local/dists/sarge/local/binary-i386/base-config/

The main problem seems to be in make_disc_trees, which does not know about 
LOCALDEBS at all, although I suspect there are problems elsewhere as 
well.

Attachment: pgpv59XGTgCbM.pgp
Description: PGP signature


Reply to: