diff options
author | Anton Gerasimov <anton.gerasimov@here.com> | 2018-09-12 11:07:40 +0200 |
---|---|---|
committer | Anton Gerasimov <anton.gerasimov@here.com> | 2018-09-17 17:34:05 +0200 |
commit | fa89d1a1b14c5474b76ecdeb9f5a7597367fdd2b (patch) | |
tree | 283bed0c4657722968cbc7faff91813644ac7acf /classes/image_types_ostree.bbclass | |
parent | 5b40b5d88f6371760d3065771b77d06d4cbcb276 (diff) | |
download | meta-updater-fa89d1a1b14c5474b76ecdeb9f5a7597367fdd2b.tar.gz |
Don't commit credentials to OSTree repository
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 |