diff options
author | Koen Kooi <koen@openembedded.org> | 2007-03-06 10:24:58 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-03-06 10:24:58 +0000 |
commit | 76fb5fea94809a4c14a723d192667eaf2bb0b86f (patch) | |
tree | 6e847bc8a369fce293607b963cf254346a66e5de /classes | |
parent | 438028c981a45f9fa482bdbc477ba7d354311c46 (diff) | |
parent | 420319f18131384d640955342a42d7bdb35c922b (diff) |
merge of '6466dc79dded8ec3ade8c212b27f84f9699f48e1'
and '692c2b51db3e49bf51daec9a4656898cf8994fff'
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass index 69d7fb2e9b..83aa80a97e 100644 --- a/classes/image.bbclass +++ b/classes/image.bbclass @@ -4,7 +4,7 @@ PACKAGES = "" # We need to recursively follow RDEPENDS and RRECOMMENDS for images BUILD_ALL_DEPS = "1" -do_rootfs[recrdeptask] = "do_package_write do_deploy" +do_rootfs[recrdeptask] = "do_package_write do_deploy do_populate_staging" # Images are generally built explicitly, do not need to be part of world. EXCLUDE_FROM_WORLD = "1" @@ -91,6 +91,10 @@ fakeroot do_rootfs () { else bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}" fi + + cd ${DEPLOY_DIR_IMAGE}/ + rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.* + ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type done ${IMAGE_POSTPROCESS_COMMAND} |