diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /sys-kernel/installkernel-gentoo | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'sys-kernel/installkernel-gentoo')
-rw-r--r-- | sys-kernel/installkernel-gentoo/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/installkernel-gentoo-4.ebuild | 39 | ||||
-rw-r--r-- | sys-kernel/installkernel-gentoo/metadata.xml | 5 |
3 files changed, 47 insertions, 1 deletions
diff --git a/sys-kernel/installkernel-gentoo/Manifest b/sys-kernel/installkernel-gentoo/Manifest index 9bb494ee919e..b5b4b88c3529 100644 --- a/sys-kernel/installkernel-gentoo/Manifest +++ b/sys-kernel/installkernel-gentoo/Manifest @@ -1,7 +1,9 @@ DIST installkernel-gentoo-1.tar.gz 2308 BLAKE2B 94d30463445cca4ccea8b00c61dd9f9f89ea4d6f2185e5c1355145300b001fbb624d2e06c9707ecc79ddcab8609725c34239e00b5d80bff22b10a8bc28132916 SHA512 ce33b1958bcec4ed63f812b00471a49ecb88d0149a4e5ebd283b412cc3eafc647477bf84ad21c066ef2602ee06a24ece08fbac85cc815fae91b0bb43d8db8013 DIST installkernel-gentoo-2.tar.gz 2339 BLAKE2B 0c9999a4688fac9d27774bc30b7529ed01d9598a73283bd508265a9c694921d7a7974d0d9cda2e0c52fe247b7cbce53918c7b3271fdd01beb150097be0905aec SHA512 157e5c525c7eee1aa79027b847eb938700197abad087ec25548f6cfde227720936d1512070549993d6db0bb51dcef1bf00156f2316b415fa00e001ce1828e471 DIST installkernel-gentoo-3.tar.gz 2340 BLAKE2B fe5b09ce1423be506907ff68aca953fba0c991f1fe94f91bf537b5e38a606f0f2e541758bc627e244b4dbf5960c02d13dff66fe6e4126f9cc8ddf4b0ca5980b1 SHA512 9ae377e95dedd7af2b75a9a4b572e3417e6bea0eb12fc20b837db800d0fea5f97021aac59504074822382579423b2f19a473f6080816ae9b50610a5479488724 +DIST installkernel-gentoo-4.tar.gz 2877 BLAKE2B f3869b12578df508ebb41977ff34b71cae80e678d46756b7abfc5f5dcce92630dcefc00cc19d8fc14f12d7eff4f8eaed7c94a39533de5bf4057b2f0defb825ec SHA512 52e5e5e4f299b5d5131e86d063b783262e71994f6500d30efcbfb83bbb6b3e8dc03cc7b740528831e84d8b12dc04377288e50c1f475096788d21520ee274beac EBUILD installkernel-gentoo-1.ebuild 705 BLAKE2B 1afeb35d535d8c65b6396a80eb5cd40f1b477e9a846b7c4cf7ad7c0afa455a9039615cf93407b1b3d206d056dfee20bbf96a7cc030f8a250e72d70c00e26c8d8 SHA512 5307de0bfb239b499fdd151b7f2be6f28f36cddbb9ba25e635e81503e5fb38bf85a5555ff063b84ba2ec83c8b16e71b506d7b749ae1c5859f9280e9590789b73 EBUILD installkernel-gentoo-2.ebuild 982 BLAKE2B c144202b27a848be755688bfe475211d411ddd2e21b0998e0fd4deeb56e39a24d16a4bd40ea50afa2683c88d960077e78535980e235299cf92fe4c8e6826d777 SHA512 03ad8085c4b6350d1e288b5516423486cae9812f86bbc74c0ec19dd72d8b64fc1e4b6230f6a208ec88e087af3eadb5f1978537f4ea204d88bdb505bb7af96be1 EBUILD installkernel-gentoo-3.ebuild 982 BLAKE2B c144202b27a848be755688bfe475211d411ddd2e21b0998e0fd4deeb56e39a24d16a4bd40ea50afa2683c88d960077e78535980e235299cf92fe4c8e6826d777 SHA512 03ad8085c4b6350d1e288b5516423486cae9812f86bbc74c0ec19dd72d8b64fc1e4b6230f6a208ec88e087af3eadb5f1978537f4ea204d88bdb505bb7af96be1 -MISC metadata.xml 267 BLAKE2B 4449a3159ae97fc4f2152d9305dc77bf8df18a3dc3ae5881b9e56fc0a30da17d7dabf24901b421389b0cea4b7f0037f46e193d8a74a79431c1ccbd3db1fde9ea SHA512 54190f2ef340d1e355087b7a9af6f651be3704bbf23600f024eabb1bdffd36fd92c1f3f37b409dbde82f52b5287e08a427537ca1028bc326d19470f755cefd43 +EBUILD installkernel-gentoo-4.ebuild 1098 BLAKE2B c9955bb9c7bddce4a7dfdc945f87f0d6a3691adf1ab09e703d49c43b410762fb422890e199d818553042a82102dca41f1e9e5f04f1ec2dc83e7d2b22a53c39d5 SHA512 3186978ce0589d7f9217544e4ed5210dbd9d921a47e028b9fd62a4a7f4a191db9df96e5af41f9cf3b271bd9732d12e7740eaa580c9ae5547f897194bbc52141d +MISC metadata.xml 414 BLAKE2B 592d13b6ebac97bca22bb9f9dd3d8ec3aba2ea12452f34a17b04fc193945dd31f208f9041a7dbaa1c14f00a9047fd83e4eef42cccaf6d2b0f450bd4e1e530d0a SHA512 39aff8ae3ea7a40196a8285fe3e0cd8e9146461b6d5c211ea308bffc68462ecc50e2397eb67bcf943b2f1a162fad55d733a87f794fb751cff5aac8067c292bf8 diff --git a/sys-kernel/installkernel-gentoo/installkernel-gentoo-4.ebuild b/sys-kernel/installkernel-gentoo/installkernel-gentoo-4.ebuild new file mode 100644 index 000000000000..f6937b748797 --- /dev/null +++ b/sys-kernel/installkernel-gentoo/installkernel-gentoo-4.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Gentoo fork of installkernel script from debianutils" +HOMEPAGE="https://github.com/mgorny/installkernel-gentoo" +SRC_URI="https://github.com/mgorny/installkernel-gentoo/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="grub" + +RDEPEND=" + >=sys-apps/debianutils-4.9-r1 + !<sys-apps/debianutils-4.9-r1[installkernel(+)] + !sys-kernel/installkernel-systemd-boot" + +src_install() { + into / + dosbin installkernel + doman installkernel.8 + keepdir /etc/kernel/postinst.d + + if use grub; then + exeinto /etc/kernel/postinst.d + doexe hooks/91-grub-mkconfig.install + fi +} + +pkg_postinst() { + if has 1 ${REPLACING_VERSIONS}; then + ewarn "In v2, the initramfs filename has changed to initramfs*.img, to match" + ewarn "the default names used by dracut and genkernel-4. If your bootloader" + ewarn "config uses the verbatim filename, please update it." + fi +} diff --git a/sys-kernel/installkernel-gentoo/metadata.xml b/sys-kernel/installkernel-gentoo/metadata.xml index fae0ca9e8b97..d158bcf00915 100644 --- a/sys-kernel/installkernel-gentoo/metadata.xml +++ b/sys-kernel/installkernel-gentoo/metadata.xml @@ -5,4 +5,9 @@ <email>dist-kernel@gentoo.org</email> <name>Distribution Kernel Project</name> </maintainer> + <use> + <flag name="grub" restrict="<sys-kernel/installkernel-gentoo-4"> + Re-generate grub.cfg on each kernel installation + </flag> + </use> </pkgmetadata> |