Support overlayfs whiteouts on checkout
authorMiguel Angel Ajo <majopela@redhat.com>
Mon, 19 Sep 2022 15:15:24 +0000 (17:15 +0200)
committerMiguel Angel Ajo <majopela@redhat.com>
Wed, 28 Sep 2022 10:26:31 +0000 (12:26 +0200)
commite234b630f85b97e48ecf45d5aaba9b1aa64e6b54
treede3b60aba635cb6d30aebf09e2f00aa6f0c9e81a
parentc6c3c5ae9fbeaaa2207149ed348109400b88314e
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
13 files changed:
.github/workflows/tests.yml
Makefile-tests.am
bash/ostree
man/ostree-checkout.xml
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo.h
src/libostree/ostree-sysroot-deploy.c
src/ostree/ot-builtin-checkout.c
tests/archive-test.sh
tests/basic-test.sh
tests/kolainst/data-shared/libtest-core.sh
tests/libtest.sh
tests/test-admin-deploy-whiteouts.sh [new file with mode: 0755]