Re: [OS-BUILD PATCHv3 0/0] scriptlets: clean up declared installation dependencies, stop calling kernel-install in chroot or container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zbigniew Jędrzejewski-Szmek on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1617#note_846917518

I don't have any immediate use case in mind. This is more a matter of general
principle: dependencies should only be declared if the package genuinely needs
the dependency to function. People tend to use packages in unusual and
innovative ways and we shouldn't have dependencies for things which would
*usually* be used. Less dependencies == more flexibility.

Some contrived cases: a qemu image where the kernel is used externally (`qemu
-kernel -initrd …`), and then you only need the modules in the guest, so you
don't want kernel-install. Such cases would *usually* involve systemd in the
image, but maybe if you're building an single-executable appliance, you don't
have systemd there.

So maybe you're building a container with a qemu and single application
isolated in a VM, and you want the kernel for the qemu in the container, but
no systemd and no boot loader.

Or maybe you're trying to convert Fedora to runit or back to sysvinit, so you
want to drop dependencies on systemd as much as possible ;)

As I said, I don't have a good use case, but I think the general principle is
reasonable.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux