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

Bug#573079: debian-edu-config: Building LTSP chroot fail when using CD without local component



package:  debian-edu-config
severity: serious
version:  1.436
User:     debian-edu@lists.debian.org
Usertags: debian-edu

When installing using the testing based netinst CD, generating the
LTSP chroot fail because apt is unable to fetch
file:/cdrom/dists/squeeze/local/binary-i386/Packages.gz.  The CD do
not have a local part, so apt should not really be looking for this
file.

I traced this to our LTSP overrides in
/usr/share/ltsp/plugins/ltsp-build-client/Debian-custom/015-edu-apt-source,
where we add the local component every time a CD is used.

The fix is probably to make this code conditional, by mounting the CD
and checking .disk/base_components or something similar to see if the
CD contain a local component.

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: