From f4a146fdbb947fc7badea1ad45eb95d430055a5e Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 25 Sep 2023 21:48:24 -0700 Subject: [PATCH] feat: Add grub mkconfig command to default just file --- build/ublue-os-just/00-default.just | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/ublue-os-just/00-default.just b/build/ublue-os-just/00-default.just index 48db3828..d91feaa9 100644 --- a/build/ublue-os-just/00-default.just +++ b/build/ublue-os-just/00-default.just @@ -10,6 +10,10 @@ _default: bios: systemctl reboot --firmware-setup +# Regenerate GRUB config, useful in dual-boot scenarios where a second operating system isn't listed +regenerate-grub: + sudo grub2-mkconfig -o /etc/grub2.cfg + # Show the changelog changelogs: rpm-ostree db diff --changelogs