diff options
author | Zen <z@pyl.onl> | 2024-05-27 22:01:03 -0500 |
---|---|---|
committer | Zen <z@pyl.onl> | 2024-05-27 22:01:03 -0500 |
commit | 01ad032e07dbcaea01ac20d781222d764d861c7c (patch) | |
tree | 75c8fa23e4139efd59e44311c3a2c4209c6f0e1e /sys-kernel/ugrd | |
parent | app-accessibility/mimic1: revbump to r1 (diff) | |
download | guru-01ad032e07dbcaea01ac20d781222d764d861c7c.tar.gz guru-01ad032e07dbcaea01ac20d781222d764d861c7c.tar.bz2 guru-01ad032e07dbcaea01ac20d781222d764d861c7c.zip |
sys-kernel/ugrd: Add 1.9.0
Signed-off-by: Zen <z@pyl.onl>
Diffstat (limited to 'sys-kernel/ugrd')
-rw-r--r-- | sys-kernel/ugrd/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/ugrd/ugrd-1.9.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index dd073ef8d..09f396e43 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -6,3 +6,4 @@ DIST ugrd-1.5.1.tar.gz 51574 BLAKE2B 5058e515e3d9aa543eb9ddd51335a5aa197ddf79395 DIST ugrd-1.6.0.tar.gz 52219 BLAKE2B 34168eb5c553efe804ac9d5034ada96634f2323f26ecaad89eb5e0c0cc4eeb1ce6182d850186c3d439fa5470679ed08a73531966e9e742c1a018f84bf4dd851c SHA512 ea4843d5c21aa09e992478236395cdb3262110ffa3b5caec8db6712ea132851e9daa471a959437a37d2ca29cd62b9275dfe5515cdeb5c557c1268d797468dfb9 DIST ugrd-1.7.1.tar.gz 52946 BLAKE2B a41be0e5177b1883060a1693a8ec68179cf69d74713a95c51d2b2d2b8f3faca74f8f80d32e7767719e8de4b7190162f3b41bc779d487fdcbfe3e40a416f86c89 SHA512 f042106ec8843f738968e16d51d9deda010179678cf82daf2d162d3a3125eb9106dfdc5453c8555d8ba097caa2af22b74b2e1c5c38dc5083b97ac49cb7cea225 DIST ugrd-1.8.4.tar.gz 53231 BLAKE2B 0c4c8bb2e9ae86e9b5d5e4b5b68e46fa7e985dc8e1299351ea3610b0d0f2961e96db92561dc8ad2cf6583bf28921df92463444c0e166544c029d823dd8c37da8 SHA512 5f1b618a231ff327ee02f8ee184660eb15073e8f3d493e168ea44069f6da72b72f68237e6d5ea17be23da578362993bdbe0132b6e23cbe811bb98ce3d94ae1c3 +DIST ugrd-1.9.0.tar.gz 53931 BLAKE2B d08404d7124bcf2def791cf8eff64f0a88e9e586f136b4b1397f2f8a6cc9de3fd29a1830a12cabd0e63d75e86d144410261416cc6e23d94f8e013ad9867e93b1 SHA512 20aa3bcb5970098115b065607e1702866923b2803275c6249cb49750233aaa8276794110007b38d1bfd5602600fbfe0722999196649950981b76a7ab575fa6c1 diff --git a/sys-kernel/ugrd/ugrd-1.9.0.ebuild b/sys-kernel/ugrd/ugrd-1.9.0.ebuild new file mode 100644 index 000000000..2c55118ef --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) +inherit distutils-r1 optfeature shell-completion + +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 ~arm64" + +RDEPEND=" + app-misc/pax-utils + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.1.2[${PYTHON_USEDEP}] + sys-apps/pciutils +" + +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 + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/example.toml config.toml + # Create the kernel preinst.d directory if it doesn't exist + # Install the kernel preinst.d hook + exeinto /usr/lib/kernel/preinst.d + doexe hooks/installkernel/51-ugrd.install + exeinto /usr/lib/kernel/install.d + doexe hooks/kernel-install/51-ugrd.install + # Install bash autocomplete script + dobashcomp completion/ugrd + dozshcomp completion/_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 + ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the" + ewarn "'initrd_generator' in /usr/lib/kernel/install.conf." +} |