commit: 80df7c19177b8333aae4e986a7fffb9d0a657b25 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Mon Feb 26 05:57:06 2024 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Mar 12 18:16:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80df7c19
sys-apps/debianutils: drop installkernel use flag Random packages requiring some tool from Debian should not cause the kernel installation process to change. The dropping of the debianutils dependency in ca-certificates has already caused some surprises due to installkernel being depcleaned. The origin of the problem lies here in debianutils, users unknowingly use and rely on installkernel but do not have it in their world file because it was implicitly pulled in by some package that happens to use the run-parts command. And also the other way around. If I am one of the users that wants to do everything manually, I should not have my 'make install' unknowingly altered by some package that I installed which pulled debianutils into the depgraph. Drop this unused runtime dependency (which is against policy to begin with) and its accompanying flag. A news item will be posted to notify users of this change and instruct them to add installkernel to their world file. Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35533 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> profiles/features/prefix/package.use.mask | 4 ---- .../{debianutils-5.14.ebuild => debianutils-5.14-r1.ebuild} | 6 +----- sys-apps/debianutils/metadata.xml | 6 ------ 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/profiles/features/prefix/package.use.mask b/profiles/features/prefix/package.use.mask index 9d5a82e0d829..12bba1c5f9e8 100644 --- a/profiles/features/prefix/package.use.mask +++ b/profiles/features/prefix/package.use.mask @@ -14,10 +14,6 @@ x11-base/xorg-server elogind # depends on systemd sys-apps/ipmitool openbmc -# Fabian Groffen <[email protected]> (2020-06-07) -# installing kernels has no business in Prefix -sys-apps/debianutils installkernel - # Benda Xu <[email protected]> (2019-08-20) # avoid gnome-extra/gnome-user-share, which depends on systemd. gnome-base/gnome-extra-apps share diff --git a/sys-apps/debianutils/debianutils-5.14.ebuild b/sys-apps/debianutils/debianutils-5.14-r1.ebuild similarity index 91% rename from sys-apps/debianutils/debianutils-5.14.ebuild rename to sys-apps/debianutils/debianutils-5.14-r1.ebuild index ade4ad363a49..fc46992478ea 100644 --- a/sys-apps/debianutils/debianutils-5.14.ebuild +++ b/sys-apps/debianutils/debianutils-5.14-r1.ebuild @@ -12,11 +12,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz" LICENSE="BSD GPL-2 SMAIL" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="+installkernel static" - -PDEPEND=" - installkernel? ( sys-kernel/installkernel ) -" +IUSE="static" PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch ) diff --git a/sys-apps/debianutils/metadata.xml b/sys-apps/debianutils/metadata.xml index 42573629d611..b0d83aa2e489 100644 --- a/sys-apps/debianutils/metadata.xml +++ b/sys-apps/debianutils/metadata.xml @@ -5,10 +5,4 @@ <email>[email protected]</email> <name>Gentoo Base System</name> </maintainer> - <use> - <flag name="installkernel"> - Install /sbin/installkernel script (for Linux). - installkernel is required whenever a kernel will be installed via make install - </flag> - </use> </pkgmetadata>
