* [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images @ 2011-11-30 7:55 Matthew McClintock 2011-11-30 7:55 ` [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed Matthew McClintock 2011-11-30 15:11 ` [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Richard Purdie 0 siblings, 2 replies; 4+ messages in thread From: Matthew McClintock @ 2011-11-30 7:55 UTC (permalink / raw) To: openembedded-core Signed-off-by: Matthew McClintock <msm@freescale.com> --- meta/classes/image_types.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 2260915..aed5a85 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -142,7 +142,7 @@ IMAGE_DEPENDS_cramfs = "cramfs-native" IMAGE_DEPENDS_ext2 = "genext2fs-native" IMAGE_DEPENDS_ext2.gz = "genext2fs-native" IMAGE_DEPENDS_ext2.bz2 = "genext2fs-native" -IMAGE_DEPENDS_ext2.lzma = "genext2fs-native" +IMAGE_DEPENDS_ext2.lzma = "genext2fs-native xz-native" IMAGE_DEPENDS_ext3 = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext3.gz = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext4 = "genext2fs-native e2fsprogs-native" -- 1.7.6.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed 2011-11-30 7:55 [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Matthew McClintock @ 2011-11-30 7:55 ` Matthew McClintock 2011-11-30 17:25 ` McClintock Matthew-B29882 2011-11-30 15:11 ` [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Richard Purdie 1 sibling, 1 reply; 4+ messages in thread From: Matthew McClintock @ 2011-11-30 7:55 UTC (permalink / raw) To: openembedded-core Some BB_HASHBASE_WHITELIST variables are in the lists of variable dependencies for signatures. Ignore those differences in lists since this difference does not matter Signed-off-by: Matthew McClintock <msm@freescale.com> --- I'm seeing variables in BB_HASHBASE_WHITELIST make it to the signature. Not sure if they are used to calculate the hash but assuming they are not we don't need to print out that they are different bitbake/lib/bb/siggen.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 9231291..bb909ba 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -237,13 +237,13 @@ def compare_sigfiles(a, b): p2 = pickle.Unpickler(file(b, "rb")) b_data = p2.load() - def dict_diff(a, b): + def dict_diff(a, b, whitelist=set()): sa = set(a.keys()) sb = set(b.keys()) common = sa & sb changed = set() for i in common: - if a[i] != b[i]: + if a[i] != b[i] and i not in whitelist: changed.add(i) added = sa - sb removed = sb - sa @@ -263,7 +263,7 @@ def compare_sigfiles(a, b): if a_data['basehash'] != b_data['basehash']: print "basehash changed from %s to %s" % (a_data['basehash'], b_data['basehash']) - changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps']) + changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps'], a_data['basewhitelist'] & b_data['basewhitelist']) if changed: for dep in changed: print "List of dependencies for variable %s changed from %s to %s" % (dep, a_data['gendeps'][dep], b_data['gendeps'][dep]) -- 1.7.6.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed 2011-11-30 7:55 ` [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed Matthew McClintock @ 2011-11-30 17:25 ` McClintock Matthew-B29882 0 siblings, 0 replies; 4+ messages in thread From: McClintock Matthew-B29882 @ 2011-11-30 17:25 UTC (permalink / raw) To: openembedded-core@lists.openembedded.org On Wed, Nov 30, 2011 at 1:55 AM, Matthew McClintock <msm@freescale.com> wrote: > Some BB_HASHBASE_WHITELIST variables are in the lists of variable > dependencies for signatures. Ignore those differences in lists > since this difference does not matter > > Signed-off-by: Matthew McClintock <msm@freescale.com> Sent this to bitbake mailing list where it belongs. -M ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images 2011-11-30 7:55 [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Matthew McClintock 2011-11-30 7:55 ` [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed Matthew McClintock @ 2011-11-30 15:11 ` Richard Purdie 1 sibling, 0 replies; 4+ messages in thread From: Richard Purdie @ 2011-11-30 15:11 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, 2011-11-30 at 01:55 -0600, Matthew McClintock wrote: > Signed-off-by: Matthew McClintock <msm@freescale.com> > --- > meta/classes/image_types.bbclass | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Merged to master, thanks. Richard ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-30 17:32 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-30 7:55 [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Matthew McClintock 2011-11-30 7:55 ` [PATCH] siggen.py: If both sigs have a variable in it's whitelist then don't say it's changed Matthew McClintock 2011-11-30 17:25 ` McClintock Matthew-B29882 2011-11-30 15:11 ` [PATCH] image_types.bbclass: add xz-native to deps for lzma ext2.lzma images Richard Purdie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox