X-Git-Url: https://git.tld-linux.org/?p=packages%2Fdracut.git;a=blobdiff_plain;f=proc_sys_remount.patch;h=38b2ef4424fa32db468492252c986465b85cf295;hp=ca4ee928839cf5ffe38528d3ac8ad83159d623ec;hb=HEAD;hpb=34b00461e9fcf38b2649405ae0cd0fc9ffcbf28e diff --git a/proc_sys_remount.patch b/proc_sys_remount.patch index ca4ee92..9dc6e4e 100644 --- a/proc_sys_remount.patch +++ b/proc_sys_remount.patch @@ -1,7 +1,7 @@ -diff -ur dracut-044.orig/modules.d/99base/init.sh dracut-044/modules.d/99base/init.sh ---- dracut-044.orig/modules.d/99base/init.sh 2015-11-25 13:22:28.000000000 +0000 -+++ dracut-044/modules.d/99base/init.sh 2015-11-30 13:00:40.396305000 +0000 -@@ -269,6 +269,26 @@ +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 -ur dracut-044.orig/modules.d/99base/init.sh dracut-044/modules.d/99base/in +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