sys-kernel/dracut-bcachefs: add new package

This commit is contained in:
Alexander Miroshnichenko 2024-11-17 21:22:24 +03:00
parent d810c1b196
commit 92ef22d65f
Signed by: alex
GPG Key ID: E93720C6C73A77F4
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/breavyn/dracut-bcachefs.git"
KEYWORDS="~amd64 ~x86"
else
SRC_URI="https://github.com/breavyn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="This module allows mounting an encrypted bcachefs subvolume as / . The root of the bcachefs filesystem is made available at /.bcachefs"
HOMEPAGE="https://github.com/breavyn/dracut-bcachefs"
LICENSE="GPL-2.0"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}
sys-kernel/dracut"
BDEPEND=""
src_install() {
default
exeinto /usr/lib/dracut/modules.d/90bcachefs
doexe "${S}"/90bcachefs/*
}