diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-26 00:57:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:54:51 +0000 |
commit | 5f2515667dcbf2d6bcb95f6a68d05a752346c71d (patch) | |
tree | 79a789a580478728474732db373181786a047ee6 /meta/classes/rootfs_rpm.bbclass | |
parent | 2a9c574fd8b0800199b6569b6abf02634801013d (diff) | |
download | poky-5f2515667dcbf2d6bcb95f6a68d05a752346c71d.tar.gz |
rootfs_*.bbclass: exclude BUILDNAME var dependency from do_rootfs
* I have kernel recipe which depends on other recipe to build tiny initramfs
image, without this change it rebuilds not only that initramfs image
but also whole kernel when DATE or TIME is changed and OEBasicHash enabled
* also resolves ERROR shown when bitbake -S is used for image:
ERROR: Bitbake's cached basehash does not match the one we just generated
(/OE/oe-core/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_rootfs)!
ERROR: The mismatched hashes were 8c35cdf8a5d09c03941f081dd9f6d8dc and b5d6e2e5952770557c48c5779ddb73fc
(From OE-Core rev: a78d2d21fffd646a0d6e0f02a8355be010a7bd28)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 5000956d14..f40ee3be04 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -24,6 +24,7 @@ do_rootfs[depends] += "opkg-native:do_populate_sysroot" | |||
24 | do_rootfs[depends] += "createrepo-native:do_populate_sysroot" | 24 | do_rootfs[depends] += "createrepo-native:do_populate_sysroot" |
25 | 25 | ||
26 | do_rootfs[recrdeptask] += "do_package_write_rpm" | 26 | do_rootfs[recrdeptask] += "do_package_write_rpm" |
27 | do_rootfs[vardepsexclude] += "BUILDNAME" | ||
27 | 28 | ||
28 | RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; " | 29 | RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; " |
29 | RPM_POSTPROCESS_COMMANDS = "rpm_setup_smart_target_config; " | 30 | RPM_POSTPROCESS_COMMANDS = "rpm_setup_smart_target_config; " |