diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2010-10-09 15:18:13 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2010-10-21 00:48:38 +0200 |
commit | 455a48017a2c23a845110bbedbbe404daea01eed (patch) | |
tree | 419cdc93358f3014a869f2f53d0d6fe212770046 /recipes/zaurus-utils/zaurus-installer.bb | |
parent | 4c0ffd9aaab88a55b5417c64329b253b77d0ba0c (diff) | |
download | openembedded-455a48017a2c23a845110bbedbbe404daea01eed.tar.gz |
zaurus-utils: apply oe-stylize
Diffstat (limited to 'recipes/zaurus-utils/zaurus-installer.bb')
-rw-r--r-- | recipes/zaurus-utils/zaurus-installer.bb | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/recipes/zaurus-utils/zaurus-installer.bb b/recipes/zaurus-utils/zaurus-installer.bb index d4fcddef3b..bc345c2e56 100644 --- a/recipes/zaurus-utils/zaurus-installer.bb +++ b/recipes/zaurus-utils/zaurus-installer.bb @@ -1,39 +1,34 @@ DESCRIPTION = "Installkit for kexecboot-kernel" +LICENSE = "zaurus-installer" DEPENDS = "${@base_conditional('MACHINE', 'collie', 'linux-kexecboot', 'zaurus-updater linux-kexecboot', d)}" DEPENDS += "${@base_conditional('MACHINE', 'spitz', 'zaurus-legacy-tar', '', d)}" -LICENSE = "zaurus-installer" PR = "r4" -PACKAGES = "" -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = '(collie|poodle|c7x0|spitz|akita|tosa)' - do_compile() { } -do_deploy() { +PACKAGE_ARCH = "${MACHINE_ARCH}" +PACKAGES = "" + +# package_stagefile_shell need to run before populate_sysroot for packaged-staging +addtask deploy before do_populate_sysroot after do_compile +COMPATIBLE_MACHINE = "(collie|poodle|c7x0|spitz|akita|tosa)" + +do_deploy() { cd ${DEPLOY_DIR_IMAGE} rm -rf ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}/ mkdir installkit-${MACHINE}/ - [ -f "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin" ] && cp ${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin installkit-${MACHINE}/${KERNEL_IMAGETYPE} - if [ ! "${MACHINE}" = "collie" ]; then cp updater.sh installkit-${MACHINE}/updater.sh fi - if [ "${MACHINE}" = "spitz" ]; then cp ${DEPLOY_DIR_IMAGE}/gnu-tar installkit-${MACHINE}/gnu-tar fi - tar czf ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}.tar.gz installkit-${MACHINE}/ md5sum ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}.tar.gz > ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}.tar.gz.md5 rm -rf ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}/ - package_stagefile_shell ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}.tar.gz package_stagefile_shell ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}.tar.gz.md5 } - -# package_stagefile_shell need to run before populate_sysroot for packaged-staging -addtask deploy before do_populate_sysroot after do_compile |