Closed dtardon closed 10 months ago
Lint error :-)
-getargbool 0 rd.udev.debug -d -y rdudevdebug && cat > "$1" <<EOF
+getargbool 0 rd.udev.debug -d -y rdudevdebug && cat > "$1" << EOF
Oops, sorry. Apparently I wasn't fully awake yet when I tried this in the morning... The option is handled (in modules.d/98dracut-systemd/dracut-cmdline.sh
), I just didn't find it.
This makes
rd.udev.debug
work in systemd-based initrds too.Changes
A systemd generator is added that sets log level of
systemd-udevd.service
to debug ifrd.udev.debug
is present on the kernel command line.Note
rd.udev.info
is ignored as that's the default log level of udevd. The existence of this option makes some sense in the legacyinit.sh
, as it sets the log level of udevd toerr
by default, but I don't think we want to go this way...Checklist