gnome-games: add virtual/libsdl as dependency and bump PR
[openembedded.git] / classes / dsmg600-image.bbclass
blob16c6b6eeb03d625692e494923d492dc5aad57a9a
1 dsmg600_pack_image () {
2         install -d ${DEPLOY_DIR_IMAGE}/firmupgrade
3         install -m 0755 ${DEPLOY_DIR_IMAGE}/zImage-nslu2${SITEINFO_ENDIANESS}.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=dsm-g600" >>${DEPLOY_DIR_IMAGE}/firmupgrade/version.msg
11         echo "vendor=dlink"   >>${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}-dsmg600.bin \
15                 -C ${DEPLOY_DIR_IMAGE} firmupgrade
16         rm -rf ${DEPLOY_DIR_IMAGE}/firmupgrade
19 IMAGE_POSTPROCESS_COMMAND += "dsmg600_pack_image; "