diff options
| -rw-r--r-- | classes/sota_none.bbclass | 6 | ||||
| -rw-r--r-- | classes/sota_raspberrypi.bbclass | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/classes/sota_none.bbclass b/classes/sota_none.bbclass index 86eaf0b..c11b070 100644 --- a/classes/sota_none.bbclass +++ b/classes/sota_none.bbclass | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # null machine it's here to make bitbake happy when SOTA_MACHINE is undefined | 1 | # null machine it's here to make bitbake happy when SOTA_MACHINE is undefined |
| 2 | python __anonymous() { | 2 | #python __anonymous() { |
| 3 | bb.warn("SOTA functionality is not yet supported for your machine") | 3 | # bb.warn("SOTA functionality is not yet supported for your machine") |
| 4 | } | 4 | #} |
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass index 544537b..cc6b666 100644 --- a/classes/sota_raspberrypi.bbclass +++ b/classes/sota_raspberrypi.bbclass | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" | 1 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" |
| 2 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota.xz', 'rpi-sdimg.xz', d)}" | 2 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota.xz', 'rpi-sdimg.xz', d)}" |
| 3 | 3 | ||
| 4 | IMAGE_FSTYPES_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'wic rpi-sdimg', '', d)}" | 4 | IMAGE_FSTYPES_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'wic rpi-sdimg rpi-sdimg.xz', '', d)}" |
| 5 | 5 | ||
| 6 | KERNEL_IMAGETYPE_sota = "uImage" | 6 | KERNEL_IMAGETYPE_sota = "uImage" |
| 7 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | 7 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" |
