adding zfs-dracut module
This commit is contained in:
parent
e8d730c4c7
commit
543e531fe7
2
sys-kernel/dracut-zfs/Manifest
Normal file
2
sys-kernel/dracut-zfs/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST zfs-0.6.5.tar.gz 1816180 SHA256 542121940122c922c9d21a2bb39bca4e4a9db2f6bbfd2e576630840e256d4c82 SHA512 58480ee9b0780f1f21d12504abc226be3e6df1939214f6a8f245315d1fa0b9da56b3a744df26426ee78f13684a4ca288df6dddc50f8f91d9d0b4c542980a9c53 WHIRLPOOL fdb5580ec8d4abe57069ce453c1d91225019758ecf5d31856a7897ac7e4b51c6a8ae3258e822f684fbd70a0a7d7410c65c37a569f37d132767522118c587cc24
|
||||||
|
EBUILD dracut-zfs-0.6.5.ebuild 924 SHA256 50845533933ac4ecf484c5ec3bc9917e3b8234099951bf5b15854589fc04191b SHA512 6e76ebef9ffe34c2e3d1607f6f8a9646e18006c3f99541f39ef088259e8ee855c829e925916a85555b3943f40a34f02fdc4de11964e6c6c58ac91451302eabe6 WHIRLPOOL 5cb22a7c52ae6d103db4a23f69811f55fc06989108a1a291f89362263be421eede213772af90b9a7f2779cd1d08af3855bfd5472d31e0012fa7109b3a8157283
|
38
sys-kernel/dracut-zfs/dracut-zfs-0.6.5.ebuild
Normal file
38
sys-kernel/dracut-zfs/dracut-zfs-0.6.5.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
DESCRIPTION="ZFS module for dracut"
|
||||||
|
HOMEPAGE="https://dracut.wiki.kernel.org/index.php/Main_Page"
|
||||||
|
SRC_URI="https://github.com/zfsonlinux/zfs/archive/zfs-${PV}.tar.gz"
|
||||||
|
S="${WORKDIR}/zfs-zfs-${PV}/contrib/dracut"
|
||||||
|
|
||||||
|
LICENSE="GPL"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="sys-kernel/dracut"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() { :; }
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
function conf() {
|
||||||
|
sed -e 's,@bindir\@,/usr/bin,g' \
|
||||||
|
-e 's,@sbindir\@,/sbin/,g' \
|
||||||
|
-e 's,@udevdir\@,/lib/udev,g' \
|
||||||
|
-e 's,@udevruledir\@,/lib/udev/rules.d,g' \
|
||||||
|
-e 's,@sysconfdir\@,/etc,g' \
|
||||||
|
"${S}/90zfs/$1" > ${D}usr/lib64/dracut/modules.d/90zfs/${1%.in}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /usr/lib64/dracut/modules.d/90zfs
|
||||||
|
for f in $(ls ${S}/90zfs/*.in) ; do
|
||||||
|
conf ${f##/*/}
|
||||||
|
done
|
||||||
|
# dodoc README.dracut.markdown
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user