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