* Benjamin Drung <[email protected]> [250929 14:43]:
On Mon, 2025-09-29 at 14:28 +0200, Chris Hofstaedtler wrote:
> Since switch_root is only needed for the non-system boot, how about
> bringing switch_root back to util-linux-extra?
I'm not sure what that means -exactly-, but yes, I can put it into
util-linux-extra.
Since you want to reduce the size of util-linux, having switch_root in
util-linux-extra would be enough for Dracut.
Would dracut or only its tests then get a dependency on
util-linux-extra?
It would probably only recommend or suggest util-linux-extra (maybe only
as alternative to systemd). If the test explicitly tests a setup without
systemd, then the test will depend on util-linux-extra.
Oh, non-system*d*-boot. Right.
Can dracut deal with switch_root being in /usr/bin (and not in
/usr/sbin as previously)? If so, that would be preferable.
Yes. Dracut searches PATH to find it.
Great. Just waiting for my local build, I'll upload once that
finishes.
Thanks,
Chris