kernel.spec: is "Requires: initscripts" really needed?

Kay Sievers kay at vrfy.org
Thu Jul 18 18:27:37 UTC 2013


On Thu, Jul 18, 2013 at 8:14 PM, Bill Nottingham <notting at redhat.com> wrote:
> Kay Sievers (kay at vrfy.org) said:
>> when installing a kernel in a minimal system, it pulls in
>> a bunch of otherwise not needed packages, because
>> initscripts.rpm has a dependency on them. Any specific
>> reason to keep that, or can we possibly drop it?
>
> The dependency was added for mkkerneldoth back in the day. If you remember
> what that was, good for you.

Long before my time, I guess.

> So, in general, it's not needed.

Cool, so we can drop it.

> Building a minimal system solely from RPM dependnecies might have
> interesting results if you left initscripts out, though - it's the vector by
> which many other things are pulled into/kept in the minimal installs by way
> of dependnecies, most of which you'd still want there:
> - procps-ng
> - kmod
> - fedora-release
> - util-linux (!)
> - findutils

Yeah, what we usually do is:
  systemd passwd yum fedora-release vim-minimal

it's mentioned in systemd-nspawn(1)

> Doesn't mean there needs to be a requirement from the kernel, though.

Nice.

Thanks,
Kay


More information about the kernel mailing list