1 |
commit: fe97ca1824ff795d88d1f75fc8bef9c82636b68b |
2 |
Author: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 6 20:29:42 2020 +0000 |
4 |
Commit: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 6 20:29:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe97ca18 |
7 |
|
8 |
sys-kernel/bliss-initramfs: bumping to 9.3.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
11 |
Signed-off-by: Jonathan Vasquez <fearedbliss <AT> gentoo.org> |
12 |
|
13 |
sys-kernel/bliss-initramfs/Manifest | 1 + |
14 |
.../bliss-initramfs/bliss-initramfs-9.3.0.ebuild | 63 ++++++++++++++++++++++ |
15 |
2 files changed, 64 insertions(+) |
16 |
|
17 |
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest |
18 |
index 11c203f7157..359e1bb7159 100644 |
19 |
--- a/sys-kernel/bliss-initramfs/Manifest |
20 |
+++ b/sys-kernel/bliss-initramfs/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST bliss-initramfs-8.1.0.tar.gz 34464 BLAKE2B 5cc4c547fa9fadc91b21f9e752242dd1f3fa81a589457297c2d058fa811ea08deb3aacdcc5f2448856fd1d1c627037c47796f69b39b9691a60d8b0bcfc499cff SHA512 bee5e206ddd388a06ef876d99e36d0e1587d9148d890761e4d56b27e12c83c9a51794a3c9e99cac70de9729297e27051d6c323986f13cf8b3666a6ec66b85090 |
23 |
DIST bliss-initramfs-9.1.0.tar.gz 27708 BLAKE2B 920e33e5c63d0c8eec2f17ceca42c6b83c3850714b63fd8d80855fafaea7f5799a22d213fb05e6ee03c9321d2eaffac434cec2822326d18cb5f8bcea5d361eaa SHA512 2ce98a6dd837062accfdcb145f1eba9e93c6f21f41fc6fdeb38f939749a1a86c6971aa9e438f99a06a7fec7013ff19e8cd3dd346cc9aa80b0048c6402c93865a |
24 |
DIST bliss-initramfs-9.2.0.tar.gz 27837 BLAKE2B 9a8dd611b75c2892dba7d96c8e79385034e7a923c62d2223d69ee48a6a8090271981b367d8083db553dfe5a1bbd661857036998bcfe7daf78e1f15bbdb8b1c9c SHA512 2af311a166e4b46bdb365e8e6a518354f27216275f2d941e430d356727c9b2b9080dce411509a3e9093c5324f28ed9e73c3831140d7d2eef3ab8cd514b5c0e43 |
25 |
+DIST bliss-initramfs-9.3.0.tar.gz 28318 BLAKE2B c96a23030fc5e3ae168dbc6a4bd127eb9d6f19c0121a02351422062911274e16fe5911946942d7ef60b5eb692e679616901ac842f2af133631be894c9be36c1c SHA512 051652da42356ef601453088cc2af2c08dea5101dc922dbab966aec939717441ab31a3f6cc65599eabcd2628d156c5e22675703e48f862ed168f093f115c8dd0 |
26 |
|
27 |
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..042e7d7cf5d |
30 |
--- /dev/null |
31 |
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-9.3.0.ebuild |
32 |
@@ -0,0 +1,63 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
39 |
+inherit python-single-r1 |
40 |
+ |
41 |
+DESCRIPTION="Boot your system's rootfs from Encrypted/OpenZFS." |
42 |
+HOMEPAGE="https://github.com/fearedbliss/bliss-initramfs" |
43 |
+SRC_URI="https://github.com/fearedbliss/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
46 |
+RESTRICT="strip" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="-* ~amd64" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ ${PYTHON_DEPS} |
53 |
+ app-arch/cpio |
54 |
+ virtual/udev" |
55 |
+ |
56 |
+S="${WORKDIR}/${PN}-${PV}" |
57 |
+ |
58 |
+CONFIG_FILE="/etc/bliss-initramfs/settings.json" |
59 |
+ |
60 |
+src_install() { |
61 |
+ # Copy the main executable |
62 |
+ local executable="mkinitrd.py" |
63 |
+ exeinto "/opt/${PN}" |
64 |
+ doexe "${executable}" |
65 |
+ |
66 |
+ # Copy the libraries required by this executable |
67 |
+ cp -r "${S}/files" "${D}/opt/${PN}" || die |
68 |
+ cp -r "${S}/pkg" "${D}/opt/${PN}" || die |
69 |
+ |
70 |
+ # Copy documentation files |
71 |
+ dodoc README.md README-MORE.md USAGE.md |
72 |
+ |
73 |
+ # Copy the configuration file for the user |
74 |
+ dodir "/etc/${PN}" |
75 |
+ cp "${S}/files/default-settings.json" "${D}${CONFIG_FILE}" |
76 |
+ |
77 |
+ # Make a relative symbolic link: /sbin/bliss-initramfs |
78 |
+ dosym "../opt/${PN}/${executable}" "/sbin/${PN}" |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ elog "Version >=9.0.0 is a BREAKING CHANGE! bliss-initramfs now has native" |
83 |
+ elog "zfs encryption support, and LUKS has been completely removed. If you" |
84 |
+ elog "are using LUKS, please stay on version 8.1.0 since that is the last" |
85 |
+ elog "version to support LUKS!\n" |
86 |
+ elog "For a full list of changes, please read the release info located here:" |
87 |
+ elog "https://github.com/fearedbliss/bliss-initramfs/releases/tag/9.0.0" |
88 |
+ elog "" |
89 |
+ elog "As of version 8.1.0, ${PN} has a new centralized configuration architecture." |
90 |
+ elog "Any customizations you want to provide to ${PN} should be done by modifying" |
91 |
+ elog "${CONFIG_FILE}. You can use the \"-c/--config\" option to provide" |
92 |
+ elog "an alternate configuration path.\n" |
93 |
+ elog "For a full list of changes, please read the release info located here:" |
94 |
+ elog "https://github.com/fearedbliss/bliss-initramfs/releases/tag/8.1.0" |
95 |
+} |