diff options
Diffstat (limited to 'sys-kernel')
4 files changed, 48 insertions, 2 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest index cd495b45afc0..0c30adf65246 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 bab2dbc53147..f602e16dc194 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 b1a9302c6c6b..a0dd452913e5 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 000000000000..e6dc27dbe60d --- /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}" +} |