Ok, so the bit I'm stuck on is how the link files and the netplan generator are getting pulled into the initramfs then.
ubuntu@btest:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-4.15.0-20-generic
ubuntu@btest:~$ lsinitramfs /boot/initrd.img-4.15.0-20-generic | grep \\.link lib/systemd/network/99-default.link ubuntu@btest:~$ lsinitramfs /boot/initrd.img-4.15.0-20-generic | grep netplan ubuntu@btest:~$ lsinitramfs /boot/initrd.img-4.15.0-20-generic | grep generate ubuntu@btest:~$ lsinitramfs /boot/initrd.img-4.15.0-20-generic | grep system-generators
As you can see there's no generator and no link files in my initramfs - by what mechanism is it supposed to work? What package/script/tool is supposed to pull the link files in?
Ok, so the bit I'm stuck on is how the link files and the netplan generator are getting pulled into the initramfs then.
ubuntu@btest:~$ sudo update-initramfs -u img-4.15. 0-20-generic
update-initramfs: Generating /boot/initrd.
ubuntu@btest:~$ lsinitramfs /boot/initrd. img-4.15. 0-20-generic | grep \\.link network/ 99-default. link img-4.15. 0-20-generic | grep netplan img-4.15. 0-20-generic | grep generate img-4.15. 0-20-generic | grep system-generators
lib/systemd/
ubuntu@btest:~$ lsinitramfs /boot/initrd.
ubuntu@btest:~$ lsinitramfs /boot/initrd.
ubuntu@btest:~$ lsinitramfs /boot/initrd.
As you can see there's no generator and no link files in my initramfs - by what mechanism is it supposed to work? What package/script/tool is supposed to pull the link files in?