sys-kernel/ugrd: Added version 0.9.0 with improved runtime check and firmware pulling

Signed-off-by: Zen <z@pyl.onl>
This commit is contained in:
Zen
2023-11-19 17:01:46 -06:00
parent 18eb19316a
commit 546dd8bb68
2 changed files with 33 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST ugrd-0.8.1.tar.gz 42632 BLAKE2B c530d9613d383eb3a04e30ea23ad4b9308d63b4be702c91c32ab971a0a447820ea312720b219f28accc328582f5aaf82bf92523a56ebfa1f107cbf4438c5a418 SHA512 2dd52fc4652a648811dfaf8a1f07217108d2b7d07ebfdf795e79e06cf3cb7ed0b5bf8deedca669f8faf4b0d0bdb5cb111d3ec37d73859854df6f36e2d81eab4f
DIST ugrd-0.8.2.tar.gz 44135 BLAKE2B aea7294336327a332518f667aa85fd668af11e3293f83837bff03eaab75e024eae14e239cadf085713b94e556a3a312d829a66ec68fa89e926cde0f146238727 SHA512 1a760253e1c44893b27b1d04939fb251a31c0a9b7cc63e63d6b3f86f5f20d3bf08cf83029a3f2324cfe1e32e0940f3e45fecf2b96c5e7e323fb48d18567b79a2
DIST ugrd-0.9.0.tar.gz 45761 BLAKE2B c815308a9e2ffbd57f6fc04654befeb674e1046f6eb50cf65edb9f24974f48630e324ea5b049f2fb81468a9239633619909d528d36e88700843e36f73919aaa4 SHA512 f9354c9b8e2601ea9027965a10472de1c905bced853bcf3fc793a76db4c2e7d264da547691be32f09d6b5e5da9a7901e009b9f80f10a20856a596d44e0eb0050

View File

@@ -0,0 +1,32 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="Python based initramfs generator with TOML defintions"
HOMEPAGE="https://github.com/desultory/ugrd"
SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-misc/pax-utils"
src_install() {
# Call the distutils-r1_src_install function to install the package
distutils-r1_src_install
# Create the ugrd config directory
keepdir /etc/ugrd
}
pkg_postinst() {
optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
optfeature "ugrd.fs.zfs support" sys-fs/zfs
}