From: Jo Zzsi Date: Sun, 8 Feb 2026 15:35:58 +0000 (-0500) Subject: chore(base): remove support for /dev/.initramfs X-Git-Tag: 110~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68382ddcbd217b3bc54bbf2e274d65c83617790c;p=thirdparty%2Fdracut-ng.git chore(base): remove support for /dev/.initramfs /dev/.initramfs was a fallback when /run is not available. This commit removes this legacy fallback support, which was only available in a non-systemd enviroment. Follow-up to dbad9f466 . --- diff --git a/modules.d/80base/init.sh b/modules.d/80base/init.sh index 36e7dbaf7..366481493 100755 --- a/modules.d/80base/init.sh +++ b/modules.d/80base/init.sh @@ -361,11 +361,7 @@ else fi debug_on -if ! [ -d "$NEWROOT"/run ]; then - NEWRUN=/dev/.initramfs - mkdir -m 0755 -p "$NEWRUN" - mount --rbind /run/initramfs "$NEWRUN" -else +if [ -d "$NEWROOT"/run ]; then mount --move /run "$NEWROOT"/run fi