all: Drop SteamOS text references

Remove Steam/SteamOS references from things like headers,
journal error messages, etc.

While at it, also improve wording in some points.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
This commit is contained in:
Guilherme G. Piccoli
2022-11-24 17:18:21 -03:00
parent 48fb326733
commit ab0e82aed6
7 changed files with 34 additions and 33 deletions

View File

@ -32,8 +32,8 @@ grub_update() {
sync "/boot/grub/grub.cfg" 2>/dev/null
sync "/efi/EFI/steamos/grub.cfg" 2>/dev/null
logger "kdump-steamos: kdump cannot work, no reserved memory in this boot..."
logger "kdump-steamos: but we automatically set crashkernel for next boot."
logger "kdump: kexec cannot work, no reserved memory in this boot..."
logger "kdump: but we automatically set crashkernel for next boot."
exit 0
fi
@ -42,7 +42,7 @@ grub_update() {
update-grub 1>/dev/null
sync "/boot/grub/grub.cfg" 2>/dev/null
sync "/efi/EFI/steamos/grub.cfg" 2>/dev/null
logger "kdump-steamos: clearing crashkernel memory previously set..."
logger "kdump: clearing crashkernel memory previously set..."
fi
fi
}
@ -71,7 +71,7 @@ cleanup_unused_initrd() {
KVER="${FNAME#kdump-initrd-}"
if ! grep -q "${KVER}" "${INSTALLED_KERNELS}" ; then
rm -f "${KDUMP_FOLDER}/${FNAME}.img"
logger "kdump-steamos: removed unused file \"${FNAME}.img\""
logger "kdump: removed unused file \"${FNAME}.img\""
fi
done
@ -80,7 +80,7 @@ cleanup_unused_initrd() {
if [ ! -s "/usr/share/kdump/kdump.conf" ]; then
logger "kdump-steamos: /usr/share/kdump/kdump.conf is missing, aborting."
logger "kdump: /usr/share/kdump/kdump.conf is missing, aborting."
exit 0
fi
@ -126,12 +126,12 @@ if [ "${USE_PSTORE_RAM}" -eq 1 ]; then
if [ ${MEM_SIZE} -ge ${MEM_REQUIRED} ]; then
if modprobe ramoops mem_address=0x"${MEM_START}" mem_size=${MEM_REQUIRED} record_size=${RECORD_SIZE}; then
# If Pstore is set, update grub.cfg to avoid reserving crashkernel memory.
logger "kdump-steamos: pstore-RAM was loaded successfully"
logger "kdump: pstore-RAM was loaded successfully"
cleanup_unused_initrd
grub_update pstore
exit 0
fi
logger "kdump-steamos: pstore-RAM load failed...will try kdump"
logger "kdump: pstore-RAM load failed...will try kdump"
fi
# Fallback to kdump load - if we fail when configuring pstore, better
# trying kdump; in case we have crashkernel memory reserved, lucky us.
@ -157,7 +157,7 @@ if [ ! -s "${INITRD_FNAME}" ]; then
fi
if ! kexec -s -p "${VMLINUX#*BOOT_IMAGE=}" --initrd "${INITRD_FNAME}" --append="${KDUMP_CMDLINE}"; then
logger "kdump-steamos: kdump load failed"
logger "kdump: kexec load failed"
exit 0
fi
logger "kdump-steamos: kdump was loaded successfully"
logger "kdump: panic kexec loaded successfully"