summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Vasquez <fearedbliss@gentoo.org>2017-11-17 11:53:50 -0500
committerJonathan Vasquez <fearedbliss@gentoo.org>2017-11-17 11:54:33 -0500
commiteed60bedfed0fd1707c675c867acc1c357ec1a25 (patch)
tree33d9b72dd052feaae13c695fb697382c8785de47 /sys-kernel/bliss-initramfs
parentnet-misc/owncloud-client: 2.3.4 bump (diff)
downloadgentoo-eed60bedfed0fd1707c675c867acc1c357ec1a25.tar.gz
gentoo-eed60bedfed0fd1707c675c867acc1c357ec1a25.tar.bz2
gentoo-eed60bedfed0fd1707c675c867acc1c357ec1a25.zip
sys-kernel/bliss-initramfs: version bump to 7.1.1 (and EPREFIX addition)
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'sys-kernel/bliss-initramfs')
-rw-r--r--sys-kernel/bliss-initramfs/Manifest1
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild2
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild2
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-7.1.1.ebuild45
4 files changed, 48 insertions, 2 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest
index cd495b45afc..0c30adf6524 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.1.0.tar.gz 30805 SHA256 b061142600fb5db2eb352521201d30440d98e96951057c2386dfcc534ee479bb SHA512 7a7f297756dfb6abb86d2f9159c9ab92ca6e5c24022c0563584a6f82396b88f16bac09bf746f9acd94ef05304e285c6978c7ff3026434c16ef9d50e6064fe85b WHIRLPOOL bed646fd65ebae0221a1514ba071284b6a5b98cc3283dc1d719a7f36b36d6ccd77dbc2b0762bab287ade5fc3acb78ea9e2d7fe14195083ad5ee8f5a277f630fe
+DIST bliss-initramfs-7.1.1.tar.gz 30781 SHA256 dbd9c341b60600a3e737d4c0297c704ee0a55fe2ed9d1cf67ace5b0e6e3c3a10 SHA512 2e98cbf3026ddbf5bf7234c695fd38da4ab1c443fe067c222f0dcb83d1258ad41fbdac85934a672bd32a74613165ff4a0c00c5bc50058da5b6aacdea43f9e75f WHIRLPOOL 4a8dcab9c9b26a4c91a88a30317af7dbbc1bc20d1b0c1e0ca9e10d2ef2868a90516ca784e776b1fbaa775755684394c817b686b471db1d29be4b195310e050df
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild
index bab2dbc5314..f602e16dc19 100644
--- a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild
@@ -40,5 +40,5 @@ src_install() {
dodoc CHANGES README USAGE
# Make a symbolic link: /sbin/bliss-initramfs
- dosym "/opt/${PN}/${executable}" "/sbin/${PN}"
+ dosym "${EPREFIX}/opt/${PN}/${executable}" "/sbin/${PN}"
}
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
index b1a9302c6c6..a0dd452913e 100644
--- a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.0.ebuild
@@ -41,5 +41,5 @@ src_install() {
dodoc README USAGE
# Make a symbolic link: /sbin/bliss-initramfs
- dosym "/opt/${PN}/${executable}" "/sbin/${PN}"
+ dosym "${EPREFIX}/opt/${PN}/${executable}" "/sbin/${PN}"
}
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.1.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.1.ebuild
new file mode 100644
index 00000000000..e6dc27dbe60
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.1.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,3_6} )
+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 "${EPREFIX}/opt/${PN}/${executable}" "/sbin/${PN}"
+}