public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "George Zenner" <dev@pyl.onl>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ugrd/
Date: Mon, 20 May 2024 22:59:32 +0000 (UTC)	[thread overview]
Message-ID: <1716245957.8c04ba9740d500227c14c3cd3c63c3f7a59766b5.dev@gentoo> (raw)

commit:     8c04ba9740d500227c14c3cd3c63c3f7a59766b5
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Mon May 20 22:59:17 2024 +0000
Commit:     George Zenner <dev <AT> pyl <DOT> onl>
CommitDate: Mon May 20 22:59:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c04ba97

sys-kernel/ugrd: Add 9999 ebuild

Signed-off-by: Zen <z <AT> pyl.onl>

 sys-kernel/ugrd/ugrd-9999.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
new file mode 100644
index 0000000000..fe1d076ecd
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -0,0 +1,50 @@
+# 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"
+KEYWORDS=""
+
+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
+}


             reply	other threads:[~2024-05-20 22:59 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-20 22:59 George Zenner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-15 19:26 [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ugrd/ Andrew Ammerlaan
2024-06-12  4:37 George Zenner
2024-06-09 23:31 George Zenner
2024-06-09 21:12 George Zenner
2024-06-04  1:17 George Zenner
2024-06-01 17:52 George Zenner
2024-05-30 22:54 George Zenner
2024-05-30 19:28 George Zenner
2024-05-30  0:17 George Zenner
2024-05-29 21:13 George Zenner
2024-05-29 19:31 George Zenner
2024-05-28  4:12 George Zenner
2024-05-28  3:01 George Zenner
2024-05-27  0:55 George Zenner
2024-05-26 22:47 George Zenner
2024-05-26 20:02 George Zenner
2024-05-22  3:01 George Zenner
2024-05-21 21:29 Quincy Fleming
2024-05-20 22:55 George Zenner
2024-05-20  3:35 George Zenner
2024-05-13  3:57 George Zenner
2024-05-13  3:52 George Zenner
2024-05-10 20:42 George Zenner
2024-05-09 15:39 George Zenner
2024-05-07 12:49 George Zenner
2024-05-06 18:29 George Zenner
2024-05-06 16:58 George Zenner
2024-05-06 16:58 George Zenner
2024-05-05 20:06 George Zenner
2024-05-05 15:54 George Zenner
2024-05-05 13:15 Julien Roy
2024-05-04  3:02 George Zenner
2024-04-30  1:32 George Zenner
2024-04-28 22:46 George Zenner
2024-04-27 20:28 George Zenner
2024-04-27 19:43 George Zenner
2024-04-27 18:42 George Zenner
2024-04-20  1:02 George Zenner
2024-03-25  3:59 George Zenner
2024-03-09 18:30 George Zenner
2024-01-21  1:21 George Zenner
2024-01-11 20:58 George Zenner
2024-01-01  2:23 Joe Kappus
2024-01-01  2:16 George Zenner
2023-12-29  0:53 George Zenner
2023-12-28 23:17 George Zenner
2023-12-27  3:43 George Zenner
2023-12-25 23:20 George Zenner
2023-12-25 22:52 George Zenner
2023-12-25  4:58 George Zenner
2023-12-25  1:10 George Zenner
2023-12-24 23:36 George Zenner
2023-12-24 21:39 George Zenner
2023-12-24 21:37 George Zenner
2023-12-24 21:36 George Zenner
2023-12-23 23:32 George Zenner
2023-12-23 23:08 George Zenner
2023-12-23 20:25 George Zenner
2023-12-23  7:24 Viorel Munteanu
2023-12-23  5:21 George Zenner
2023-12-23  0:01 George Zenner
2023-12-06  8:09 Viorel Munteanu
2023-12-04 20:16 George Zenner
2023-12-03 21:18 George Zenner
2023-12-03 21:16 George Zenner
2023-12-03  3:31 George Zenner
2023-12-01 19:43 George Zenner
2023-12-01 18:39 George Zenner
2023-11-25  4:44 George Zenner
2023-11-25  1:24 George Zenner
2023-11-24 20:15 George Zenner
2023-11-24 19:56 George Zenner
2023-11-24 18:35 George Zenner
2023-11-24  3:13 George Zenner
2023-11-23 23:09 George Zenner
2023-11-23 22:15 George Zenner
2023-11-23 17:06 George Zenner
2023-11-21 22:51 George Zenner
2023-11-19 23:02 George Zenner
2023-11-18 19:52 George Zenner
2023-11-08  2:06 George Zenner
2023-11-06 16:52 George Zenner
2023-11-05  0:41 George Zenner
2023-11-02 16:02 George Zenner
2023-11-02 15:47 George Zenner
2023-11-01 18:06 George Zenner
2023-10-31 22:35 George Zenner
2023-10-31 22:24 George Zenner
2023-10-31 22:24 George Zenner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716245957.8c04ba9740d500227c14c3cd3c63c3f7a59766b5.dev@gentoo \
    --to=dev@pyl.onl \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox