Commit 1a3c1fc4 authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Stefano Babic
Browse files

swupdate.bbclass: fix typo in comments



Fix explicitely -> explicitly
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Acked-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
parent e2d10c48
......@@ -22,7 +22,7 @@
# 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
# 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.
# * image file name(s)
# Example:
......@@ -137,9 +137,9 @@ python do_swuimage () {
encrypted = (d.getVarFlag("SWUPDATE_IMAGES_ENCRYPTED", image, True) or "")
if fstypes:
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) ]
elif noappend_machine == "1": # Search for a file explicitely without MACHINE
elif noappend_machine == "1": # Search for a file explicitly without MACHINE
imagebases = [ image ]
else: # None, means auto mode. Just try to find an image file with MACHINE or without MACHINE
imagebases = [ image + '-' + d.getVar('MACHINE', True), image ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment