aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-28 17:22:56 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-28 18:35:59 +0200
commit88e1dd1c2ab49f232fed596927c15c3781fc6b28 (patch)
tree487c3c67b533396815cd96b9c5ec727f71249f3c /defaults/linuxrc
parentdefaults/linuxrc: Try to determine filesystem type (diff)
downloadgenkernel-88e1dd1c2ab49f232fed596927c15c3781fc6b28.tar.gz
genkernel-88e1dd1c2ab49f232fed596927c15c3781fc6b28.tar.bz2
genkernel-88e1dd1c2ab49f232fed596927c15c3781fc6b28.zip
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 <whissi@gentoo.org>
Diffstat (limited to 'defaults/linuxrc')
-rw-r--r--defaults/linuxrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 061d3e01..e96b6375 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.