package_*.bbclass: Ensure OVERRIDES doesn't change sstate signature
Changes to OVERRIDES (e.g. from changing MACHINE) should not change the sstate signatures of do_package_write_*. Exclude the variable explicitly in the package classes to avoid this. (From OE-Core rev: 5826a9260138c437f87ba1a9f84d5c08442b997d) (From OE-Core rev: 59ccabdfb59a3e0917585dafab7a1e7c71330996) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d1052050bd
commit
66b7dfb73d
|
@ -288,6 +288,9 @@ python do_package_deb () {
|
|||
cleanupcontrol(root)
|
||||
bb.utils.unlockfile(lf)
|
||||
}
|
||||
# Otherwise allarch packages may change depending on override configuration
|
||||
do_package_deb[vardepsexclude] = "OVERRIDES"
|
||||
|
||||
|
||||
SSTATETASKS += "do_package_write_deb"
|
||||
do_package_write_deb[sstate-inputdirs] = "${PKGWRITEDIRDEB}"
|
||||
|
|
|
@ -250,6 +250,8 @@ python do_package_ipk () {
|
|||
bb.utils.unlockfile(lf)
|
||||
|
||||
}
|
||||
# Otherwise allarch packages may change depending on override configuration
|
||||
do_package_ipk[vardepsexclude] = "OVERRIDES"
|
||||
|
||||
SSTATETASKS += "do_package_write_ipk"
|
||||
do_package_write_ipk[sstate-inputdirs] = "${PKGWRITEDIRIPK}"
|
||||
|
|
|
@ -645,6 +645,8 @@ python write_specfile () {
|
|||
|
||||
specfile.close()
|
||||
}
|
||||
# Otherwise allarch packages may change depending on override configuration
|
||||
write_specfile[vardepsexclude] = "OVERRIDES"
|
||||
|
||||
python do_package_rpm () {
|
||||
# We need a simple way to remove the MLPREFIX from the package name,
|
||||
|
|
Loading…
Reference in New Issue