mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-kernel/ugrd: moved to ::gentoo
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
DIST ugrd-1.11.2.tar.gz 63195 BLAKE2B 059d2e734feb62f028da0ae004f538599557666863608e9e7fecc73b5db1a17e075c7753a57d1692a14d834071aa0434e47255e94a4fb085f18bda7e984f2adb SHA512 26a87ba78263ead981857dd9b9e1bdadc78caf2ce45bc94fe7556c142208d5c89bad9650cfcccea4b4b87b2c19e68f707c3b2c4cd16021c6e3c977119e37f5d6
|
||||
DIST ugrd-1.12.0.tar.gz 63609 BLAKE2B 1d5938d6b15b0594ea874909fbde508222609cbd84a4d04880a82f508f7406a723a2cccc57b25b79f489147695009c54f2b5cd35d0fd977422bac3258a85c6ef SHA512 153e47f8779c9a4cdcc42834e3741a79a81e2d7ba4524a268909cecb0c35033e70298a682e424daa23d5ff73b7e04580e35c2f6c9a1105ad310dcadb755ec89b
|
||||
DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
|
||||
DIST ugrd-1.2.2.tar.gz 49312 BLAKE2B 819457ae44cb278b93ef24af5e0aa2e23bf2d31d07fccec86e597f658a5cb13aad7838b08df644090417719402673b63087d27b6edbdb46dea04b98b48d26fb0 SHA512 6348458708406408973534ac5f15f8f9f6d9427bbac48443f7ff362bb97627be6288ba2d138355f92fc1c79a4eb5e51081485adb051cadf523a58f1ef618667e
|
||||
DIST ugrd-1.3.8.tar.gz 50142 BLAKE2B 0a61977eb6c0fb6af31db445061385057acf825b4fd300aecda25b70a3ee0ce941c34a2c4d8a712e5d737c4aa2a01f0eb6e5e4dfabc4cd4436f343356d1890ea SHA512 95f5b9b2ea60409b6e5f33e813c7a5c4c8c2613c724b15d9a2b482fd8dd4eb59a209473cade9496fb901f633c3a06357a2cd9477cc3de1f2e2f759162065eb6e
|
||||
DIST ugrd-1.4.0.tar.gz 50372 BLAKE2B aa5b253d78f82d9a35d812d8090441e7c068c048530a5a4e27c6dd0e15d4e3c4b59582311043a5a55904b09c8468d2600c2548e32e1c918b5f7db45c367e9653 SHA512 020eaae8659f5143a63c122fe6f30ed48b231f96d8ae9eb4f3c2861684d9dbe8999fcc5d6d7fa68d473bd565089f96a36f3fa01c61f8113955eac2aef1f3fe2c
|
||||
DIST ugrd-1.4.2.tar.gz 50984 BLAKE2B 5b69cbaaefdcfe5b427f781806a58b39e6539b7f790e7ab1c6d1e72b3bd904d2f9a44c60079400266e7a8b88d7d7b0de2932fe93cf07739e62dbcc8658179f85 SHA512 8d63d782da7cd6ea6c0342ab46190af66c564cd73601eee1da514f8a52722d86212678f70d5b847432bc9c4c133f6cdf06a7b9e0fc2eed7dc806b112e23ddefa
|
||||
DIST ugrd-1.5.1.tar.gz 51574 BLAKE2B 5058e515e3d9aa543eb9ddd51335a5aa197ddf79395a193a4a4440706c2d940e77a0a26d470fc1ae86965d605e9889004d404e6ab5a4e1b4c12aaac92b872d2d SHA512 0a83180ed2947ce71cfb91c0fe65ddf20a3cbcb7f98f04efb4a95f904489153cb2e32e7efdb85c8ded8c4f29d95361bb7dc93e7eba72e74f1531c91aa03c1912
|
||||
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
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev@pyl.onl</email>
|
||||
<name>Zen</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">desultory/ugrd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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.4[${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/52-ugrd.install
|
||||
exeinto /usr/lib/kernel/install.d
|
||||
doexe hooks/kernel-install/52-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
|
||||
optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
|
||||
ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the"
|
||||
ewarn "'initrd_generator' in /etc/kernel/install.conf."
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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.2.1[${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/52-ugrd.install
|
||||
exeinto /usr/lib/kernel/install.d
|
||||
doexe hooks/kernel-install/52-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
|
||||
optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
|
||||
ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the"
|
||||
ewarn "'initrd_generator' in /etc/kernel/install.conf."
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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.2.1[${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/52-ugrd.install
|
||||
exeinto /usr/lib/kernel/install.d
|
||||
doexe hooks/kernel-install/52-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
|
||||
optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
|
||||
ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the"
|
||||
ewarn "'initrd_generator' in /etc/kernel/install.conf."
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
# 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
|
||||
|
||||
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
|
||||
>=dev-python/zenlib-2.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycpio-1.0.0[${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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/51-ugrd.install
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
>=dev-python/zenlib-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycpio-1.0.0[${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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/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
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
>=dev-python/zenlib-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycpio-1.0.0[${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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/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
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
>=dev-python/zenlib-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycpio-1.0.0[${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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/installkernel/51-ugrd.install
|
||||
exeinto /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
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
>=dev-python/zenlib-2.1.1[${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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/installkernel/51-ugrd.install
|
||||
exeinto /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
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# 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"
|
||||
|
||||
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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/installkernel/51-ugrd.install
|
||||
exeinto /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
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# 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"
|
||||
|
||||
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
|
||||
keepdir /etc/kernel/preinst.d
|
||||
exeinto /etc/kernel/preinst.d
|
||||
doexe hooks/installkernel/51-ugrd.install
|
||||
exeinto /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
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# 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."
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# 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 git-r3
|
||||
|
||||
DESCRIPTION="Python based initramfs generator with TOML defintions"
|
||||
HOMEPAGE="https://github.com/desultory/ugrd"
|
||||
EGIT_REPO_URI="https://github.com/desultory/${PN}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycpio-9999[${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/52-ugrd.install
|
||||
exeinto /usr/lib/kernel/install.d
|
||||
doexe hooks/kernel-install/52-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
|
||||
optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
|
||||
ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the"
|
||||
ewarn "'initrd_generator' in /etc/kernel/install.conf."
|
||||
}
|
||||
Reference in New Issue
Block a user