Generating packages list to install via hook

Thomas Lange lange at
Mon May 4 15:29:21 CEST 2020

>>>>> On Tue, 31 Mar 2020 10:40:01 +0200, Emmanuel Kasper <emmanuel at> said:

    > so I wrote this hook

    > which is properly called by fai, but the problem is that $FAI_CONFIGDIR
    > is undefined in the environement where the hook script is running

When I ran
# LC_ALL=C fai -v dirinstall -c $cl -s  file:///srv/fai/config  /srv/chroot

($cl is my list of classes) $FAI is set to /srv/fai/config. This
should be writeable for root, but remember that you should remove a temporarily
generated file because you will modify your local config space
(because of file://)

regards Thomas

More information about the linux-fai mailing list