diff options
author | Miguel Angel Ajo <majopela@redhat.com> | 2022-09-19 17:15:24 +0200 |
---|---|---|
committer | Miguel Angel Ajo <majopela@redhat.com> | 2022-09-28 12:26:31 +0200 |
commit | e234b630f85b97e48ecf45d5aaba9b1aa64e6b54 (patch) | |
tree | de3b60aba635cb6d30aebf09e2f00aa6f0c9e81a /src/libostree/ostree-sysroot-deploy.c | |
parent | c6c3c5ae9fbeaaa2207149ed348109400b88314e (diff) | |
download | ostree-e234b630f85b97e48ecf45d5aaba9b1aa64e6b54.tar.gz |
Support overlayfs whiteouts on checkout
Introduces an intermediate format for overlayfs storage, where
.wh-ostree. prefixed files will be converted into char 0:0
whiteout devices used by overlayfs to mark deletions across layers.
The CI scripts now uses a volume for the scratch directories
previously in /var/tmp otherwise we cannot create whiteout
devices into an overlayfs mounted filesystem.
Related-Issue: #2712
Diffstat (limited to 'src/libostree/ostree-sysroot-deploy.c')
-rw-r--r-- | src/libostree/ostree-sysroot-deploy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 7b2f1a6f..3ceb8ed7 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -641,7 +641,7 @@ checkout_deployment_tree (OstreeSysroot *sysroot, return FALSE; /* Generate hardlink farm, then opendir it */ - OstreeRepoCheckoutAtOptions checkout_opts = { 0, }; + OstreeRepoCheckoutAtOptions checkout_opts = { .process_passthrough_whiteouts = TRUE }; if (!ostree_repo_checkout_at (repo, &checkout_opts, osdeploy_dfd, checkout_target_name, csum, cancellable, error)) |