diff options
author | Eugene Smirnov <evgenii.smirnov@here.com> | 2020-02-19 14:21:35 +0100 |
---|---|---|
committer | Eugene Smirnov <evgenii.smirnov@here.com> | 2020-02-19 14:21:35 +0100 |
commit | 4fe70f01ab5a90b00f21252ff4e43c34b116dd16 (patch) | |
tree | 30336e89e49a1412cb2e62398d82c7a3ee0d954d | |
parent | eecfe7aef3b0ae5b28c86194fc1ee6d2379a92d3 (diff) | |
download | meta-updater-feat/ostree-branch.tar.gz |
ota_image: pull-local by ref namefeat/ostree-branch
This makes ref name visible in the target system.
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
-rw-r--r-- | classes/image_types_ota.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 2cc8913..48170a4 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -63,7 +63,7 @@ IMAGE_CMD_ota () { | |||
63 | 63 | ||
64 | ostree_target_hash=$(cat ${OSTREE_REPO}/refs/heads/${OSTREE_BRANCHNAME}-${IMAGE_BASENAME}) | 64 | ostree_target_hash=$(cat ${OSTREE_REPO}/refs/heads/${OSTREE_BRANCHNAME}-${IMAGE_BASENAME}) |
65 | 65 | ||
66 | ostree --repo=${OTA_SYSROOT}/ostree/repo pull-local --remote=${OSTREE_OSNAME} ${OSTREE_REPO} ${ostree_target_hash} | 66 | ostree --repo=${OTA_SYSROOT}/ostree/repo pull-local --remote=${OSTREE_OSNAME} ${OSTREE_REPO} "${OSTREE_BRANCHNAME}-${IMAGE_BASENAME}" |
67 | kargs_list="" | 67 | kargs_list="" |
68 | for arg in ${OSTREE_KERNEL_ARGS}; do | 68 | for arg in ${OSTREE_KERNEL_ARGS}; do |
69 | kargs_list="${kargs_list} --karg-append=$arg" | 69 | kargs_list="${kargs_list} --karg-append=$arg" |