Skip to contentSkip to conversation

Creata a .bin image

DISCUSSION [email protected] 1 participant 1 message Aug 8, 2024

lore
Share & tools
lore
#0 lore raw

Hello,
In my usecase I need a tiny varsion of Linux, because I have only 16 MB of persistence memory. I manage to build an image which size is about a half of available memory.

Quoted 18 lines

DISTRO = xware
DISTRO_VERSION = 0.0.1
USER_CLASSES =
IMAGE_CLASSES = image-artifact-names license_image IMAGE_FEATURES = debug-tweaks hwcodecs
IMAGE_LINGUAS = en-us en-gb
IMAGE_INSTALL = packagegroup-core-boot
BAD_RECOMMENDATIONS =
NO_RECOMMENDATIONS =
PACKAGE_EXCLUDE =
ROOTFS_POSTPROCESS_COMMAND = write_package_manifest license_create_manifest   ssh_allow_empty_password  ssh_allow_root_login postinst_enable_logging  rootfs_update_timestamp   write_image_test_data empty_var_volatile  tidy_shadowutils_files rootfs_reproducible IMAGE_POSTPROCESS_COMMAND =  buildhistory_get_imageinfo IMAGESIZE = 8760

Looks well, but at the end of building I have .wic.gz file (9,6MB) and inside it there is .wic file (131,6 MB). How can I get a .bin file contains only u-boot, kernel and rootfs, which size is 8760?