Ensure that non-SMP (single core) boots have time to detect devices
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
8250c9dc8e
commit
1c7ebef588
|
@ -234,6 +234,16 @@ grubby-deprecated
|
|||
# Disable default repositories (not riscv64 in upstream)
|
||||
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-modular fedora-cisco-openh264 updates-modular updates-testing-modular rawhide-modular
|
||||
|
||||
# systemd on no-SMP boots (i.e. single core) sometimes timeout waiting for storage
|
||||
# devices. After entering emergency prompt all disk are mounted.
|
||||
# For more information see:
|
||||
# https://www.suse.com/support/kb/doc/?id=7018491
|
||||
# https://www.freedesktop.org/software/systemd/man/systemd.mount.html
|
||||
# https://github.com/systemd/systemd/issues/3446
|
||||
# We modify /etc/fstab to give more time for device detection (the problematic part)
|
||||
# and mounting processes. This should help on systems where boot takes longer.
|
||||
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
||||
|
||||
# Create Fedora RISC-V repo
|
||||
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
||||
[fedora-riscv]
|
||||
|
|
Loading…
Reference in New Issue