commit:     c9c2c64521bc82925ca230a8a538b1117e8fb4dc
Author:     Laszlo Gombos <laszlo.gombos <AT> gmail <DOT> com>
AuthorDate: Fri Jul 14 01:10:37 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 19:40:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c2c645

sys-kernel/dracut: update optfeatures

Introduce optfeature for Squashfs, TPM 2.0 TSS, Bluetooth,
network NVMe and BIOS-given device names.

Add additional dependency required for the dmraid dracut module.

Signed-off-by: Laszlo Gombos <laszlo.gombos <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31871
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-kernel/dracut/dracut-057-r3.ebuild | 10 +++++++++-
 sys-kernel/dracut/dracut-059-r2.ebuild | 10 +++++++++-
 sys-kernel/dracut/dracut-9999.ebuild   | 10 +++++++++-
 3 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/sys-kernel/dracut/dracut-057-r3.ebuild 
b/sys-kernel/dracut/dracut-057-r3.ebuild
index f226bb26ec13..84f1aaa2c235 100644
--- a/sys-kernel/dracut/dracut-057-r3.ebuild
+++ b/sys-kernel/dracut/dracut-057-r3.ebuild
@@ -157,10 +157,13 @@ pkg_postinst() {
        optfeature \
                "Allows use of dash instead of default bash (on your own risk)" 
\
                app-shells/dash
+       optfeature \
+               "Allows use of busybox instead of default bash (on your own 
risk)" \
+               sys-apps/busybox
        optfeature "Support iSCSI" sys-block/open-iscsi
        optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
        optfeature "Support MD devices, also known as software RAID devices" \
-               sys-fs/mdadm
+               sys-fs/mdadm sys-fs/dmraid
        optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
        optfeature "Plymouth boot splash"  '>=sys-boot/plymouth-0.8.5-r5'
        optfeature "Support network block devices" sys-block/nbd
@@ -169,6 +172,11 @@ pkg_postinst() {
                "Install ssh and scp along with config files and specified 
keys" \
                virtual/openssh
        optfeature "Enable logging with rsyslog" app-admin/rsyslog
+       optfeature "Support Squashfs" sys-fs/squashfs-tools
+       optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
+       optfeature "Support Bluetooth (experimental)" net-wireless/bluez
+       optfeature "Support BIOS-given device names" sys-apps/biosdevname
+       optfeature "Support network NVMe" sys-apps/nvme-cli
        optfeature \
                "Enable rngd service to help generating entropy early during 
boot" \
                sys-apps/rng-tools

diff --git a/sys-kernel/dracut/dracut-059-r2.ebuild 
b/sys-kernel/dracut/dracut-059-r2.ebuild
index 5aa6cfb4a241..1fd75386ff36 100644
--- a/sys-kernel/dracut/dracut-059-r2.ebuild
+++ b/sys-kernel/dracut/dracut-059-r2.ebuild
@@ -156,10 +156,13 @@ pkg_postinst() {
        optfeature \
                "Allows use of dash instead of default bash (on your own risk)" 
\
                app-shells/dash
+       optfeature \
+               "Allows use of busybox instead of default bash (on your own 
risk)" \
+               sys-apps/busybox
        optfeature "Support iSCSI" sys-block/open-iscsi
        optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
        optfeature "Support MD devices, also known as software RAID devices" \
-               sys-fs/mdadm
+               sys-fs/mdadm sys-fs/dmraid
        optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
        optfeature "Plymouth boot splash"  '>=sys-boot/plymouth-0.8.5-r5'
        optfeature "Support network block devices" sys-block/nbd
@@ -168,6 +171,11 @@ pkg_postinst() {
                "Install ssh and scp along with config files and specified 
keys" \
                virtual/openssh
        optfeature "Enable logging with rsyslog" app-admin/rsyslog
+       optfeature "Support Squashfs" sys-fs/squashfs-tools
+       optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
+       optfeature "Support Bluetooth (experimental)" net-wireless/bluez
+       optfeature "Support BIOS-given device names" sys-apps/biosdevname
+       optfeature "Support network NVMe" sys-apps/nvme-cli
        optfeature \
                "Enable rngd service to help generating entropy early during 
boot" \
                sys-apps/rng-tools

diff --git a/sys-kernel/dracut/dracut-9999.ebuild 
b/sys-kernel/dracut/dracut-9999.ebuild
index 9e7be111f192..904e988502bc 100644
--- a/sys-kernel/dracut/dracut-9999.ebuild
+++ b/sys-kernel/dracut/dracut-9999.ebuild
@@ -155,10 +155,13 @@ pkg_postinst() {
        optfeature \
                "Allows use of dash instead of default bash (on your own risk)" 
\
                app-shells/dash
+       optfeature \
+               "Allows use of busybox instead of default bash (on your own 
risk)" \
+               sys-apps/busybox
        optfeature "Support iSCSI" sys-block/open-iscsi
        optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm]
        optfeature "Support MD devices, also known as software RAID devices" \
-               sys-fs/mdadm
+               sys-fs/mdadm sys-fs/dmraid
        optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
        optfeature "Plymouth boot splash"  '>=sys-boot/plymouth-0.8.5-r5'
        optfeature "Support network block devices" sys-block/nbd
@@ -167,6 +170,11 @@ pkg_postinst() {
                "Install ssh and scp along with config files and specified 
keys" \
                virtual/openssh
        optfeature "Enable logging with rsyslog" app-admin/rsyslog
+       optfeature "Support Squashfs" sys-fs/squashfs-tools
+       optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools
+       optfeature "Support Bluetooth (experimental)" net-wireless/bluez
+       optfeature "Support BIOS-given device names" sys-apps/biosdevname
+       optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq
        optfeature \
                "Enable rngd service to help generating entropy early during 
boot" \
                sys-apps/rng-tools

Reply via email to