lib/deploy: Avoid shadowing variable
There's already a `boot_relpath` variable in the outside scope.
This commit is contained in:
parent
52a6224606
commit
61c544df1b
|
|
@ -1935,8 +1935,9 @@ install_deployment_kernel (OstreeSysroot *sysroot,
|
|||
|
||||
if (kernel_layout->initramfs_namever)
|
||||
{
|
||||
g_autofree char * boot_relpath = g_strconcat ("/", bootcsumdir, "/", kernel_layout->initramfs_namever, NULL);
|
||||
ostree_bootconfig_parser_set (bootconfig, "initrd", boot_relpath);
|
||||
g_autofree char * initrd_boot_relpath =
|
||||
g_strconcat ("/", bootcsumdir, "/", kernel_layout->initramfs_namever, NULL);
|
||||
ostree_bootconfig_parser_set (bootconfig, "initrd", initrd_boot_relpath);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue