summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Vasquez <fearedbliss@gentoo.org>2018-02-26 20:11:39 -0500
committerJonathan Vasquez <fearedbliss@gentoo.org>2018-02-26 20:11:39 -0500
commitd31a350df60d2c404c37a37f05b2cff34211935a (patch)
treeff8c327f27eb82548e95fe44bda9d6a1aec2cd5a /sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild
parentapp-admin/salt: Remove old 2017.7.3 (diff)
downloadgentoo-d31a350df60d2c404c37a37f05b2cff34211935a.tar.gz
gentoo-d31a350df60d2c404c37a37f05b2cff34211935a.tar.bz2
gentoo-d31a350df60d2c404c37a37f05b2cff34211935a.zip
sys-kernel/bliss-initramfs: version bump to 7.1.3
Package-Manager: Portage-2.3.21, Repoman-2.3.6
Diffstat (limited to 'sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild')
-rw-r--r--sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild
new file mode 100644
index 000000000000..c1fc7e608b6b
--- /dev/null
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.1.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 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}"
+}