From f6ca3cb54410c12e50bbe605d27c3ba77d4416d8 Mon Sep 17 00:00:00 2001 From: ouuleilei Date: Wed, 12 Nov 2025 15:03:06 +0800 Subject: [PATCH] disable rtc_efi to fix riscv64 qemu time problem --- hooks/finalise.d/50-bootloader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/finalise.d/50-bootloader b/hooks/finalise.d/50-bootloader index b1bd8fa..1b36029 100755 --- a/hooks/finalise.d/50-bootloader +++ b/hooks/finalise.d/50-bootloader @@ -112,7 +112,7 @@ function install_grub2_riscv64 () echo 'GRUB_DEFAULT=saved' >> /etc/default/grub echo 'GRUB_DISABLE_SUBMENU=true' >> /etc/default/grub echo 'GRUB_TERMINAL_OUTPUT="console"' >> /etc/default/grub - echo 'GRUB_CMDLINE_LINUX="console=ttyS0 highres=off earlycon no4lvl systemd.default_timeout_start_sec=600 rootfstype=ext4 nomodeset quiet net.ifnames=0 biosdevname=0 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M reserve_kbox_mem=16M crash_kexec_post_notifiers panic=3 no-steal-time use-sched-idle-time"' >> /etc/default/grub + echo 'GRUB_CMDLINE_LINUX="console=ttyS0 highres=off earlycon no4lvl systemd.default_timeout_start_sec=600 rootfstype=ext4 nomodeset quiet net.ifnames=0 biosdevname=0 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M reserve_kbox_mem=16M crash_kexec_post_notifiers panic=3 no-steal-time use-sched-idle-time initcall_blacklist=efi_rtc_driver_init"' >> /etc/default/grub echo 'GRUB_DISABLE_RECOVERY="true"' >>/etc/default/grub echo 'GRUB_DISABLE_OS_PROBER="true"' >> /etc/default/grub echo "cat <> /etc/grub.d/00_header -- Gitee