Cannot get FAI to build jessie

Thomas Lange lange at informatik.uni-koeln.de
Tue May 12 15:04:38 CEST 2015


>>>>> On Tue, 12 May 2015 14:50:22 +0200, Dennis Klein <d.klein at gsi.de> said:

    > Next to adding the above line to /etc/fai/NFSROOT, we also have to create a symlink in the nfsroot
    > to make the Jessie nfsroot work:

    > ln -s /usr/sbin/fai /etc/init.d/rcS
I wonder why you need to do this. It's already done in
fai-make-nfsroot.

    > Another solution: Configuring debootstrap in /etc/fai/nfsroot.conf with a line similar to this:

    > FAI_DEBOOTSTRAP_OPTS="--exclude=systemd-core --include=systemd-sysv --arch amd64"
--arch is only needed if your install server is not of the same
architecture.

    > This will install/enable sysv directly, but results in a target jessie with disabled systemd. To
    > enable systemd in the target, you would need to generate a custom base.tar.gz and put it in the nfsroot.
IMO this is much more complicated than the default. Just use the
packages sysvinit-core and systemd-sysv- in /etc/fai/NFSROOT. Then
your target can have systemd without any futher work like creating a
custom base.tar.gz.

-- 
regards Thomas


More information about the linux-fai mailing list