From 80df7c19177b8333aae4e986a7fffb9d0a657b25 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Mon, 26 Feb 2024 06:57:06 +0100 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/35533 Signed-off-by: Andrew Ammerlaan --- 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(-) rename sys-apps/debianutils/{debianutils-5.14.ebuild => debianutils-5.14-r1.ebuild} (91%) diff --git a/profiles/features/prefix/package.use.mask b/profiles/features/prefix/package.use.mask index 9d5a82e0d829b..12bba1c5f9e85 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 (2020-06-07) -# installing kernels has no business in Prefix -sys-apps/debianutils installkernel - # Benda Xu (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 ade4ad363a49e..fc46992478ea8 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 42573629d611c..b0d83aa2e4894 100644 --- a/sys-apps/debianutils/metadata.xml +++ b/sys-apps/debianutils/metadata.xml @@ -5,10 +5,4 @@ base-system@gentoo.org Gentoo Base System - - - Install /sbin/installkernel script (for Linux). - installkernel is required whenever a kernel will be installed via make install - -