DESCRIPTION = "Encrypted shellscript for the Zaurus ROM update" LICENSE = "zaurus-updater" DEPENDS = "encdec-updater-native" PR = "r25" SRC_URI = "file://updater.sh" S = "${WORKDIR}" do_configure() { sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh" } do_compile() { encdec-updater -e updater.sh } # even though the package is not machine-specific # we have to force it there to allow multimachine builds 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 = "(poodle|c7x0|spitz|akita|tosa)" do_deploy() { install -d ${DEPLOY_DIR_IMAGE} install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh package_stagefile_shell ${DEPLOY_DIR_IMAGE}/updater.sh }