Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dracut: move network-legacy into dracut-network package
@ 2022-12-12  5:24 LaszloGombos
  2022-12-13  3:48 ` LaszloGombos
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-12  5:24 UTC (permalink / raw)
  To: ml

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

There is a new 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From 1210aa243036a0ddde9946921c37af46dbcf26c6 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: move network-legacy into dracut-network package

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module,
 which in turn depends on the systemd dracut module
---
 srcpkgs/dracut/template | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..bdc5cf2ef560 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -44,6 +44,14 @@ post_install() {
 
 	# We don't need the systemd stuff.
 	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+
 	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
 	rm -rf ${DESTDIR}/usr/lib/kernel
 }
@@ -52,7 +60,7 @@ dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
@ 2022-12-13  3:48 ` LaszloGombos
  2022-12-13  3:55 ` ahesford
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-13  3:48 UTC (permalink / raw)
  To: ml

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

New comment by LaszloGombos on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1347704472

Comment:
CC @ahesford

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
  2022-12-13  3:48 ` LaszloGombos
@ 2022-12-13  3:55 ` ahesford
  2022-12-13 18:44 ` [PR REVIEW] " paper42
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2022-12-13  3:55 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1347707554

Comment:
In principle, I'm not opposed to these changes. However, I am not using dracut anymore---let alone its network package---and have no means to test this.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
  2022-12-13  3:48 ` LaszloGombos
  2022-12-13  3:55 ` ahesford
@ 2022-12-13 18:44 ` paper42
  2022-12-13 20:10 ` [PR PATCH] [Updated] " LaszloGombos
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-12-13 18:44 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#discussion_r1047592832

Comment:
```suggestion
	# We don't need the systemd stuff.
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*

	# systemd dependent additional dracut modules
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*connman
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked

	rm ${DESTDIR}/usr/share/man/man8/*.service.*
	rm -r ${DESTDIR}/usr/lib/kernel
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (2 preceding siblings ...)
  2022-12-13 18:44 ` [PR REVIEW] " paper42
@ 2022-12-13 20:10 ` LaszloGombos
  2022-12-13 23:02 ` LaszloGombos
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-13 20:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From 1210aa243036a0ddde9946921c37af46dbcf26c6 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH 1/2] dracut: move network-legacy into dracut-network package

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module,
 which in turn depends on the systemd dracut module
---
 srcpkgs/dracut/template | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..bdc5cf2ef560 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -44,6 +44,14 @@ post_install() {
 
 	# We don't need the systemd stuff.
 	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+
 	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
 	rm -rf ${DESTDIR}/usr/lib/kernel
 }
@@ -52,7 +60,7 @@ dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

From 7252bf1e4dff407f7c0afbb70fd955a02729916d Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Tue, 13 Dec 2022 15:10:21 -0500
Subject: [PATCH 2/2] Update srcpkgs/dracut/template

Co-authored-by: Michal Vasilek <michal@vasilek.cz>
---
 srcpkgs/dracut/template | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index bdc5cf2ef560..8571d7db413e 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -43,17 +43,17 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
 
 	# systemd dependent additional dracut modules
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*connman
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
 
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (3 preceding siblings ...)
  2022-12-13 20:10 ` [PR PATCH] [Updated] " LaszloGombos
@ 2022-12-13 23:02 ` LaszloGombos
  2022-12-13 23:59 ` LaszloGombos
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-13 23:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From 1210aa243036a0ddde9946921c37af46dbcf26c6 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH 1/2] dracut: move network-legacy into dracut-network package

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module,
 which in turn depends on the systemd dracut module
---
 srcpkgs/dracut/template | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..bdc5cf2ef560 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -44,6 +44,14 @@ post_install() {
 
 	# We don't need the systemd stuff.
 	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+
 	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
 	rm -rf ${DESTDIR}/usr/lib/kernel
 }
@@ -52,7 +60,7 @@ dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

From 4e54b655e004da64ccef2a3699f8d20a22f3ec86 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Tue, 13 Dec 2022 15:10:21 -0500
Subject: [PATCH 2/2] Update srcpkgs/dracut/template

Co-authored-by: Michal Vasilek <michal@vasilek.cz>
---
 srcpkgs/dracut/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index bdc5cf2ef560..3075edd34aed 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -43,17 +43,16 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
 
 	# systemd dependent additional dracut modules
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*bluetooth
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*connman
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
 
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (4 preceding siblings ...)
  2022-12-13 23:02 ` LaszloGombos
@ 2022-12-13 23:59 ` LaszloGombos
  2022-12-14 23:48 ` LaszloGombos
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-13 23:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From bfe2e92e708e97daa4ce68d992767cb345b048c8 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
---
 srcpkgs/dracut/template | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..3075edd34aed 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,16 +43,23 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (5 preceding siblings ...)
  2022-12-13 23:59 ` LaszloGombos
@ 2022-12-14 23:48 ` LaszloGombos
  2022-12-15 11:44 ` LaszloGombos
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-14 23:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From d784379ad40b548b5e10418692db7386bb7e8ec4 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
 - remove s390x architecture dependent modules
---
 srcpkgs/dracut/template | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..ade6ae683588 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,16 +43,30 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*connman
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-wicked
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (6 preceding siblings ...)
  2022-12-14 23:48 ` LaszloGombos
@ 2022-12-15 11:44 ` LaszloGombos
  2022-12-15 13:34 ` LaszloGombos
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-15 11:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From 7f59db1a8828e5049b8e5abe26af905dd8fe70ba Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
 - remove s390x architecture dependent modules
---
 srcpkgs/dracut/template | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..c2d4179b5351 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,16 +43,28 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
 			95nbd 95nfs 95zfcp 95znet; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (7 preceding siblings ...)
  2022-12-15 11:44 ` LaszloGombos
@ 2022-12-15 13:34 ` LaszloGombos
  2022-12-15 13:55 ` LaszloGombos
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-15 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From 419cf20abd1c95fb8088f3cadc1b2df28124df7a Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
 - remove s390x architecture dependent modules
---
 srcpkgs/dracut/template | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..d6650a349674 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,17 +43,29 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
-			95nbd 95nfs 95zfcp 95znet; do
+		for f in 35network-legacy 40network 90livenet 95fcoe 95iscsi \
+			95nbd 95nfs; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done
 	}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (8 preceding siblings ...)
  2022-12-15 13:34 ` LaszloGombos
@ 2022-12-15 13:55 ` LaszloGombos
  2022-12-18 20:01 ` LaszloGombos
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-15 13:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From e17bef2bd8b22fcdd8915120bc5ae47eebc569bb Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
 - remove s390x architecture dependent modules
---
 srcpkgs/dracut/template | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..68145492a7ea 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,17 +43,29 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*dbus*
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*network-manager
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
-			95nbd 95nfs 95zfcp 95znet; do
+		for f in 35network-legacy 40network 90livenet \
+			95fcoe 95iscsi 95nbd 95nfs; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done
 	}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (9 preceding siblings ...)
  2022-12-15 13:55 ` LaszloGombos
@ 2022-12-18 20:01 ` LaszloGombos
  2022-12-18 23:17 ` LaszloGombos
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-18 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L35

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

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

From a83e22bdba1c06bb07719eb446c2c264a6cd3c81 Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Mon, 12 Dec 2022 05:17:53 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
 - remove s390x architecture dependent modules
---
 srcpkgs/dracut/template | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..f490f37b3cf0 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,17 +43,32 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	for f in 06rngd 06dbus-broker 06dbus-daemon 09dbus \
+		35network-manager 35network-wicked 80lvmmerge \
+		99memstrack 99squash; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
-			95nbd 95nfs 95zfcp 95znet; do
+		for f in 35network-legacy 40network 90livenet \
+			95fcoe 95iscsi 95nbd 95nfs; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done
 	}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (10 preceding siblings ...)
  2022-12-18 20:01 ` LaszloGombos
@ 2022-12-18 23:17 ` LaszloGombos
  2022-12-20 14:53 ` LaszloGombos
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-18 23:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 771 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/41031

dracut: move network-legacy into dracut-network package
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L34

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

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

From 57bdc39c06fca135a58368ea494419a527a1abbd Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Sun, 18 Dec 2022 23:16:51 +0000
Subject: [PATCH] dracut: add network-legacy to dracut-network

Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the
 dbus dracut module, which in turn depends
 on the systemd dracut module
---
 srcpkgs/dracut/template | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 001a4c52c023..f490f37b3cf0 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -2,7 +2,7 @@
 pkgname=dracut
 reverts="056_1"
 version=053
-revision=5
+revision=6
 build_style=configure
 configure_args="--prefix=/usr --sysconfdir=/etc"
 conf_files="/etc/dracut.conf"
@@ -43,17 +43,32 @@ post_install() {
 	vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
 
 	# We don't need the systemd stuff.
-	rm -rf ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
-	rm -f ${DESTDIR}/usr/share/man/man8/*.service.*
-	rm -rf ${DESTDIR}/usr/lib/kernel
+	rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
+
+	# systemd dependent additional dracut modules
+	for f in 06rngd 06dbus-broker 06dbus-daemon 09dbus \
+		35network-manager 35network-wicked 80lvmmerge \
+		99memstrack 99squash; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	# don't need s390x architecture dependent dracut modules
+	for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
+		95dasd_rules 95dcssblk 95qeth_rules 95zfcp \
+		95zfcp_rules 95znet; do
+		rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
+	done
+
+	rm ${DESTDIR}/usr/share/man/man8/*.service.*
+	rm -r ${DESTDIR}/usr/lib/kernel
 }
 
 dracut-network_package() {
 	depends="dhclient ${sourcepkg}-${version}_${revision}"
 	short_desc+=" - network modules"
 	pkg_install() {
-		for f in 40network 90livenet 95fcoe 95iscsi \
-			95nbd 95nfs 95zfcp 95znet; do
+		for f in 35network-legacy 40network 90livenet \
+			95fcoe 95iscsi 95nbd 95nfs; do
 			vmove usr/lib/dracut/modules.d/${f}
 		done
 	}

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (11 preceding siblings ...)
  2022-12-18 23:17 ` LaszloGombos
@ 2022-12-20 14:53 ` LaszloGombos
  2022-12-23 18:21 ` LaszloGombos
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-20 14:53 UTC (permalink / raw)
  To: ml

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

New comment by LaszloGombos on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1347704472

Comment:
CC @ahesford @leahneukirchen 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (12 preceding siblings ...)
  2022-12-20 14:53 ` LaszloGombos
@ 2022-12-23 18:21 ` LaszloGombos
  2023-01-04  2:40 ` LaszloGombos
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2022-12-23 18:21 UTC (permalink / raw)
  To: ml

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

New comment by LaszloGombos on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1347704472

Comment:
CC @ahesford @leahneukirchen @motorto 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (13 preceding siblings ...)
  2022-12-23 18:21 ` LaszloGombos
@ 2023-01-04  2:40 ` LaszloGombos
  2023-01-06 15:13 ` zdykstra
  2023-01-17 13:08 ` [PR PATCH] [Merged]: " ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: LaszloGombos @ 2023-01-04  2:40 UTC (permalink / raw)
  To: ml

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

New comment by LaszloGombos on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1370426762

Comment:
Happy New Year !

Is there anything else I can help with to move this forward ? 

After this landed, I can help updating dracut to v59 as well (Gentoo and Alpine are already on Dracut v59).

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (14 preceding siblings ...)
  2023-01-04  2:40 ` LaszloGombos
@ 2023-01-06 15:13 ` zdykstra
  2023-01-17 13:08 ` [PR PATCH] [Merged]: " ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: zdykstra @ 2023-01-06 15:13 UTC (permalink / raw)
  To: ml

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

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/pull/41031#issuecomment-1373755987

Comment:
I built a test initramfs that uses dracut-networking and dracut-crypt-ssh that worked as expected when booting a test VM under the ZFSBootMenu test framework. This seems fine to me.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Merged]: dracut: move network-legacy into dracut-network package
  2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
                   ` (15 preceding siblings ...)
  2023-01-06 15:13 ` zdykstra
@ 2023-01-17 13:08 ` ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2023-01-17 13:08 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

dracut: move network-legacy into dracut-network package
https://github.com/void-linux/void-packages/pull/41031

Description:
Other changes:
 - remove more systemd dependent modules
 - network-manager module depends on the dbus dracut module, which in turn depends on the systemd dracut module

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

In case it helps to test and review - alpine dracut package has some similar changes - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/dracut/APKBUILD#L34

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-01-17 13:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  5:24 [PR PATCH] dracut: move network-legacy into dracut-network package LaszloGombos
2022-12-13  3:48 ` LaszloGombos
2022-12-13  3:55 ` ahesford
2022-12-13 18:44 ` [PR REVIEW] " paper42
2022-12-13 20:10 ` [PR PATCH] [Updated] " LaszloGombos
2022-12-13 23:02 ` LaszloGombos
2022-12-13 23:59 ` LaszloGombos
2022-12-14 23:48 ` LaszloGombos
2022-12-15 11:44 ` LaszloGombos
2022-12-15 13:34 ` LaszloGombos
2022-12-15 13:55 ` LaszloGombos
2022-12-18 20:01 ` LaszloGombos
2022-12-18 23:17 ` LaszloGombos
2022-12-20 14:53 ` LaszloGombos
2022-12-23 18:21 ` LaszloGombos
2023-01-04  2:40 ` LaszloGombos
2023-01-06 15:13 ` zdykstra
2023-01-17 13:08 ` [PR PATCH] [Merged]: " ahesford

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).