Merge pull request #2902 from ericcurtin/ostree-aboot-pass-options

bootloader: Pass "options" to aboot bootloader backend
This commit is contained in:
Colin Walters
2023-06-27 02:50:49 -04:00
committed by GitHub

View File

@ -161,7 +161,8 @@ _ostree_bootloader_aboot_post_bls_sync (OstreeBootloader *bootloader, int bootve
g_autofree char *path_str = g_file_get_path (self->sysroot->path);
const char *const aboot_argv[] = { "aboot-deploy", "-r", path_str, "-c", abootcfg, aboot, NULL };
const char *const aboot_argv[]
= { "aboot-deploy", "-r", path_str, "-c", abootcfg, "-o", options, aboot, NULL };
int estatus;
if (!g_spawn_sync (NULL, (char **)aboot_argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL,
&estatus, error))