sources.list in softupdate
lange at informatik.Uni-Koeln.DE
Thu Aug 10 15:07:13 CEST 2006
>>>>> On Thu, 10 Aug 2006 11:45:34 +0200, Adrian von Bidder <avbidder at fortytwo.ch> said:
> Yes, I saw that now, but I don't like requiring two softupdates until it
Our code is good when you are using different sources.list files
during installation and after installation. Maybe you do not need this
> takes effect. My solution is to do it in prepareapt.FAIBASE. I guess I
> should prepend it with "[ "$FAI_ACTION" == "softupdate"] &&"
Yes, that's a good idea. But it's better to name the hook
preparepat.DEFAULT and use the fcopy inside this hook. But the you can
no have different sources.lsit file during and after the installation.
> The other thing I don't like about this solution is that I now need to have
> the sources.list in both /etc/fai and /srv/fai/config/files. Can I have
> the copy in /etc/fai be a symlink, or will the scripts barf?
IMO a symlink will not work,
More information about the linux-fai