I am trying to build a snapshot image for tplink_tl-wpa8630p-v2-eu with luci and some other packages using the Imagebuilder here. However Imagebuilder by default is adding some extra packages (e.g. procd-selinux) that aren't present in the snapshot images or images built from source. This results in image sizes that exceed the available space. Building from source and including the packages fit OK.
Here is the difference between the installed packages in imagebuilder output and snapshot/source builds when NO extra packages are selected.
Where are these different dependencies coming from? e.g. procd-selinux, iw-full ? I can't seem to de-select them or track down what is including them. Thanks!
These aren't included by default in the source builds:
$ make defconfig
$ grep "procd\|iw" .config
CONFIG_PACKAGE_procd=y
# CONFIG_PACKAGE_procd-selinux is not set
CONFIG_PACKAGE_iw=y
# CONFIG_PACKAGE_iw-full is not set
I realized this can be worked around by passing procd and iw to ImageBuilder. The resulting image contains the same packages as the default images built from source:
make manifest PROFILE="tplink_tl-wpa8630p-v2-eu" PACKAGES="procd iw"
My only remaining question is why procd-selinux and iw-full are being chosen by the Imagebuilder opkg dependency resolution instead of procd and iw which are the defaults in the build.
In the generated .targetinfo file, should procd iw be put into the ath79/generic Default-Packages section? Or is it up to the individual device profiles to specify them, depending on size constraints? That looks to be the case, e.g. iwinfo is commonly specified by a lot of other profiles, but procd isn't specified anywhere (maybe because procd-selinux is new?).