blob: f387eda5fd058ee3140954c8525d0382f2006b78 [file] [log] [blame]
STATE_DIR_CONTENT = "${IMAGE_ROOTFS}/../usrdata"
mk_tinyrootfs_image() {
mkdir -p ${STATE_DIR_CONTENT}/tmp
mkdir -p ${STATE_DIR_CONTENT}/etc
mkdir -p ${STATE_DIR_CONTENT}/var
mkdir -p ${STATE_DIR_CONTENT}/usr
mkdir -p ${STATE_DIR_CONTENT}/usr/bin
mkdir -p ${STATE_DIR_CONTENT}/usr/sbin
mkdir -p ${STATE_DIR_CONTENT}/config
install -d ${STATE_DIR_CONTENT}
rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/rules/evdev.xml
rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/rules/base.xml
rm -fr ${IMAGE_ROOTFS}/usr/share/X11/xkb/symbols/nokia_vndr/rx-51
rm -fr ${IMAGE_ROOTFS}/usr/lib/libQt5Test.so.5.8.0
rm -fr ${IMAGE_ROOTFS}/usr/lib/libQt5QuickTest.so.5.8.0
rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt2701.so
rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt2712.so
rm -fr ${IMAGE_ROOTFS}/usr/lib/libmdp_prot.mt8173.so
rm -fr ${IMAGE_ROOTFS}/usr/share/weston/rawdata.rgb565
}
ROOTFS_POSTPROCESS_COMMAND += " mk_tinyrootfs_image;"