tsmd: install also a little helper script to control the touchscreen daemon
[openembedded.git] / classes / nas100d-image.bbclass
blob6c147cc0fb58e70d6413b63650fd165804b6a2c1
1 nas100d_pack_image () {
2         install -d ${DEPLOY_DIR_IMAGE}/firmupgrade
3         install -m 0755 ${DEPLOY_DIR_IMAGE}/zImage-nslu2${SITEINFO_ENDIANNESS}.bin \
4                 ${DEPLOY_DIR_IMAGE}/firmupgrade/ip-ramdisk
5         install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
6                 ${DEPLOY_DIR_IMAGE}/firmupgrade/rootfs.gz
7         touch ${DEPLOY_DIR_IMAGE}/firmupgrade/usr.cramfs
8         chmod 0644 ${DEPLOY_DIR_IMAGE}/firmupgrade/usr.cramfs
9         echo "hwid=1.0.1"      >${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
10         echo "model=koala"    >>${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
11         echo "vendor=iomega"  >>${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
12         echo ""               >>${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
13         chmod 0744 ${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
14         tar -c -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nas100d.bin \
15                 -C ${DEPLOY_DIR_IMAGE} firmupgrade
16         rm -rf ${DEPLOY_DIR_IMAGE}/firmupgrade
19 IMAGE_POSTPROCESS_COMMAND += "nas100d_pack_image; "