summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-09-26 00:57:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-19 17:54:51 +0000
commit5f2515667dcbf2d6bcb95f6a68d05a752346c71d (patch)
tree79a789a580478728474732db373181786a047ee6 /meta/classes/rootfs_rpm.bbclass
parent2a9c574fd8b0800199b6569b6abf02634801013d (diff)
downloadpoky-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.bbclass1
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"
24do_rootfs[depends] += "createrepo-native:do_populate_sysroot" 24do_rootfs[depends] += "createrepo-native:do_populate_sysroot"
25 25
26do_rootfs[recrdeptask] += "do_package_write_rpm" 26do_rootfs[recrdeptask] += "do_package_write_rpm"
27do_rootfs[vardepsexclude] += "BUILDNAME"
27 28
28RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; " 29RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; "
29RPM_POSTPROCESS_COMMANDS = "rpm_setup_smart_target_config; " 30RPM_POSTPROCESS_COMMANDS = "rpm_setup_smart_target_config; "