]> code.ossystems Code Review - openembedded-core.git/commit
native/nativesdk: Ensure DISTRO_FEATURES is determistic
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 10:03:55 +0000 (11:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:04:12 +0000 (15:04 +0100)
commit76391673754cf6a01d68eedbd4181e543fa2f427
treebe6cfb67712fe5a5ece0fc9690d06c368065599a
parent6fd63e24a1c6ac901edb393c9db8e245189a83e2
native/nativesdk: Ensure DISTRO_FEATURES is determistic

set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES
could be set to random ordering. We've been lucky so far this tended not to
cause issues but some queued changes highedlighted this. Thrown in a sorted()
so the order is deterministic and we get consistent hash checksums between runs
and between machines.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/native.bbclass
meta/classes/nativesdk.bbclass