commit | 0a346ceb87e20045b558e22e097fcecb1b7382ae | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Jun 26 11:48:53 2024 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Jul 15 10:47:55 2024 -0500 |
tree | 6cb80e77a5773d77fdbe804210815a8e971646de | |
parent | 2820c740793d20078b816769d5693f1cffcc2a9c [diff] |
meta-aspeed: adjust our patch upstream status Newer yocto has removed the "Accepted" status[1] and requires a Backport with the version it will come in. [1]: https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status Change-Id: I5b788dfa7788c021f6d10298016b58943e188808 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-aspeed/recipes-aspeed/python/socsec/0001-otptool-Define-value_start-in-rev_id-path.patch b/meta-aspeed/recipes-aspeed/python/socsec/0001-otptool-Define-value_start-in-rev_id-path.patch index 6578519..7c029b6 100644 --- a/meta-aspeed/recipes-aspeed/python/socsec/0001-otptool-Define-value_start-in-rev_id-path.patch +++ b/meta-aspeed/recipes-aspeed/python/socsec/0001-otptool-Define-value_start-in-rev_id-path.patch
@@ -5,7 +5,7 @@ See https://github.com/AspeedTech-BMC/socsec/pull/18 -Upstream-Status: Accepted +Upstream-Status: Backport [next release] Signed-off-by: Andrew Jeffery <andrew@aj.id.au> --- socsec/otptool.py | 1 + @@ -21,5 +21,5 @@ bit_length = info['bit_length'] + value_start = info['value_start'] offset_value = int(value, 16) - value_start - + if offset_value < 0 or offset_value > bit_length: