return 0;
}
-static int install_variables(
+static int install_boot_option(
InstallContext *c,
const char *path) {
}
char *path = strjoina("/EFI/systemd/systemd-boot", arch, ".efi");
- return install_variables(c, path);
+ return install_boot_option(c, path);
}
int verb_install(int argc, char *argv[], uintptr_t _data, void *userdata) {
return RET_GATHER(r, remove_boot_efi(c));
}
-static int remove_variables(sd_id128_t uuid, const char *path, bool in_order) {
+static int remove_boot_option(sd_id128_t uuid, const char *path, bool in_order) {
uint16_t slot;
int r;
}
char *path = strjoina("/EFI/systemd/systemd-boot", get_efi_arch(), ".efi");
- RET_GATHER(r, remove_variables(c.esp_uuid, path, /* in_order= */ true));
+ RET_GATHER(r, remove_boot_option(c.esp_uuid, path, /* in_order= */ true));
return RET_GATHER(r, remove_loader_variables());
}