summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian-initramfs-post-update.patch2
-rw-r--r--debian/patches/rpc-user31
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/udevsettle2
-rw-r--r--debian/patches/vconsole12
5 files changed, 2 insertions, 47 deletions
diff --git a/debian/patches/debian-initramfs-post-update.patch b/debian/patches/debian-initramfs-post-update.patch
index e2b5da8..b8aeafe 100644
--- a/debian/patches/debian-initramfs-post-update.patch
+++ b/debian/patches/debian-initramfs-post-update.patch
@@ -9,7 +9,7 @@ Last-Update: 2022-11-17
--- a/dracut.sh
+++ b/dracut.sh
-@@ -2685,4 +2685,10 @@
+@@ -2673,4 +2673,10 @@
fi
fi
diff --git a/debian/patches/rpc-user b/debian/patches/rpc-user
deleted file mode 100644
index e9a8b8e..0000000
--- a/debian/patches/rpc-user
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/modules.d/95nfs/nfs-start-rpc.sh
-+++ b/modules.d/95nfs/nfs-start-rpc.sh
-@@ -9,7 +9,7 @@
- command -v portmap > /dev/null && [ -z "$(pidof portmap)" ] && portmap
- if command -v rpcbind > /dev/null && [ -z "$(pidof rpcbind)" ]; then
- mkdir -p /run/rpcbind
-- chown rpc:rpc /run/rpcbind
-+ chown _rpc:root /run/rpcbind
- rpcbind
- fi
-
---- a/modules.d/95nfs/parse-nfsroot.sh
-+++ b/modules.d/95nfs/parse-nfsroot.sh
-@@ -126,5 +126,5 @@
- # rpc user needs to be able to write to this directory to save the warmstart
- # file
- mkdir -p /var/lib/rpcbind
--chown rpc:rpc /var/lib/rpcbind
-+chown _rpc:root /var/lib/rpcbind
- chmod 770 /var/lib/rpcbind
---- a/modules.d/95nfs/module-setup.sh
-+++ b/modules.d/95nfs/module-setup.sh
-@@ -125,7 +125,7 @@
-
- # Rather than copy the passwd file in, just set a user for rpcbind
- # We'll save the state and restart the daemon from the root anyway
-- grep -E '^nfsnobody:|^rpc:|^rpcuser:' "$dracutsysrootdir"/etc/passwd >> "$initdir/etc/passwd"
-+ grep -E '^nfsnobody:|^_rpc:|^rpcuser:' "$dracutsysrootdir"/etc/passwd >> "$initdir/etc/passwd"
- grep -E '^nogroup:|^rpc:|^nobody:' "$dracutsysrootdir"/etc/group >> "$initdir/etc/group"
-
- dracut_need_initqueue
diff --git a/debian/patches/series b/debian/patches/series
index 901d431..6cbc151 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,3 @@
-rpc-user
udevsettle
nm-path
-vconsole
debian-initramfs-post-update.patch
diff --git a/debian/patches/udevsettle b/debian/patches/udevsettle
index 3c14803..49246e2 100644
--- a/debian/patches/udevsettle
+++ b/debian/patches/udevsettle
@@ -1,6 +1,6 @@
--- a/modules.d/99base/init.sh
+++ b/modules.d/99base/init.sh
-@@ -157,6 +157,7 @@
+@@ -159,6 +159,7 @@
# then the rest
udevadm trigger --type=subsystems --action=add > /dev/null 2>&1
udevadm trigger --type=devices --action=add > /dev/null 2>&1
diff --git a/debian/patches/vconsole b/debian/patches/vconsole
deleted file mode 100644
index 569b375..0000000
--- a/debian/patches/vconsole
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/modules.d/00systemd/module-setup.sh
-+++ b/modules.d/00systemd/module-setup.sh
-@@ -158,7 +158,8 @@
- emergency.target \
- rescue.target; do
- [[ -f "$systemdsystemunitdir"/$i ]] || continue
-- $SYSTEMCTL -q --root "$initdir" add-wants "$i" systemd-vconsole-setup.service
-+ # $SYSTEMCTL -q --root "$initdir" add-wants "$i" systemd-vconsole-setup.service
-+ true
- done
-
- mkdir -p "$initdir/etc/systemd"