summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Vasquez <jon@xyinn.org>2020-02-10 07:10:38 -0500
committerMikle Kolyada <zlogene@gentoo.org>2020-02-11 17:11:25 +0300
commit12eb7ace328d1658ea130d39c12a58e99df0d2b1 (patch)
tree395d085ff08b37a53061c707eb8126a92e544ac3 /sys-kernel/bliss-initramfs
parentkde-plasma/plasma-workspace: Drop 5.17.5 (r0) (diff)
downloadgentoo-12eb7ace328d1658ea130d39c12a58e99df0d2b1.tar.gz
gentoo-12eb7ace328d1658ea130d39c12a58e99df0d2b1.tar.bz2
gentoo-12eb7ace328d1658ea130d39c12a58e99df0d2b1.zip
sys-kernel/bliss-initramfs: re-adding package
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jonathan Vasquez <fearedbliss@gentoo.org> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-kernel/bliss-initramfs')
-rw-r--r--sys-kernel/bliss-initramfs/Manifest1
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild41
-rw-r--r--sys-kernel/bliss-initramfs/metadata.xml11
3 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
new file mode 100644
index 00000000000..df6704436ef
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/Manifest
@@ -0,0 +1 @@
+DIST bliss-initramfs-8.0.0.tar.gz 28234 BLAKE2B fc1295d9d203e32b5339e42b7c5565f669212e8c17b570b3f8a304dae32ec242c62b74f6dbccacd710b0cc2c4418c3b4a7af64dddc36a52f23881c74457cab7d SHA512 94bf5261cd1ddbf902e026f5e20344aa7def76115009fd18fe67efe65e24b376622ee852236b540452f0f2b2c847debf145602c73dee0113ea0215c7abcbe0df
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild
new file mode 100644
index 00000000000..a7d3488681d
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-8.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+inherit python-single-r1
+
+DESCRIPTION="Boot your system's rootfs from OpenZFS/LUKS"
+HOMEPAGE="https://github.com/fearedbliss/bliss-initramfs"
+SRC_URI="https://github.com/fearedbliss/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="strip"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/cpio
+ virtual/udev"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+src_install() {
+ # Copy the main executable
+ local executable="mkinitrd.py"
+ exeinto "/opt/${PN}"
+ doexe "${executable}"
+
+ # Copy the libraries required by this executable
+ cp -r "${S}/files" "${D}/opt/${PN}" || die
+ cp -r "${S}/pkg" "${D}/opt/${PN}" || die
+
+ # Copy documentation files
+ dodoc README.md README-MORE USAGE
+
+ # Make a relative symbolic link: /sbin/bliss-initramfs
+ dosym "../opt/${PN}/${executable}" "/sbin/${PN}"
+}
diff --git a/sys-kernel/bliss-initramfs/metadata.xml b/sys-kernel/bliss-initramfs/metadata.xml
new file mode 100644
index 00000000000..b09c5a9a69b
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fearedbliss@gentoo.org</email>
+ <name>Jonathan Vasquez</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fearedbliss/bliss-initramfs</remote-id>
+ </upstream>
+</pkgmetadata>