mkosi: make sysvinit path inference consistent
authorRichard Maw <richard.maw@codethink.co.uk>
Fri, 8 Dec 2023 18:47:04 +0000 (18:47 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 14 Dec 2023 16:26:23 +0000 (16:26 +0000)
commit566f1000d1850e821026dc4ed77e7701b20162a1
tree9e668749954846afb10726a9d1784b2febca552f
parente07bbb82909a1fca8ff2e4aa1d8e496de7f97e1a
mkosi: make sysvinit path inference consistent

The integration tests use /etc/rc.d/init.d if it exists
or falls back to /etc/init.d,
while the mkosi.build.chroot script dereferenced /etc/init.d.

This produces inconsistent results, as sometimes an image can be made
that has systemd built to expect /etc/init.d but /etc/rc.d/init.d
also exists.
mkosi.images/base/mkosi.build.chroot