Skip to content

Commit 24ee802

Browse files
committed
APA: skip building armbian-desktop and armbian-bsp-desktop packages
1 parent 79e7206 commit 24ee802

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/functions/main/build-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function determine_artifacts_to_build_for_image() {
4545
artifacts_to_build+=("armbian-bsp-cli")
4646

4747
# Userspace, RELEASE-specific artifacts.
48-
if [[ -n "${RELEASE}" ]]; then
48+
if [[ -n "${RELEASE}" && ! $APA_IS_ACTIVE ]]; then
4949
if [[ -n "${DESKTOP_ENVIRONMENT}" ]]; then
5050
artifacts_to_build+=("armbian-desktop")
5151
artifacts_to_build+=("armbian-bsp-desktop")

lib/functions/rootfs/distro-agnostic.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function install_distribution_agnostic() {
407407
install_artifact_deb_chroot "armbian-bsp-cli"
408408

409409
# install armbian-desktop
410-
if [[ $BUILD_DESKTOP == yes ]]; then
410+
if [[ ! $APA_IS_ACTIVE && $BUILD_DESKTOP == yes ]]; then
411411
install_artifact_deb_chroot "armbian-desktop"
412412
install_artifact_deb_chroot "armbian-bsp-desktop"
413413
# install display manager and PACKAGE_LIST_DESKTOP_FULL packages if enabled per board

0 commit comments

Comments
 (0)