summaryrefslogtreecommitdiff
path: root/sys-kernel/installkernel-systemd-boot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-kernel/installkernel-systemd-boot
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-kernel/installkernel-systemd-boot')
-rw-r--r--sys-kernel/installkernel-systemd-boot/Manifest2
-rw-r--r--sys-kernel/installkernel-systemd-boot/installkernel-systemd-boot-0.ebuild27
-rw-r--r--sys-kernel/installkernel-systemd-boot/metadata.xml8
3 files changed, 37 insertions, 0 deletions
diff --git a/sys-kernel/installkernel-systemd-boot/Manifest b/sys-kernel/installkernel-systemd-boot/Manifest
new file mode 100644
index 000000000000..70f802ba0ebf
--- /dev/null
+++ b/sys-kernel/installkernel-systemd-boot/Manifest
@@ -0,0 +1,2 @@
+EBUILD installkernel-systemd-boot-0.ebuild 698 BLAKE2B 843d2b9e41481bcb6f98f1d67aeaaad74c99da2d771b4c2e78158a377dfb654102123bcdbe3378a62c5dc51d7ba0c3feafe61fb58972848a3e3adbad2af156f2 SHA512 dd61a7071f7a9cae5a9a64c2c364dca2602d2ffa34fbdb462c5898bfdf175bfa6644715380adbf9c1a2e8b70ae8753508dbe870ce008d436ea8346de71d39a02
+MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282
diff --git a/sys-kernel/installkernel-systemd-boot/installkernel-systemd-boot-0.ebuild b/sys-kernel/installkernel-systemd-boot/installkernel-systemd-boot-0.ebuild
new file mode 100644
index 000000000000..725a7967a3e1
--- /dev/null
+++ b/sys-kernel/installkernel-systemd-boot/installkernel-systemd-boot-0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Wrap kernel-install from systemd-boot as installkernel"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI=""
+S=${WORKDIR}
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="|| ( sys-apps/systemd sys-boot/systemd-boot )
+ !<sys-apps/debianutils-4.9-r1[installkernel]
+ !sys-kernel/installkernel-gentoo"
+
+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
+ #!/bin/sh
+ exec kernel-install add "\${1}" "\${2}"
+ EOF
+}
diff --git a/sys-kernel/installkernel-systemd-boot/metadata.xml b/sys-kernel/installkernel-systemd-boot/metadata.xml
new file mode 100644
index 000000000000..0319eec4c8be
--- /dev/null
+++ b/sys-kernel/installkernel-systemd-boot/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>