I initially added this because no shell is pulled into the initrd
by default on gentoo when just installing systemd and util-linux.
Since this seems to override other distro's default shell, let's
limit this to just gentoo and rely on other distros pulling in a
shell via dependencies.
"--package", "systemd",
"--package", "util-linux",
"--package", "kmod",
- "--package", "bash",
*(["--package", "dmsetup"] if state.config.distribution.is_apt_distribution() else []),
*(["--package", "udev"] if not state.config.distribution.is_portage_distribution() else []),
+ *(["--package", "bash"] if state.config.distribution.is_portage_distribution() else []),
"--output", f"{state.config.output}-initrd",
*(["--image-version", state.config.image_version] if state.config.image_version else []),
"--make-initrd", "yes",