Michael Prokop wrote:
> Any suggestions what could be the best solution for this? Does a
> patch which would allow disabling need for FAI_CONFIG_SRC sound
> reasonable to you?

Generally sounds desireable to make softupdate in a chroot, and in some
cases even without having to use nfs/svn/...

But you always need a configspace _somewhere_ - otherwise I don't see
how softupdate can run.

If (not sure if it already does) FAI_CONFIG_SRC supports a simple
file:// URL, you can bind-mount the configspace from the main system
into the chroot and run softupdate inside.

softupdate anyway places the configspace somewhere in the system to be
updated, so we maybe only need to skip the fetching in that case.

> Or would an option "chrootupdate" (which justs
> makes sure the packages inside the chroot are up2date and executes
> the according config/scripts/$CLASS/* stuff and so on) make more
> sense?

This could be a shortcut for something like
mount -o bind /srv/fai/config /path/to/chroot/var/lib/fai/config
(guess the latter is where the configspace is stored temporarily)
chroot /path/to/chroot fai -N softupdate

Henning



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

Reply via email to