🚧 gucc: fix systemd-boot config gen cmd

This commit is contained in:
Vladislav Nepogodin 2024-07-02 21:38:11 +04:00
parent 5c0c4aa3ec
commit 1ef76ed7ba
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -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;
}