diff options
author | Martin Hundebøll <martin@geanix.com> | 2024-05-06 14:24:13 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-05-23 08:55:01 -0700 |
commit | 9980bf64cc067d044d3615d4da058b8d05433304 (patch) | |
tree | 35a3e34e81a765ee8859897ccac269fcba1e0ce1 /scripts/lib/scriptutils.py | |
parent | b79fbd4a0f5ca187f27a04113830b025edd9236f (diff) | |
download | poky-9980bf64cc067d044d3615d4da058b8d05433304.tar.gz |
classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()
Since commit c991f9d6031 ("image_types: Set SOURCE_DATE_EPOCH for squashfs"),
I assume, the EXTRA_IMAGECMD:squashfs* variable(s) has been ignored.
This is due to the override magic, which isn't applied to functions
called by IMAGE_CMD:<type>, but only to the IMAGE_CMD:<type> itself.
Other image types (e.g. ext*) works around this by passing the
EXTRA_IMAGECMD variable as an argument to the called function.
To do the same for oe_mksquashfs(), the number of mandatory arguments is
fixed to one (with a little logic to handle the zstd filename). This
allows passing ${EXTRA_IMAGECMD} as an argument to oe_mksquashfs(),
which makes the variable functional again.
(From OE-Core rev: 39fc503036312e38ff0b9d8fb90b4c929b5ca7df)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions