mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 03:22:36 +00:00
tegra-minimal-initramfs: add temporary workaround for hashing issue
The combination of hashequiv and the improved pseudo tracking in OE-Core prevents the enabling of sstate packages for the initramfs image. Temporarily work around these failures by overriding the hash reporting function until something better is worked out. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -36,5 +36,17 @@ SSTATE_SKIP_CREATION_task-image-complete = "0"
|
||||
SSTATE_SKIP_CREATION_task-image-qa = "0"
|
||||
do_image_complete[vardepsexclude] += "rm_work_rootfs"
|
||||
IMAGE_POSTPROCESS_COMMAND = ""
|
||||
|
||||
inherit nopackages
|
||||
# XXX
|
||||
# Temporarily override this function from sstate.bbclass
|
||||
# until a better solution is found.
|
||||
# XXX
|
||||
python sstate_report_unihash() {
|
||||
report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
|
||||
|
||||
if report_unihash:
|
||||
ss = sstate_state_fromvars(d)
|
||||
if ss['task'] == 'image_complete':
|
||||
os.environ['PSEUDO_DISABLED'] = '1'
|
||||
report_unihash(os.getcwd(), ss['task'], d)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user