1 |
commit: d31a350df60d2c404c37a37f05b2cff34211935a |
2 |
Author: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 01:11:39 2018 +0000 |
4 |
Commit: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 01:11:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31a350d |
7 |
|
8 |
sys-kernel/bliss-initramfs: version bump to 7.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.21, Repoman-2.3.6 |
11 |
|
12 |
sys-kernel/bliss-initramfs/Manifest | 1 + |
13 |
.../bliss-initramfs/bliss-initramfs-7.1.3.ebuild | 45 ++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest |
17 |
index 462a459c4af..efc1c6351aa 100644 |
18 |
--- a/sys-kernel/bliss-initramfs/Manifest |
19 |
+++ b/sys-kernel/bliss-initramfs/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bliss-initramfs-7.1.2.tar.gz 31178 BLAKE2B 980ab01fc13c5e8863fc89853568add99a30ff66faa4d3ec05a3ebb2cf2b3ac97cc36e8cc958296917562abe09c83739790d514d530a38e516d808710c12951e SHA512 cbd13a5a34b1b5936d73234c322b317f50d3fd0e118043301f55ddc5ff74b8f182a10580a79735eaea7bf6739ff6fe8c0d806f662461b13b12dd469bd53791e6 |
22 |
+DIST bliss-initramfs-7.1.3.tar.gz 31278 BLAKE2B 3434f19908ba6203b5cc2b85972885c8d082b43e74deb704d145a4f7454b16b61bf5dfdf86c4485b322866633a8a869a2dace0adc612dbe15ad0c544b2058964 SHA512 b5c1d909d8393ae2a7cdb74dc46346c7fd5d3f6b0b7bebbc68b46a98ae0ae66ac94fa4d76329f6811b86b5b3a760c0aef9d5163c15eb65a2ad47bde4db970dad |
23 |
|
24 |
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c1fc7e608b6 |
27 |
--- /dev/null |
28 |
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
36 |
+inherit python-single-r1 |
37 |
+ |
38 |
+GITHUB_USER="fearedbliss" |
39 |
+GITHUB_REPO="bliss-initramfs" |
40 |
+GITHUB_TAG="${PV}" |
41 |
+ |
42 |
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs." |
43 |
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}" |
44 |
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+RESTRICT="strip" |
48 |
+LICENSE="BSD-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="-* ~amd64" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ ${PYTHON_DEPS} |
54 |
+ app-arch/cpio |
55 |
+ virtual/udev" |
56 |
+ |
57 |
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" |
58 |
+ |
59 |
+src_install() { |
60 |
+ # Copy the main executable |
61 |
+ local executable="mkinitrd.py" |
62 |
+ exeinto "/opt/${PN}" |
63 |
+ doexe "${executable}" |
64 |
+ |
65 |
+ # Copy the libraries required by this executable |
66 |
+ cp -r "${S}/files" "${D}/opt/${PN}" || die |
67 |
+ cp -r "${S}/pkg" "${D}/opt/${PN}" || die |
68 |
+ |
69 |
+ # Copy documentation files |
70 |
+ dodoc README USAGE |
71 |
+ |
72 |
+ # Make a symbolic link: /sbin/bliss-initramfs |
73 |
+ dosym "${EPREFIX}/opt/${PN}/${executable}" "/sbin/${PN}" |
74 |
+} |