summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Vasquez <fearedbliss@gentoo.org>2020-07-18 12:32:59 -0400
committerJonathan Vasquez <fearedbliss@gentoo.org>2020-07-18 12:32:59 -0400
commitc384fe130b001b0fab86414c0ca3bd6bfce824eb (patch)
treee953977ff6327e292c23a45617978a5532fe38c0 /sys-kernel/bliss-initramfs
parentsys-kernel/bliss-initramfs: removing 8.0.0, stabilizing 8.1.0. (diff)
downloadgentoo-c384fe130b001b0fab86414c0ca3bd6bfce824eb.tar.gz
gentoo-c384fe130b001b0fab86414c0ca3bd6bfce824eb.tar.bz2
gentoo-c384fe130b001b0fab86414c0ca3bd6bfce824eb.zip
sys-kernel/bliss-initramfs: Added 8.1.0-r1
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Jonathan Vasquez <fearedbliss@gentoo.org>
Diffstat (limited to 'sys-kernel/bliss-initramfs')
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-8.1.0-r1.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-8.1.0-r1.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-8.1.0-r1.ebuild
new file mode 100644
index 00000000000..a25ff54ad64
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-8.1.0-r1.ebuild
@@ -0,0 +1,61 @@
+# 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}"
+
+CONFIG_FILE="/etc/bliss-initramfs/settings.json"
+
+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_AND_OPTIONS
+
+ # Copy the configuration file for the user
+ dodir "/etc/${PN}"
+ cp "${S}/files/default-settings.json" "${D}${CONFIG_FILE}"
+
+ # Make a relative symbolic link: /sbin/bliss-initramfs
+ dosym "../opt/${PN}/${executable}" "/sbin/${PN}"
+}
+
+pkg_postinst() {
+ elog "As of version 8.1.0, ${PN} has a new centralized configuration architecture."
+ elog "Any customizations you want to provide to ${PN} should be done by modifying"
+ elog "${CONFIG_FILE}. You can use the \"-c/--config\" option to provide"
+ elog "an alternate configuration path.\n"
+ elog "For a full list of changes, please read the release info located here:"
+ elog "https://github.com/fearedbliss/bliss-initramfs/releases/tag/8.1.0"
+ elog ""
+ elog "Also, 8.1.0 is the last version to include support for LUKS! Starting with"
+ elog "version 9.0.0, bliss-initramfs only contains support for ZFS' Native Encryption."
+ elog "If you are a LUKS/OpenZFS user, please stay on 8.1.0 until you migrate over to"
+ elog "the native encryption."
+}