diff options
Diffstat (limited to 'classes/sota.bbclass')
| -rw-r--r-- | classes/sota.bbclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 7fb54dc..e654071 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | export BUILD_OTA_TARBALL | ||
| 2 | python __anonymous() { | 1 | python __anonymous() { |
| 3 | if bb.utils.contains('DISTRO_FEATURES', 'sota', True, False, d): | 2 | if bb.utils.contains('DISTRO_FEATURES', 'sota', True, False, d): |
| 4 | d.appendVarFlag("do_image_wic", "depends", " %s:do_image_ota_ext4" % d.getVar("IMAGE_BASENAME", True)) | 3 | d.appendVarFlag("do_image_wic", "depends", " %s:do_image_ota_ext4" % d.getVar("IMAGE_BASENAME", True)) |
| @@ -29,11 +28,13 @@ EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native | |||
| 29 | INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" | 28 | INITRAMFS_FSTYPES ??= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" |
| 30 | 29 | ||
| 31 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo | 30 | # Please redefine OSTREE_REPO in order to have a persistent OSTree repo |
| 32 | OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" | 31 | export OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" |
| 33 | OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" | 32 | export OSTREE_BRANCHNAME ?= "${SOTA_HARDWARE_ID}" |
| 34 | OSTREE_OSNAME ?= "poky" | 33 | export OSTREE_OSNAME ?= "poky" |
| 34 | export OSTREE_BOOTLOADER ??= 'u-boot' | ||
| 35 | export OSTREE_BOOT_PARTITION ??= "/boot" | ||
| 36 | |||
| 35 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 37 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
| 36 | OSTREE_BOOTLOADER ??= 'u-boot' | ||
| 37 | 38 | ||
| 38 | GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" | 39 | GARAGE_SIGN_REPO ?= "${DEPLOY_DIR_IMAGE}/garage_sign_repo" |
| 39 | GARAGE_SIGN_KEYNAME ?= "garage-key" | 40 | GARAGE_SIGN_KEYNAME ?= "garage-key" |
