Skip to content

Commit

Permalink
Merge pull request #72 from quaresmajose/image_types_ostree
Browse files Browse the repository at this point in the history
Backport [kirkstone]: image_types_ostree: remove var/lib and var/cache before var
  • Loading branch information
pattivacek authored Apr 26, 2023
2 parents ce939ff + 4c43f90 commit 1cf05e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/image_types_ostree.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ IMAGE_CMD:ostree () {
if [ -d var/local ]; then
mv var/local var-local
fi
# var/lib and var/cache requires special handling as they are needed by do_rootfs
ostree_rmdir_helper var/lib
ostree_rmdir_helper var/cache
ostree_rmdir_helper var
mkdir var
if [ -d var/local ]; then
Expand Down

0 comments on commit 1cf05e3

Please sign in to comment.