diff options
Diffstat (limited to 'classes/image_types_ota.bbclass')
-rw-r--r-- | classes/image_types_ota.bbclass | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 2aa4306..9eecd1b 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -44,13 +44,6 @@ calculate_size () { | |||
44 | echo "${SIZE}" | 44 | echo "${SIZE}" |
45 | } | 45 | } |
46 | 46 | ||
47 | export OSTREE_OSNAME | ||
48 | export OSTREE_BRANCHNAME | ||
49 | export OSTREE_REPO | ||
50 | export OSTREE_BOOTLOADER | ||
51 | |||
52 | export GARAGE_TARGET_NAME | ||
53 | |||
54 | IMAGE_CMD_otaimg () { | 47 | IMAGE_CMD_otaimg () { |
55 | if ${@bb.utils.contains('IMAGE_FSTYPES', 'otaimg', 'true', 'false', d)}; then | 48 | if ${@bb.utils.contains('IMAGE_FSTYPES', 'otaimg', 'true', 'false', d)}; then |
56 | if [ -z "$OSTREE_REPO" ]; then | 49 | if [ -z "$OSTREE_REPO" ]; then |
@@ -85,7 +78,6 @@ IMAGE_CMD_otaimg () { | |||
85 | ostree_target_hash=$(cat ${OSTREE_REPO}/refs/heads/${OSTREE_BRANCHNAME}) | 78 | ostree_target_hash=$(cat ${OSTREE_REPO}/refs/heads/${OSTREE_BRANCHNAME}) |
86 | 79 | ||
87 | ostree --repo=${PHYS_SYSROOT}/ostree/repo pull-local --remote=${OSTREE_OSNAME} ${OSTREE_REPO} ${ostree_target_hash} | 80 | ostree --repo=${PHYS_SYSROOT}/ostree/repo pull-local --remote=${OSTREE_OSNAME} ${OSTREE_REPO} ${ostree_target_hash} |
88 | export OSTREE_BOOT_PARTITION="/boot" | ||
89 | kargs_list="" | 81 | kargs_list="" |
90 | for arg in ${OSTREE_KERNEL_ARGS}; do | 82 | for arg in ${OSTREE_KERNEL_ARGS}; do |
91 | kargs_list="${kargs_list} --karg-append=$arg" | 83 | kargs_list="${kargs_list} --karg-append=$arg" |