How to dynamically add a repository in FAI?
Michael Goetze
mgoetze at mgoetze.net
Thu Sep 3 09:41:10 CEST 2009
Hi Alex,
> Can someone suggest a way to install different versions of the same
> package for different HW platforms?
> Our thoughts were the following.
> 1) Using instsoft hook, which is run before packages installation
> process starts, to add HW specific repository for the platform handled.
> apt-get update is run after adding a HW repository to sources.list. We
> tried this but didn't succeed.
Write an instsoft hook which just does
fcopy /etc/apt/sources.list /etc/apt/preferences
Then you can put all the configuration for your Hardware CLASS in
files/etc/apt/{sources.list,preferences}/CLASS.
Regards,
Michael
More information about the linux-fai
mailing list