diff options
Diffstat (limited to 'classes/image_types_ostree.bbclass')
-rw-r--r-- | classes/image_types_ostree.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index bc44e33..95d1b59 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -33,6 +33,12 @@ IMAGE_CMD_ostree () { | |||
33 | 33 | ||
34 | cd ${OSTREE_ROOTFS} | 34 | cd ${OSTREE_ROOTFS} |
35 | 35 | ||
36 | for d in var/*; do | ||
37 | if [ "${d}" != "var/local" ]; then | ||
38 | rm -rf ${d} | ||
39 | fi | ||
40 | done | ||
41 | |||
36 | # Create sysroot directory to which physical sysroot will be mounted | 42 | # Create sysroot directory to which physical sysroot will be mounted |
37 | mkdir sysroot | 43 | mkdir sysroot |
38 | ln -sf sysroot/ostree ostree | 44 | ln -sf sysroot/ostree ostree |