summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-06 17:54:55 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 16:01:29 +0100
commit4c9a35708e0ed4ac8190218773bf350449c979a3 (patch)
treee29f689426a6c56ea3c2e6b6d8d45826f1290bbf /sys-kernel/installkernel-gentoo
parentsys-kernel/installkernel-systemd-boot: New package (diff)
downloadgentoo-4c9a35708e0ed4ac8190218773bf350449c979a3.tar.gz
gentoo-4c9a35708e0ed4ac8190218773bf350449c979a3.tar.bz2
gentoo-4c9a35708e0ed4ac8190218773bf350449c979a3.zip
sys-kernel/installkernel-gentoo: New package
New package with Gentoo installkernel fork, adding initramfs support. Bug: https://bugs.gentoo.org/702164 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/installkernel-gentoo')
-rw-r--r--sys-kernel/installkernel-gentoo/Manifest1
-rw-r--r--sys-kernel/installkernel-gentoo/installkernel-gentoo-1.ebuild25
-rw-r--r--sys-kernel/installkernel-gentoo/metadata.xml8
3 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/installkernel-gentoo/Manifest b/sys-kernel/installkernel-gentoo/Manifest
new file mode 100644
index 000000000000..17cde3f15e0c
--- /dev/null
+++ b/sys-kernel/installkernel-gentoo/Manifest
@@ -0,0 +1 @@
+DIST installkernel-gentoo-1.tar.gz 2308 BLAKE2B 94d30463445cca4ccea8b00c61dd9f9f89ea4d6f2185e5c1355145300b001fbb624d2e06c9707ecc79ddcab8609725c34239e00b5d80bff22b10a8bc28132916 SHA512 ce33b1958bcec4ed63f812b00471a49ecb88d0149a4e5ebd283b412cc3eafc647477bf84ad21c066ef2602ee06a24ece08fbac85cc815fae91b0bb43d8db8013
diff --git a/sys-kernel/installkernel-gentoo/installkernel-gentoo-1.ebuild b/sys-kernel/installkernel-gentoo/installkernel-gentoo-1.ebuild
new file mode 100644
index 000000000000..79a73f028aaf
--- /dev/null
+++ b/sys-kernel/installkernel-gentoo/installkernel-gentoo-1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2019 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 ~sh ~sparc ~x86 ~x86-linux"
+
+RDEPEND="
+ sys-apps/debianutils
+ !<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
+}
diff --git a/sys-kernel/installkernel-gentoo/metadata.xml b/sys-kernel/installkernel-gentoo/metadata.xml
new file mode 100644
index 000000000000..0319eec4c8be
--- /dev/null
+++ b/sys-kernel/installkernel-gentoo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>