imagebuilder: fix broken image generation with external targets
authorPetr Štetiar <ynezz@true.cz>
Thu, 24 Mar 2022 05:52:37 +0000 (06:52 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 25 Mar 2022 13:28:00 +0000 (14:28 +0100)
commit621f39d1f438bf95dbae667c575926fa16a6d797
treebe83097217952df001dea5ebbe34082ce40c12d5
parente1de25b68aac451321f404deb6f26def2f684b29
imagebuilder: fix broken image generation with external targets

When using external targets there is a symlink being created for the
target under target/linux which then becomes dangling under Image
Builder. Fix it by dereferencing the possible symlink.

Tested on IB with external target, ipq40xx and mvebu.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/imagebuilder/Makefile