Hello Chad Gong,
You can list all packages of an image with the command:
bitbake -g <image> && cat pn-buildlist | grep -ve "native" | sort | uniq
And then work from there removing unnecessary packages by adding the following line on the conf/local.conf file inside the build directory like so:
IMAGE_INSTALL_remove += “ package package1 package2”
Also, the .sdcard image has some free space build in. You can find mode information of the .sdcard partitions on the following document:
https://community.nxp.com/docs/DOC-105521
I hope this helps!
Regards,