diff options
Diffstat (limited to 'sys-kernel')
4 files changed, 57 insertions, 2 deletions
diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest index 0658225caf59..884eb7623f6f 100644 --- a/sys-kernel/bliss-initramfs/Manifest +++ b/sys-kernel/bliss-initramfs/Manifest @@ -1,2 +1,3 @@ DIST bliss-initramfs-6.8.1.tar.gz 42669 SHA256 e4e5f6a23533774c06664b6b73bf9d2fffe0d44c96f2e877787492ac09ab59ba SHA512 66795ed3b6bdbebf1c8573636653880ca7d97930a3e77bef71a4aa8436ba750bb2d0eab3f3c57b2fa092dd09de13be6a42eec0af5412cffacebffae268892519 WHIRLPOOL c15b69bf9479d10ca969c9c6c3b1e9e582c7d0646c3eb67aa48878bbc49796d1e43bbecb02875c5cba93f95b97ab37346d575a3f72493c19c48cecfcbf206dd7 DIST bliss-initramfs-6.8.2.tar.gz 43583 SHA256 06ec5cb23ab11a5ce53c6b8f23a7fe578996e299a3a316fbd395ee26b8ba997d SHA512 5077ca883a85c55b7af4763b610f0132fbdc7a19c899894ba5aa306f67236af92e1c54e70fbd43739af5e2371bf01357b239730b5c2e23c47fe54bab1c0efdcf WHIRLPOOL e77eaea3482435f11fd3334dfba62c884d35d8fce36b7ddd1a4ae6114856db557a92d7f7a40a8770d24000c3a0c25e70afb15f36b6490439bbf9a38a750988c2 +DIST bliss-initramfs-6.8.3.tar.gz 50581 SHA256 7dc970ae20e2fe7552db6108ded180468f255fbfdc1439acf1c58346b0aa2302 SHA512 951063a87d5f7ce52803916746fffda96321a25f2ba4943095f2bd87b4a65e6bce93846babe2d0f3382d364f29afa389b18471553bd32a5609143d5ad333b1b5 WHIRLPOOL 5d9884984ac9522eb3417d7111811fa1befc16b519ac49c39f30605bacafaa74b100515fa24fc00e26c94ef793d143043573919650dcd9f3cbd752d9aee73a53 diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.1.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.1.ebuild index c97002e5ea6d..1710c523d0fe 100644 --- a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.1.ebuild +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.2.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.2.ebuild index c97002e5ea6d..1710c523d0fe 100644 --- a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.2.ebuild +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3.ebuild new file mode 100644 index 000000000000..d76b93ef2fec --- /dev/null +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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" + +RESTRICT="strip" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="luks raid lvm zfs" + +RDEPEND=" + >=dev-lang/python-3.3 + app-arch/cpio + virtual/udev + + luks? ( sys-fs/cryptsetup + app-crypt/gnupg ) + + raid? ( sys-fs/mdadm ) + + lvm? ( sys-fs/lvm2 ) + + zfs? ( sys-kernel/spl + sys-fs/zfs + sys-fs/zfs-kmod )" + +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 CHANGES README USAGE + + # Make a symbolic link: /sbin/bliss-initramfs + dosym "/opt/${PN}/${executable}" "/sbin/${PN}" +} |