Skip to content

Commit

Permalink
Merge pull request #2902 from ericcurtin/ostree-aboot-pass-options
Browse files Browse the repository at this point in the history
bootloader: Pass "options" to aboot bootloader backend
  • Loading branch information
cgwalters committed Jun 27, 2023
2 parents 8deb97a + 4429923 commit 132bb6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libostree/ostree-bootloader-aboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 132bb6a

Please sign in to comment.