]> code.ossystems Code Review - openembedded-core.git/commit
isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 16 Jan 2017 12:23:08 +0000 (14:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 14:13:29 +0000 (14:13 +0000)
commitedf0830412de66eada9ef3f3947ca42e301c5377
tree190a5ca6a2217e2f7159fc624a443d6b46e6bce2
parent1c8acea91e775b1b6f8b25e774aaba3e790fc59b
isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH

isoimage-sihybrid plugin uses MACHINE_ARCH to get the name of initrd image.
It doesn't work for all machines, for example for quemux86-64 machine
MACHINE_ARCH is quemux86_64 and initrd name is
core-image-minimal-initramfs-qemux86-64.cpio.gz

Used TRANSLATED_TARGET_ARCH variable to get the initrd image name.
Replaced MACHINE_ARCH->TRANSLATED_TARGET_ARCH in WICVARS variable to
make it available from <image>.env file.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/classes/image-wic.bbclass
scripts/lib/wic/plugins/source/isoimage-isohybrid.py