Closed RichNeese closed 3 years ago
Are the apt options actually named "--install-recommends" and "--install-suggests" ? I don't have a Debian system available right now, so I can't really check.
If that's the case, a simple menu with selectable flags, like :
Should generate a list like INSTALL_FLAGS="recommends suggests"
Then, it's just basically a matter of doing something like :
for flag in INSTALL_FLAGS; do
apt_additional_flags+=" --install-${flag}"
done
so your saying like this ./compile.sh CLEAN_LEVEL="" INSTALL_FLAGS="recommends suggests" BOARD=pinebook-pro BRANCH=current RELEASE=focal BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_ONLY=no KERNEL_CONFIGURE=no DESKTOP_ENVIRONMENT="budgie" DESKTOP_ENVIRONMENT_CONFIG_NAME="config_full" COMPRESS_OUTPUTIMAGE=sha,gpg,img,xz
Once I add the feature, yes. It's not added for the moment.
This has been added here : https://github.com/Miouyouyou/armbian-desktop/commit/195cce185cd5ca4b5966d1bab258fe09a967f1b0
The environment variable DESKTOP_APT_FLAGS_SELECTED
and can be defined like this :
DESKTOP_APT_FLAGS_SELECTED="suggests"
Through I HIGHLY recommend to NOT use that option, unless you're absolutely sure you want it. This generates gigantic build over small packages installations, since the flag will recursively propagate on each dependency of every package you're trying to install.
we need a way to set 2 optional flags when building desktops --install-reccomends and --install-suggests like a file called install_flags .thete is also --noinstall for both of these also.
this would allow for build desktops to include more when needed.