diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-03-17 00:50:34 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-03-17 11:07:58 -0700 |
commit | bea53b82ce187c30729efde6ea974aca5ee7f7d0 (patch) | |
tree | e25b329200b1e6824e554469ddd86415091e0304 /contrib | |
parent | 61a44923aeee2e0e07b095b44bb5b8147118d5dd (diff) | |
download | openembedded-bea53b82ce187c30729efde6ea974aca5ee7f7d0.tar.gz |
image.bbclass: add link to .rootfs.<type> or .<type>.img
The current image link-creation code will unconditionaly create a link
from .<type> pointing to the .rootfs.<type> output.
This is not compatible with the UBIFS images produced which have
.<type>.img extension since they are not considered to be valid rootfs
images when they are not included in a UBI container.
Check for existence of the link target .rootfs.<type> before creating the
link and fallback to a check for the .<type>.img target after that.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
(cherry picked from commit cfde49e8d0f1cf09d589910f1a342849db148519)
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions