Skip to contentSkip to conversation

remove unneeded files from update-alternatives packages

DISCUSSION Matthias Schoepfer 2 participants 2 messages Sep 21, 2018

lore
Share & tools
lore
#0 lore raw

Hi!

In my case, I am using coreutils and busybox. But I only need one program of coreutils. Now, I have plenty binaries with .coreutils installed in my image, which bloats the image (every byte counts ;) ). Its a read-only-image, update-alternatives or package management is not used. Is there a better way to remove the unneeded files then manually removing them in a ROOTFS_POSTPROCESS_COMMAND?!

Thanks and Regards,

    Matthias

#1 lore raw

You can probably have a .bbappend file which removes all the unneeded files in do_install_append()

Alex

2018-09-21 19:29 GMT+02:00 Matthias Schoepfer
<[email protected]>:

Quoted 20 lines

Hi!

In my case, I am using coreutils and busybox. But I only need one program of coreutils. Now, I have plenty binaries with .coreutils installed in my image, which bloats the image (every byte counts ;) ). Its a read-only-image, update-alternatives or package management is not used. Is there a better way to remove the unneeded files then manually removing them in a ROOTFS_POSTPROCESS_COMMAND?!

Thanks and Regards,

Matthias

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto