From 88e1dd1c2ab49f232fed596927c15c3781fc6b28 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Fri, 28 Aug 2020 17:22:56 +0200 Subject: defaults/linuxrc: Add gksosreport To help debugging, 'gksosreport' was added (idea was borrowed from dracut): Whenever a user run into a problem and get to a rescue shell, running "gksosreport" will generate /run/initramfs/gksosreport.txt containing useful debug information suitable to attach to bug reports. Signed-off-by: Thomas Deutschmann --- defaults/linuxrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'defaults/linuxrc') diff --git a/defaults/linuxrc b/defaults/linuxrc index 061d3e0..e96b637 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -1071,7 +1071,7 @@ then grep -Fq squashfs /proc/filesystems || \ bad_msg "HINT: Your kernel does not know filesystem \"squashfs\"." fi - run_shell + run_emergency_shell } fi @@ -1188,7 +1188,7 @@ FSTAB ) || { bad_msg "Copying failed, dropping into a shell." - run_shell + run_emergency_shell } # Now we do the links. -- cgit v1.2.3-65-gdbad