diff options
author | André Draszik <adraszik@tycoint.com> | 2016-06-24 11:42:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:08:45 +0100 |
commit | 2a6ac8ca71b669b8653eb19417faf58575385a21 (patch) | |
tree | 987fada11f368480d9ca8acbfd840b64f36bed49 /meta/recipes-devtools/json-c | |
parent | d81bb8c6362d59a124bbe9b3a60cb259733b120d (diff) | |
download | openembedded-core-2a6ac8ca71b669b8653eb19417faf58575385a21.tar.gz openembedded-core-2a6ac8ca71b669b8653eb19417faf58575385a21.tar.bz2 openembedded-core-2a6ac8ca71b669b8653eb19417faf58575385a21.zip |
classes/kernel: fix symlink creation in DEPLOYDIR for bundled initramfs
If multiple kernel image types have been specified, only the very first
one would receive a symlink in DEPLOYDIR.
The reason is that we're looping over the list of image types and check
if a bundled initramfs images exists using a relative path. As part of
the loop we're changing the current directory, hence all additional
iterations fail to see the files we're looking for, and hence no symlinks
are being created.
Fix by not changing the directory and adjusting the ln invocation instead.
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/json-c')
0 files changed, 0 insertions, 0 deletions