rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | STATE_DIR_CONTENT = "${IMAGE_ROOTFS}/../usrdata" |
| 2 | |
| 3 | mk_tinyrootfs_image() { |
| 4 | mkdir -p ${STATE_DIR_CONTENT}/tmp |
| 5 | mkdir -p ${STATE_DIR_CONTENT}/etc |
| 6 | mkdir -p ${STATE_DIR_CONTENT}/var |
| 7 | mkdir -p ${STATE_DIR_CONTENT}/usr |
| 8 | mkdir -p ${STATE_DIR_CONTENT}/usr/bin |
| 9 | mkdir -p ${STATE_DIR_CONTENT}/usr/sbin |
| 10 | mkdir -p ${STATE_DIR_CONTENT}/config |
| 11 | |
| 12 | install -d ${STATE_DIR_CONTENT} |
| 13 | rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/rules/evdev.xml |
| 14 | rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/rules/base.xml |
| 15 | rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/symbols/nokia_vndr/rx-51 |
| 16 | |
| 17 | rm -fr ${IMAGE_ROOTFS}/usr/lib/libQt5Test.so.5.8.0 |
| 18 | rm -fr ${IMAGE_ROOTFS}/usr/lib/libQt5QuickTest.so.5.8.0 |
| 19 | |
| 20 | rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt2701.so |
| 21 | rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt2712.so |
| 22 | rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt8173.so |
| 23 | rm -fr ${IMAGE_ROOTFS}/usr/share/weston/rawdata.rgb565 |
| 24 | } |
| 25 | |
| 26 | ROOTFS_POSTPROCESS_COMMAND += " mk_tinyrootfs_image;" |
| 27 | |
| 28 | |