diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ostree.bbclass | 2 | ||||
-rw-r--r-- | classes/sdcard_image-rpi-ota.bbclass | 6 | ||||
-rw-r--r-- | classes/sota_bleeding.inc | 1 |
3 files changed, 2 insertions, 7 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index adcafe3..1f8e195 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -159,7 +159,7 @@ IMAGE_CMD_ostree () { | |||
159 | } | 159 | } |
160 | 160 | ||
161 | IMAGE_TYPEDEP_ostreepush = "ostree" | 161 | IMAGE_TYPEDEP_ostreepush = "ostree" |
162 | IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" | 162 | IMAGE_DEPENDS_ostreepush = "aktualizr-native:do_populate_sysroot" |
163 | IMAGE_CMD_ostreepush () { | 163 | IMAGE_CMD_ostreepush () { |
164 | # Print warnings if credetials are not set or if the file has not been found. | 164 | # Print warnings if credetials are not set or if the file has not been found. |
165 | if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then | 165 | if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then |
diff --git a/classes/sdcard_image-rpi-ota.bbclass b/classes/sdcard_image-rpi-ota.bbclass index 81d71e9..9c859fe 100644 --- a/classes/sdcard_image-rpi-ota.bbclass +++ b/classes/sdcard_image-rpi-ota.bbclass | |||
@@ -73,10 +73,6 @@ SDIMG_OTA = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg-ota" | |||
73 | # Additional files and/or directories to be copied into the vfat partition from the IMAGE_ROOTFS. | 73 | # Additional files and/or directories to be copied into the vfat partition from the IMAGE_ROOTFS. |
74 | FATPAYLOAD ?= "" | 74 | FATPAYLOAD ?= "" |
75 | 75 | ||
76 | IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" | ||
77 | IMAGE_CMD_rpi-sdimg-ota[vardepsexclude] += "IMAGEDATESTAMP" | ||
78 | IMAGE_CMD_rpi-sdimg-ota[vardepsexclude] += "DATETIME" | ||
79 | |||
80 | IMAGE_CMD_rpi-sdimg-ota () { | 76 | IMAGE_CMD_rpi-sdimg-ota () { |
81 | 77 | ||
82 | # Align partitions | 78 | # Align partitions |
@@ -151,7 +147,7 @@ IMAGE_CMD_rpi-sdimg-ota () { | |||
151 | fi | 147 | fi |
152 | 148 | ||
153 | # Add stamp file | 149 | # Add stamp file |
154 | echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${WORKDIR}/image-version-info | 150 | echo "${IMAGE_NAME}" > ${WORKDIR}/image-version-info |
155 | mcopy -i ${WORKDIR}/boot.img -v ${WORKDIR}//image-version-info :: | 151 | mcopy -i ${WORKDIR}/boot.img -v ${WORKDIR}//image-version-info :: |
156 | 152 | ||
157 | # Burn Partitions | 153 | # Burn Partitions |
diff --git a/classes/sota_bleeding.inc b/classes/sota_bleeding.inc index 77d004b..fc5947d 100644 --- a/classes/sota_bleeding.inc +++ b/classes/sota_bleeding.inc | |||
@@ -1,2 +1 @@ | |||
1 | SRCREV_pn-aktualizr ?= "${AUTOREV}" | SRCREV_pn-aktualizr ?= "${AUTOREV}" | |
2 | SRCREV_pn-aktualizr-native ?= "${AUTOREV}" | ||