summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/bliss-initramfs/Manifest1
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
index b8e2f40e3565..e3bb9db6f9e3 100644
--- a/sys-kernel/bliss-initramfs/Manifest
+++ b/sys-kernel/bliss-initramfs/Manifest
@@ -1,2 +1,3 @@
DIST bliss-initramfs-6.8.3.tar.gz 50581 SHA256 7dc970ae20e2fe7552db6108ded180468f255fbfdc1439acf1c58346b0aa2302 SHA512 951063a87d5f7ce52803916746fffda96321a25f2ba4943095f2bd87b4a65e6bce93846babe2d0f3382d364f29afa389b18471553bd32a5609143d5ad333b1b5 WHIRLPOOL 5d9884984ac9522eb3417d7111811fa1befc16b519ac49c39f30605bacafaa74b100515fa24fc00e26c94ef793d143043573919650dcd9f3cbd752d9aee73a53
DIST bliss-initramfs-7.0.2.tar.gz 29738 SHA256 2a0a8a8be463d66222c06aadf5cb9adfb50f1145369b896a93ea6f5dbb38736c SHA512 d865895cdef5ff75acf87f45f57bea295a3b559b10d28cae52719d57a19104b54a207f35a481eebbd2412226d419d657b29571b76fc2bf99017e9fbc39cee544 WHIRLPOOL a35a8f33df9d57f895f83a653b8ffc4c46085005099ce9bd30219b96785355a4d7b3c0ea462c5d7d1ce3fce95c37cac115101b8d59291600d3e74be3d05032a9
+DIST bliss-initramfs-7.1.0.tar.gz 30805 SHA256 b061142600fb5db2eb352521201d30440d98e96951057c2386dfcc534ee479bb SHA512 7a7f297756dfb6abb86d2f9159c9ab92ca6e5c24022c0563584a6f82396b88f16bac09bf746f9acd94ef05304e285c6978c7ff3026434c16ef9d50e6064fe85b WHIRLPOOL bed646fd65ebae0221a1514ba071284b6a5b98cc3283dc1d719a7f36b36d6ccd77dbc2b0762bab287ade5fc3acb78ea9e2d7fe14195083ad5ee8f5a277f630fe
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
new file mode 100644
index 000000000000..c772363314bc
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+inherit python-single-r1
+
+GITHUB_USER="fearedbliss"
+GITHUB_REPO="bliss-initramfs"
+GITHUB_TAG="${PV}"
+
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs."
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="strip"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/cpio
+ virtual/udev"
+
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}"
+
+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 USAGE
+
+ # Make a symbolic link: /sbin/bliss-initramfs
+ dosym "/opt/${PN}/${executable}" "/sbin/${PN}"
+}