Skip to content

armbian-desktop package is severely inconsistent across arch/appgroups/config_base #5439

Open
@rpardini

Description

@rpardini

What happened?

Ok so here's an old impasse. Hold on to your hat.
config/optional/architectures/amd64/_config/desktop/_all_distributions/appgroups/browsers/packages
This adds google-chrome-stable (with an extra apt-source) to AGGREGATED_PACKAGES_DESKTOP_COMMA.
But only if:

  • ARCH=amd64 and
  • APPGROUPS includes "browsers"

So it is not included for any arm64, ever, nor if APPGROUPS does not include "browsers".
All good.

Unfortunately, the armbian-desktop deb is then inconsistent:

  • Resulting package name would be armbian-jammy-desktop-gnome
  • package is Architecture: all
  • Recommends: AGGREGATED_PACKAGES_DESKTOP_COMMA (only for the amd64+browsers case, that includes google-chrome-stable)

So it's actually impossible to conciliate desktop aggregation (release+arch+appgroups+config_base+...) with a "single package", arch-independent, "armbian-desktop" package that is only per-RELEASE + DESKTOP_ENVIROMENT.
It gets worse if we consider AGGREGATED_DESKTOP_POSTINST and AGGREGATED_DESKTOP_CREATE_DESKTOP_PACKAGE which are also included in that package.

Some possibilities:

  • Make the package arch-specific (solves some cases, but not the config_base nor appgroups scenarios.)
  • Twist aggregation so we produce some kind of appgroup/config_base-independent AGGREGATED_PACKAGES_DESKTOP_SANS_APPGROUPS_SANS_CONFIG_BASE_COMMA and use that in the package Recommends.

How to reproduce?

"Simple" way to reproduce:

  • ./compile.sh 'BETA=yes' 'BOARD=uefi-arm64' 'BRANCH=current' 'BUILD_DESKTOP=yes' 'BUILD_MINIMAL=no' 'DESKTOP_APPGROUPS_SELECTED=browsers' 'DESKTOP_ENVIRONMENT=gnome' 'DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base' 'RELEASE=jammy' ARTIFACT_IGNORE_CACHE=yes

  • ./compile.sh 'BETA=yes' 'BOARD=uefi-x86' 'BRANCH=current' 'BUILD_DESKTOP=yes' 'BUILD_MINIMAL=no' 'DESKTOP_APPGROUPS_SELECTED=browsers' 'DESKTOP_ENVIRONMENT=gnome' 'DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base' 'RELEASE=jammy' ARTIFACT_IGNORE_CACHE=yes

  • ./compile.sh 'BETA=yes' 'BOARD=uefi-x86' 'BRANCH=current' 'BUILD_DESKTOP=yes' 'BUILD_MINIMAL=no' 'DESKTOP_APPGROUPS_SELECTED=none' 'DESKTOP_ENVIRONMENT=gnome' 'DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base' 'RELEASE=jammy' ARTIFACT_IGNORE_CACHE=yes

Each of these 3 builds produces a different armbian-jammy-desktop-gnome.

Branch

main (main development branch)

On which host OS are you observing this problem?

Jammy

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it shouldDesktopGraphical user interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions