Re: Missing /sbin/init after upgrade (OpenRC
Reply #1 –
OK, my original post my lack a bit of information so I'll try to provide it here.
My setup is as follows. I boot the kernel from EFI with an initrd provided by mkinitcpio. For reference, this is how I launch the kernel:
vmlinuz-linux-lts initrd=initramfs-linux-lts.img cryptdevice=PARTLABEL="root":root:allow-discards root=/dev/mapper/root rootflags=discard rw
The mkinitcpio upon further inspection seem to have an evnironment variable that points to what init process should run, this defaults to /sbin/init.
From my point of view it seems like the OpenRC package either should provide a hook script to initcpio that updates the init environment variable to openrc-init, or provide a symlink from /sbin/openrc-init to /sbin/init.
Does this sound reasonable, should I file a bug-report to the OpenRC project (artix-linux/openrc)? Do you want me to do a pull-request for one of the changes?