summaryrefslogtreecommitdiff
path: root/sys-kernel/bliss-initramfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
commit53cba99042fa967e2a93da9f8db806fe2d035543 (patch)
tree9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /sys-kernel/bliss-initramfs
parent71deace00d1a2b091313fe137ab7092418c6f87c (diff)
gentoo resync : 17.02.2020
Diffstat (limited to 'sys-kernel/bliss-initramfs')
-rw-r--r--sys-kernel/bliss-initramfs/Manifest3
-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, 55 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
new file mode 100644
index 000000000000..3e6f7599316a
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/Manifest
@@ -0,0 +1,3 @@
+DIST bliss-initramfs-8.0.0.tar.gz 28234 BLAKE2B fc1295d9d203e32b5339e42b7c5565f669212e8c17b570b3f8a304dae32ec242c62b74f6dbccacd710b0cc2c4418c3b4a7af64dddc36a52f23881c74457cab7d SHA512 94bf5261cd1ddbf902e026f5e20344aa7def76115009fd18fe67efe65e24b376622ee852236b540452f0f2b2c847debf145602c73dee0113ea0215c7abcbe0df
+EBUILD bliss-initramfs-8.0.0.ebuild 1000 BLAKE2B a3ced544c027399cb1042a3e0eff84d0d4b346834c8aed331ba4e2ad49474f93ac360d393e2103fa5f4e542a7a04620479b1ab899f46520bd252d8902f412788 SHA512 ee02903dfbb3de98e0768f3dab576f9bc461c6b3e35a1ef617c92498fbbed951373474412bc398a8450a27280e58f00ed747cf11617c2a475cf508de62d8a872
+MISC metadata.xml 376 BLAKE2B fea14093aca69fbbb74bc94aaeebbf32cd609e7cf3ac4e9fc68151c8a4a60ed6d1979c39a33109978867f72a1b7bb2f09f43bdd978f87c876dfa37207524c91a SHA512 f940dbaec346e821e3d95c58bbb3977103277cc4a969a6ddd8e68b5068b9fe5745bd2c89a7c00236e18833e95c2dbbac0fd2b4ce05ad63f7486195e39c386d55
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 000000000000..a7d3488681df
--- /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 000000000000..b09c5a9a69bf
--- /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>