diff options
author | Anton Gerasimov <anton.gerasimov@here.com> | 2018-09-24 18:02:30 +0200 |
---|---|---|
committer | Anton Gerasimov <tossel@gmail.com> | 2018-10-01 10:44:50 +0200 |
commit | e689954dc9a07f1ceef65c797056f805daad90a9 (patch) | |
tree | 0dfbf98077d7701343bdda2f61532f5d4b27db43 /recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb | |
parent | 80d25891eb998f19eabd5b589ef3d687dee7ee98 (diff) | |
download | meta-updater-e689954dc9a07f1ceef65c797056f805daad90a9.tar.gz |
Fixes for oe-selftestfeat/OTA-719/nodeploy
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb b/recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb index d964a0a..34460af 100644 --- a/recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb +++ b/recipes-sota/aktualizr/aktualizr-auto-prov-creds.bb | |||
@@ -4,11 +4,12 @@ LICENSE = "MPL-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" | 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" |
5 | 5 | ||
6 | DEPENDS = "aktualizr-native zip-native" | 6 | DEPENDS = "aktualizr-native zip-native" |
7 | ALLOW_EMPTY_${PN} = "1" | ||
7 | 8 | ||
8 | require credentials.inc | 9 | require credentials.inc |
9 | 10 | ||
10 | do_install() { | 11 | do_install() { |
11 | if [ -n ${SOTA_PACKED_CREDENTIALS} ]; then | 12 | if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then |
12 | install -m 0700 -d ${D}${localstatedir}/sota | 13 | install -m 0700 -d ${D}${localstatedir}/sota |
13 | cp ${SOTA_PACKED_CREDENTIALS} ${D}${localstatedir}/sota/sota_provisioning_credentials.zip | 14 | cp ${SOTA_PACKED_CREDENTIALS} ${D}${localstatedir}/sota/sota_provisioning_credentials.zip |
14 | # Device should not be able to push data to treehub | 15 | # Device should not be able to push data to treehub |