|
@@ -22,7 +22,7 @@
|
|
|
# SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".ext4.gz"
|
|
# SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".ext4.gz"
|
|
|
# For this example either a file core-image-full-cmdline-${MACHINE}.ext4.gz or a file
|
|
# For this example either a file core-image-full-cmdline-${MACHINE}.ext4.gz or a file
|
|
|
# core-image-full-cmdline.ext4.gz gets added the swu archive. Optionally the variable
|
|
# core-image-full-cmdline.ext4.gz gets added the swu archive. Optionally the variable
|
|
|
-# SWUPDATE_IMAGES_NOAPPEND_MACHINE allows to explicitley define if the MACHINE name
|
|
|
|
|
|
|
+# SWUPDATE_IMAGES_NOAPPEND_MACHINE allows to explicitly define if the MACHINE name
|
|
|
# must be part of the image file name or not.
|
|
# must be part of the image file name or not.
|
|
|
# * image file name(s)
|
|
# * image file name(s)
|
|
|
# Example:
|
|
# Example:
|
|
@@ -137,9 +137,9 @@ python do_swuimage () {
|
|
|
encrypted = (d.getVarFlag("SWUPDATE_IMAGES_ENCRYPTED", image, True) or "")
|
|
encrypted = (d.getVarFlag("SWUPDATE_IMAGES_ENCRYPTED", image, True) or "")
|
|
|
if fstypes:
|
|
if fstypes:
|
|
|
noappend_machine = d.getVarFlag("SWUPDATE_IMAGES_NOAPPEND_MACHINE", image, True)
|
|
noappend_machine = d.getVarFlag("SWUPDATE_IMAGES_NOAPPEND_MACHINE", image, True)
|
|
|
- if noappend_machine == "0": # Search for a file explicitely with MACHINE
|
|
|
|
|
|
|
+ if noappend_machine == "0": # Search for a file explicitly with MACHINE
|
|
|
imagebases = [ image + '-' + d.getVar('MACHINE', True) ]
|
|
imagebases = [ image + '-' + d.getVar('MACHINE', True) ]
|
|
|
- elif noappend_machine == "1": # Search for a file explicitely without MACHINE
|
|
|
|
|
|
|
+ elif noappend_machine == "1": # Search for a file explicitly without MACHINE
|
|
|
imagebases = [ image ]
|
|
imagebases = [ image ]
|
|
|
else: # None, means auto mode. Just try to find an image file with MACHINE or without MACHINE
|
|
else: # None, means auto mode. Just try to find an image file with MACHINE or without MACHINE
|
|
|
imagebases = [ image + '-' + d.getVar('MACHINE', True), image ]
|
|
imagebases = [ image + '-' + d.getVar('MACHINE', True), image ]
|