X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=proc_sys_remount.patch;h=9dc6e4eb1c6402487709b6990d5f60c50c79cb87;hb=b209f50dd69f467ee77559898c087669c1254b39;hp=38b2ef4424fa32db468492252c986465b85cf295;hpb=263da8e73c0fff727fcf218c7caf4b7e8c0e19e1;p=packages%2Fdracut.git diff --git a/proc_sys_remount.patch b/proc_sys_remount.patch index 38b2ef4..9dc6e4e 100644 --- a/proc_sys_remount.patch +++ b/proc_sys_remount.patch @@ -1,7 +1,7 @@ -diff -urpa dracut-047.orig/modules.d/99base/init.sh dracut-047/modules.d/99base/init.sh ---- dracut-047.orig/modules.d/99base/init.sh 2018-02-19 09:00:33.000000000 +0000 -+++ dracut-047/modules.d/99base/init.sh 2018-03-15 12:11:57.060977050 +0000 -@@ -277,6 +277,26 @@ getarg 'rd.break=cleanup' -d 'rdbreak=cl +diff -urpa dracut-056.orig/modules.d/99base/init.sh dracut-056/modules.d/99base/init.sh +--- dracut-056.orig/modules.d/99base/init.sh 2022-02-18 12:32:53.000000000 +0100 ++++ dracut-056/modules.d/99base/init.sh 2022-08-28 19:12:37.568702916 +0200 +@@ -271,6 +271,26 @@ getarg 'rd.break=cleanup' -d 'rdbreak=cl source_hook cleanup # By the time we get here, the root filesystem should be mounted. @@ -25,6 +25,6 @@ diff -urpa dracut-047.orig/modules.d/99base/init.sh dracut-047/modules.d/99base/ +mount -o remount,$procopts /proc 2>&1 +mount -o remount,$sysopts /sys 2>&1 + - # Try to find init. + # Try to find init. for i in "$(getarg real_init=)" "$(getarg init=)" $(getargs rd.distroinit=) /sbin/init; do [ -n "$i" ] || continue