> The problem might be, that we don't know, which link files to copy. > We will need to check, if it's actually safe to copy all of > /etc/systemd/network/*.link into the initramfs. If the link file is not correct, than systemd just ignores its content, so it should be safe to copy all of them.
> For now, I suggest you create a custom hook for your custom > configuration like this: > > > $ cat /etc/initramfs-tools/hooks/link > #!/bin/sh -e > PREREQS="" > case $1 in > prereqs) echo "${PREREQS}"; exit 0;; > esac > . /usr/share/initramfs-tools/hook-functions > > mkdir -p $DESTDIR/lib/systemd/network/ > cp -p /etc/systemd/network/01-ethernet.link > $DESTDIR/lib/systemd/network/ > > Then make the script executable and run update-initramfs -u It did that, thank you for your quick help. Cheers, Julian
pgp06qjlL6x5C.pgp
Description: Digitale Signatur von OpenPGP