postprocess: Fix "compose tree" regression with /etc
The fact that we didn't notice this is a testament to the state of testing =( I think I want to change the container build path to also only grab /usr and /etc rather than having the paths be different, but for now - the quick fix. Pull request: #243 Approved by: jlebon
This commit is contained in:
parent
ed7fc02b04
commit
3350c0e062
@ -855,11 +855,14 @@ create_rootfs_from_yumroot_content (GFile *targetroot,
|
||||
}
|
||||
|
||||
/* We take /usr from the yum content */
|
||||
g_print ("Moving /usr to target\n");
|
||||
g_print ("Moving /usr and /etc to target\n");
|
||||
{
|
||||
gs_unref_object GFile *usr = g_file_get_child (yumroot, "usr");
|
||||
gs_unref_object GFile *etc = g_file_get_child (yumroot, "etc");
|
||||
if (!move_to_dir (usr, targetroot, cancellable, error))
|
||||
goto out;
|
||||
if (!move_to_dir (etc, targetroot, cancellable, error))
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!rpmostree_rootfs_postprocess_common (target_root_dfd, cancellable, error))
|
||||
|
Loading…
Reference in New Issue
Block a user