Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M meta-swupdate
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • swupdate
  • meta-swupdate
  • Repository

Switch branch/tag
  • meta-swupdate
  • classes
  • swupdate.bbclass
Find file BlameHistoryPermalink
  • Luca Ceresoli's avatar
    swupdate.bbclass: fix SWUPDATE_IMAGES_NOAPPEND_MACHINE parsing · e2d10c48
    Luca Ceresoli authored May 13, 2021 and Stefano Babic's avatar Stefano Babic committed May 13, 2021
    The SWUPDATE_IMAGES_NOAPPEND_MACHINE check is incorrect and always takes
    the 'elif' branch. This is because the allowed values for
    SWUPDATE_IMAGES_NOAPPEND_MACHINE are "0", "1" or unset. The first two
    values are strings, and getVarFlag() returns them as strings, but the code
    checks for boolean.
    
    Keep the allowed values to "0", "1" or unset as per the documentation and
    to keep backward compatibility, and fix by comparing with strings instead
    of booleans.
    
    Fixes: b6534bbc
    
     ("swupdate: simplify find images added to swu")
    Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
    Acked-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
    e2d10c48

Replace swupdate.bbclass

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy