I want to build an minimalistic image where just needed packages are installed.
I'm doing this in an Ubuntu 22.04 WSL Instance:
make toolchain REBUILD_TOOLS=y
make image -j$(nproc) REBUILD_TOOLS=n REBUILD_PACKAGES=n CONFIG_FILE=imageconfigs/minimal-os.json
But I noticed after booting the created vhdx in HyperV that way more packages are installed than there are defined in the minimal-os-packages.json config file. For example gcc, perl and a lot of other stuff which are not a dependency.
So my question is, if and how you can build an image with just the packages defined (plus dependencies) in the PackageLists JSONs?
I want to build an minimalistic image where just needed packages are installed.
I'm doing this in an Ubuntu 22.04 WSL Instance:
But I noticed after booting the created vhdx in HyperV that way more packages are installed than there are defined in the
minimal-os-packages.jsonconfig file. For example gcc, perl and a lot of other stuff which are not a dependency.So my question is, if and how you can build an image with just the packages defined (plus dependencies) in the PackageLists JSONs?