/etc/os-release is a file installed by sys-apps/baselayout-systemd-0. When running dracut (sys-kernel/dracut-019) I get this error: I: *** Including module: base *** /etc/os-release: line 4: 32: command not found The content of /etc/os-release is this: NAME=Gentoo ID=gentoo PRETTY_NAME="Gentoo Linux" ANSI_COLOR=1;32 Reproducible: Always
Quoting ANSI_COLOR as ANSI_COLOR='1;32' fixes this issue.
(In reply to comment #1) > Quoting ANSI_COLOR as ANSI_COLOR='1;32' fixes this issue. It should also be fixed by using double quotes "1;32" as that is what the os-release man page uses in the example. So, hopefully fixed now.