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

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