I cannot reproduce this bug using the simple examples shiped with FAI.

The problem seems that your config space contains a template in
files/etc/apt/sources.list/ which is copied via fcopy during
task_repository. The default config space does not contain a template
in sources.list and therefore uses the source.list which only refers
the package repository on the CD.

It's more a general problem. FAI is using fcopy for shipping files
during the installation. But sometimes, you need a file (for
e.g. sources.list) in different versions. One version is used during
installation, another version is used after the new installed system
is running. In case of an installation from CD, this might be a
sources.list which only uses the packages from the CD (during
installation) but the system is configured to use a network repository
after the installation.

fcopy cannot handle those different cases by using the same list of
classes. I also do not like to implement the function you have
proposed (different behaviour depending on installation from network
or CD). 

If you like to ship different sources.list file, you may want to use a
hook, which calls fcopy /etc/apt/sources.list with a different list of
classes. Then you can ship different templates for sources.list during
installation and for configuring the new system.

-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to