mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-25 01:34:34 +03:00
bootloader: Pass "options" to aboot bootloader backend
aboot-deploy must know where the next root filesystem to boot is to set up a symlink /ostree/root.a or /ostree/root.b , this location is in the ostree= part of these passed in options. Signed-off-by: Eric Curtin <ecurtin@redhat.com>
This commit is contained in:
parent
363a1f14a8
commit
4429923681
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user