mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 gucc: fix systemd-boot config gen cmd
This commit is contained in:
parent
5c0c4aa3ec
commit
1ef76ed7ba
@ -203,7 +203,7 @@ auto install_systemd_boot(std::string_view root_mountpoint, std::string_view efi
|
||||
|
||||
// Generate systemd-boot configuration entries with our sdboot
|
||||
static constexpr auto sdboot_cmd = "sdboot-manage gen"sv;
|
||||
if (!utils::arch_chroot_checked(bootctl_cmd, root_mountpoint)) {
|
||||
if (!utils::arch_chroot_checked(sdboot_cmd, root_mountpoint)) {
|
||||
spdlog::error("Failed to run sdboot-manage gen on mountpoint: {}", root_mountpoint);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user