Help with st-image-core shrinking
Hello ST Team!
I'm trying to setup a simple headless distribution (with last available kit from ST), using st-image-core as a basis:
"DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh"
followed by:
"bitbake st-image-core"
It compiles fine, and i can test on my DK2.
So I modified <builddir>/local.conf to include:
IMAGE_INSTALL_append = " python3-requests"
IMAGE_INSTALL_append = " python3-spidev"
and to remove some package:
DISTRO_FEATURES_remove = " alsa gstreamer splashscreen kde pulseaudio" in order to get a thinner distro.
All is fine at this step.
Unfornately i'm trying to remove 'packagegroup-st-demo" or "m4projects-stm32mp1-userfs" "linux-examples-stm32mp1-userfs"
using the same methods, with no success! By the way it would be cool to remove unused partition too (/usr/local/)
1) May someone could tell me what is the correct way to do this?
2) When it successfuly compiles, i see an "uInitrd" thing in the /boot partition and i'm not sure what to do with it. My Linux knowledge is not best as i would hope, so i'd like to remove it too.
(in order to have the closest approaching distribution regarding the Starter package)
3)And last question, regarding "extlinux.conf":
with my last made distrib, i see the following (lines truncated):
"APPEND root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200"
If i compare it with DK2-Starter kit, we have:
"APPEND root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200"
-->What is the magic number?
-->How can i set it like the StarterKit "extLinux.conf"?
Voilà, lot of questions,
Answering should help me to get out of this Innsmouth fog.
Have nice Holidays!
