Github messages for voidlinux
 help / color / mirror / Atom feed
From: LaszloGombos <LaszloGombos@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] dracut: remove ifcfg dracut module
Date: Thu, 02 Mar 2023 16:25:51 +0100	[thread overview]
Message-ID: <20230302152551.7d-o3CfUF1jxa9cYGVA7qIhtaSVBpd8iKtLiVDwe-3U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42539@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by LaszloGombos against master on the void-packages repository

https://github.com/LaszloGombos/void-packages master
https://github.com/void-linux/void-packages/pull/42539

dracut: remove ifcfg dracut module
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

Follow-up to https://github.com/void-linux/void-packages/pull/41716#issuecomment-1451141356


A patch file from https://github.com/void-linux/void-packages/pull/42539.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-42539.patch --]
[-- Type: text/x-diff, Size: 1876 bytes --]

From 2c63ac93b01a447539569cfe5acb7e303a17de65 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Thu, 2 Mar 2023 02:46:36 +0000
Subject: [PATCH] dracut: remove ifcfg dracut module

Other changes:
 - remove connman as it depends on systemd
 - move more network dependent modules to dracut-network package
---
 srcpkgs/dracut/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 52a0c38c91c8..436a6e29b156 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -1,7 +1,7 @@
 # Template file for 'dracut'
 pkgname=dracut
 version=059
-revision=2
+revision=3
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -52,7 +52,7 @@ post_install() {
 
 	# systemd dependent additional dracut modules
 	for f in 06rngd 06dbus-broker 06dbus-daemon 09dbus \
-		35network-manager 35network-wicked 80lvmmerge \
+		35connman 35network-manager 35network-wicked 80lvmmerge \
 		99memstrack 99squash; do
 		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
 	done
@@ -64,6 +64,9 @@ post_install() {
 		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
 	done
 
+	# ifcfg network-scripts dependent (RHEL-derived)
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/45ifcfg
+
 	rm ${DESTDIR}/usr/share/man/man8/*.service.*
 	rm -r ${DESTDIR}/usr/lib/kernel
 }
@@ -72,8 +75,9 @@ dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 35network-legacy 40network 90livenet \
-			95fcoe 95iscsi 95nbd 95nfs; do
+		for f in 35network-legacy 40network 45url-lib \
+			90kernel-network-modules 90qemu-net 90livenet \
+			95cifs 95fcoe 95fcoe-uefi 95iscsi 95nbd 95nfs 95ssh-client; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done
 	}

  parent reply	other threads:[~2023-03-02 15:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02  2:48 [PR PATCH] " LaszloGombos
2023-03-02  2:49 ` LaszloGombos
2023-03-02  2:49 ` LaszloGombos
2023-03-02  4:46 ` [PR PATCH] [Updated] " LaszloGombos
2023-03-02 15:25 ` LaszloGombos [this message]
2023-03-02 15:42 ` zdykstra
2023-03-18  2:20 ` LaszloGombos
2023-03-31 15:28 ` zdykstra
2023-05-06 14:08 ` [PR PATCH] [Merged]: " classabbyamp

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=20230302152551.7d-o3CfUF1jxa9cYGVA7qIhtaSVBpd8iKtLiVDwe-3U@z \
    --to=laszlogombos@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).