commit: 54372083d23237a4fc142d1563c8c70f2208af8b Author: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> AuthorDate: Tue Mar 14 18:30:28 2017 +0000 Commit: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> CommitDate: Tue Mar 14 18:30:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54372083
sys-kernel/bliss-initramfs: version bump to 7.0.2 Package-Manager: Portage-2.3.4, Repoman-2.3.2 sys-kernel/bliss-initramfs/Manifest | 1 + .../bliss-initramfs/bliss-initramfs-7.0.2.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/sys-kernel/bliss-initramfs/Manifest b/sys-kernel/bliss-initramfs/Manifest index 5330f13bb01..2d286421b2b 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.0.1.tar.gz 52516 SHA256 06e36c09c8ae479ce9cb5b529d7ebe6a24dc9766c1f387e323f6b6d2e5e3e233 SHA512 7e7d896ca7e4288ea7169af1257ba19f9619254ab2466ee5a34c600aa546979b8eaf005fd364de39da030bcf931aa9a22106a75c6473b5d94c48babfe31ff884 WHIRLPOOL 16148e46fa012c1ee6e74559bdb9c4118294693a6e31a8c18e7bda230a57843d05ddaaa75b8361a9a32ccf9330398dbf834567acc71207377f667f1bc6040047 +DIST bliss-initramfs-7.0.2.tar.gz 29738 SHA256 2a0a8a8be463d66222c06aadf5cb9adfb50f1145369b896a93ea6f5dbb38736c SHA512 d865895cdef5ff75acf87f45f57bea295a3b559b10d28cae52719d57a19104b54a207f35a481eebbd2412226d419d657b29571b76fc2bf99017e9fbc39cee544 WHIRLPOOL a35a8f33df9d57f895f83a653b8ffc4c46085005099ce9bd30219b96785355a4d7b3c0ea462c5d7d1ce3fce95c37cac115101b8d59291600d3e74be3d05032a9 diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2.ebuild new file mode 100644 index 00000000000..1dbafbc60c2 --- /dev/null +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="BSD-2" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + >=dev-lang/python-3.3 + 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 CHANGES README USAGE + + # Make a symbolic link: /sbin/bliss-initramfs + dosym "/opt/${PN}/${executable}" "/sbin/${PN}" +}