From 0547d4e67af864de41fce249710763384a96b40d Mon Sep 17 00:00:00 2001 From: Jonathan Vasquez Date: Sat, 5 Nov 2016 14:43:11 -0400 Subject: sys-kernel/bliss-initramfs: adding new package (alternative to genkernel) Package-Manager: portage-2.2.28 --- sys-kernel/bliss-initramfs/Manifest | 1 + .../bliss-initramfs/bliss-initramfs-6.8.0.ebuild | 54 ++++++++++++++++++++++ sys-kernel/bliss-initramfs/metadata.xml | 14 ++++++ 3 files changed, 69 insertions(+) create mode 100644 sys-kernel/bliss-initramfs/Manifest create mode 100644 sys-kernel/bliss-initramfs/bliss-initramfs-6.8.0.ebuild create mode 100644 sys-kernel/bliss-initramfs/metadata.xml (limited to 'sys-kernel/bliss-initramfs') diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest new file mode 100644 index 000000000000..2a6b314131a0 --- /dev/null +++ b/sys-kernel/bliss-initramfs/Manifest @@ -0,0 +1 @@ +DIST bliss-initramfs-6.8.0.tar.gz 42297 SHA256 137b913c311c6be836afb0e0af6d74bb99ce6dc320d2994adeab3104fe66e990 SHA512 5544f72f7caab66e67917fc00f5a825ccd78d80cbbb8b68898220ed7530f3565bee648060d0e96b2e5c2e1236b595877fca345396c3dc306ba59b13bffbed538 WHIRLPOOL 9f981fb913286740814c2205ad44f4c08f5cec97d9c9b91f62f220b402b4518d2f453cebf9133a1fbcbd8bdc71e6a1b8d4ca9bdd0cbe5e9e9e4f97a530185786 diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.0.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.0.ebuild new file mode 100644 index 000000000000..c97002e5ea6d --- /dev/null +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 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="MPL-2.0" +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}" +} diff --git a/sys-kernel/bliss-initramfs/metadata.xml b/sys-kernel/bliss-initramfs/metadata.xml new file mode 100644 index 000000000000..b37dd7c0916d --- /dev/null +++ b/sys-kernel/bliss-initramfs/metadata.xml @@ -0,0 +1,14 @@ + + + + + fearedbliss@gentoo.org + Jonathan Vasquez + + + Encryption support + RAID support + Logical Volume support + ZFS support + + -- cgit v1.2.3-65-gdbad