Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/cli/questing/debootstrap/components
2 changes: 2 additions & 0 deletions config/cli/questing/debootstrap/packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
locales
apt
1 change: 1 addition & 0 deletions config/cli/questing/main/config_desktop
1 change: 1 addition & 0 deletions config/cli/questing/main/packages
1 change: 1 addition & 0 deletions config/cli/resolute
1 change: 1 addition & 0 deletions config/desktop/questing/appgroups
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64
1 change: 1 addition & 0 deletions config/desktop/questing/environments/cinnamon/armbian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/cinnamon/debian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/cinnamon/support
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
supported
1 change: 1 addition & 0 deletions config/desktop/questing/environments/gnome/architectures
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64
1 change: 1 addition & 0 deletions config/desktop/questing/environments/gnome/armbian
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
locales
apt
1 change: 1 addition & 0 deletions config/desktop/questing/environments/gnome/debian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/gnome/support
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
supported
1 change: 1 addition & 0 deletions config/desktop/questing/environments/i3-wm/architectures
1 change: 1 addition & 0 deletions config/desktop/questing/environments/i3-wm/armbian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/i3-wm/debian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/i3-wm/support
1 change: 1 addition & 0 deletions config/desktop/questing/environments/kde-plasma-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64
1 change: 1 addition & 0 deletions config/desktop/questing/environments/kde-plasma/debian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/kde-plasma/support
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
csc
1 change: 1 addition & 0 deletions config/desktop/questing/environments/xfce/architectures
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arm64, amd64, armhf, riscv64
1 change: 1 addition & 0 deletions config/desktop/questing/environments/xfce/armbian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/xfce/debian
1 change: 1 addition & 0 deletions config/desktop/questing/environments/xfce/support
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
supported
1 change: 1 addition & 0 deletions config/desktop/resolute
2 changes: 1 addition & 1 deletion lib/functions/bsp/armbian-bsp-cli-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function reversion_armbian-bsp-cli_deb_contents() {
depends_base_files=""
fi
cat <<- EOF >> "${control_file_new}"
Depends: bash, linux-base, u-boot-tools, initramfs-tools, lsb-release, fping, device-tree-compiler${depends_base_files}
Depends: bash, linux-base, linux-image, u-boot-tools, initramfs-tools, lsb-release, fping, device-tree-compiler${depends_base_files}
Replaces: zram-config, armbian-bsp-cli-${BOARD}${EXTRA_BSP_NAME} (<< ${REVISION})
Breaks: armbian-bsp-cli-${BOARD}${EXTRA_BSP_NAME} (<< ${REVISION})
Provides: armbian-bsp-cli
Expand Down
1 change: 1 addition & 0 deletions lib/functions/configuration/config-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function desktop_environment_check_if_valid() {

function interactive_desktop_main_configuration() {
[[ $BUILD_DESKTOP != "yes" ]] && return 0 # Only for desktops.
[[ $APA_IS_ACTIVE ]] || return 0 # APA takes care of installing desktop packages

DESKTOP_ELEMENTS_DIR="${SRC}/config/desktop/${RELEASE}"
DESKTOP_CONFIGS_DIR="${DESKTOP_ELEMENTS_DIR}/environments"
Expand Down
2 changes: 1 addition & 1 deletion lib/functions/main/config-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function check_config_userspace_release_and_desktop() {
fi

# Desktop sanity checks, in the same vein.
if [[ "${DESKTOP_ENVIRONMENT}" != "" ]]; then
if [[ "${DESKTOP_ENVIRONMENT}" != "" && ! $APA_IS_ACTIVE ]]; then

# If DESKTOP_ENVIRONMENT is set, but BUILD_DESKTOP is not, then we have a problem.
if [[ "${BUILD_DESKTOP}" != "yes" ]]; then
Expand Down
18 changes: 16 additions & 2 deletions lib/functions/rootfs/rootfs-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,19 @@ function create_new_rootfs_cache_via_debootstrap() {
declare -ga debootstrap_arguments=(
"--variant=minbase" # minimal base variant. go ask Debian about it.
"--arch=${ARCH}" # the arch
"'--include=${AGGREGATED_PACKAGES_DEBOOTSTRAP_COMMA}'" # from aggregation.py
"'--components=${AGGREGATED_DEBOOTSTRAP_COMPONENTS_COMMA}'" # from aggregation.py
)
if [[ ! -z "${AGGREGATED_PACKAGES_DEBOOTSTRAP_COMMA}" ]]; then
# from aggregation.py
debootstrap_arguments+=("'--include=${AGGREGATED_PACKAGES_DEBOOTSTRAP_COMMA}'")
else
#FIXME: push the locales-gen stuff into extensions/apa.sh ?
# if apt isn't part of minbase, the above feels like the wrong solution.
debootstrap_arguments+=("'--include=locales,apt'")
fi
if [[ ! -z "${AGGREGATED_DEBOOTSTRAP_COMPONENTS_COMMA}" ]]; then
# from aggregation.py
debootstrap_arguments+=("'--components=${AGGREGATED_DEBOOTSTRAP_COMPONENTS_COMMA}'")
fi
if [[ "${LEGACY_DEBOOTSTRAP,,}" == "no" ]]; then
debootstrap_arguments+=("'--skip=check/empty'") # skips check if the rootfs dir is empty at start
fetch_distro_keyring "$RELEASE"
Expand Down Expand Up @@ -324,6 +334,10 @@ function create_new_rootfs_cache_via_debootstrap() {
# don't touch the local cache.
DONT_MAINTAIN_APT_CACHE="yes" chroot_sdcard_apt_get autoremove

if [[ $APA_IS_ACTIVE ]]; then
post_armbian_repo_customize_image__install_from_apa #FIXME: rename this hook
fi

# Purge/clean apt cache in the target. It should _not_ have been used, but if it was, warn & clean.
apt_purge_unneeded_packages_and_clean_apt_caches

Expand Down