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-12 11:07:40 +0200 |
commit | e038765f3df4dc4781cbf58a82eee607a8e3dd84 (patch) | |
tree | 11f7d953a431d7ae08586c8747c2a34d41998746 /classes/image_types_ostree.bbclass | |
parent | b252a30428b448b610edf59c0c0116a45039e4c8 (diff) | |
download | meta-updater-e038765f3df4dc4781cbf58a82eee607a8e3dd84.tar.gz |
Don't commit credentials to OSTree repositorybugfix/OTA-852/pushcredentials
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 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 |