mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/installkernel-systemd: drop 2-r4, 2-r5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Wrap kernel-install from systemd as installkernel"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~loong ppc64 x86"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/installkernel
|
||||
|| (
|
||||
sys-apps/systemd[gnuefi(-)]
|
||||
sys-apps/systemd[boot(-)]
|
||||
sys-apps/systemd[kernel-install(-)]
|
||||
sys-apps/systemd-utils[boot]
|
||||
sys-apps/systemd-utils[kernel-install(-)]
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
# we could technically use a symlink here but it would require
|
||||
# us to know the correct path, and that implies /usr merge problems
|
||||
into /
|
||||
newsbin - installkernel <<-EOF
|
||||
#!/usr/bin/env sh
|
||||
exec kernel-install add "\${1}" "\${2}" --verbose
|
||||
EOF
|
||||
|
||||
exeinto /usr/lib/kernel/install.d/
|
||||
newexe "${FILESDIR}/${PN}-2-r2-00-00machineid-directory.install" \
|
||||
00-00machineid-directory.install
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Wrap kernel-install from systemd as installkernel"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/installkernel
|
||||
|| (
|
||||
sys-apps/systemd[kernel-install(-)]
|
||||
sys-apps/systemd-utils[kernel-install(-)]
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
# we could technically use a symlink here but it would require
|
||||
# us to know the correct path, and that implies /usr merge problems
|
||||
into /
|
||||
newsbin - installkernel <<-EOF
|
||||
#!/usr/bin/env sh
|
||||
exec kernel-install add "\${1}" "\${2}" --verbose
|
||||
EOF
|
||||
|
||||
exeinto /usr/lib/kernel/install.d/
|
||||
newexe "${FILESDIR}/${PN}-2-r2-00-00machineid-directory.install" \
|
||||
00-00machineid-directory.install
|
||||
}
|
||||
Reference in New Issue
Block a user