add sys-kernel/dracut-hook-bcachefs package
This commit is contained in:
parent
1c4199101b
commit
d47d04385f
|
@ -0,0 +1,2 @@
|
|||
DIST dracut-hook-bcachefs-1.tar.gz 2021 BLAKE2B 7ab50dac14682342ebe7c41a92b99ab4176d37d94b11ff51f6a823cf74717ec8d684f0cde466911d842254d9829475fe89189eff89ac4be336317a039cb39079 SHA512 e6b9c6cc2c2b1bf3288327754ffa31b9c6e107a94bf06df1da45da1b6141733f62de07a8d90e65a5eae6dee368f14a7225abc12bfcb26144f426e8d6a9b0dc99
|
||||
EBUILD dracut-hook-bcachefs-1.ebuild 654 BLAKE2B b2fa8ce7f98f8c8e46d2ce043ebbfbbfb2db30d4f9c9acec51c2f6d33a2f8b8e0a8767bc41f3ed9345e196aaa42d813437e04fe0c07b8e040907429617c57200 SHA512 05ca3d121c3ef17791b104a6f74ef2d36a84848c54ad68ec0ca75230950ee3344f7ddbad1683fb0315d971fc7536c362d7a72c7287cb8f22292dc9a8e98b9cb8
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Early unlocking of encrypted systems via ssh for dracut"
|
||||
HOMEPAGE="https://github.com/kode54/dracut-hook-bcachefs"
|
||||
SRC_URI="https://github.com/kode54/dracut-hook-bcachefs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="sys-kernel/dracut"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-fs/bcachefs-tools"
|
||||
|
||||
src_compile() {
|
||||
if [[ ! -f Makefile ]]; then
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install || die "emake failed"
|
||||
}
|
Loading…
Reference in New Issue