Skip to content

Commit

Permalink
Store list of preinstalled extensions EXTENSIONS and add VENDORPRETTY…
Browse files Browse the repository at this point in the history
…NAME to image fingerprint
  • Loading branch information
igorpecovnik committed Sep 1, 2024
1 parent 0a18ec6 commit 59a34fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/functions/bsp/armbian-bsp-cli-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function compile_armbian-bsp-cli() {
BOARDFAMILY=${BOARDFAMILY}
BUILD_REPOSITORY_URL=${BUILD_REPOSITORY_URL}
BUILD_REPOSITORY_COMMIT=${BUILD_REPOSITORY_COMMIT}
EXTENSIONS=${ENABLE_EXTENSIONS}
LINUXFAMILY=$LINUXFAMILY
ARCH=$ARCHITECTURE
BOOT_SOC=$BOOT_SOC
Expand All @@ -107,6 +108,7 @@ function compile_armbian-bsp-cli() {
FORCE_BOOTSCRIPT_UPDATE=$FORCE_BOOTSCRIPT_UPDATE
FORCE_UBOOT_UPDATE=$FORCE_UBOOT_UPDATE
VENDOR="$VENDOR"
VENDORPRETTYNAME="$VENDORPRETTYNAME"
VENDORDOCS="$VENDORDOCS"
VENDORURL="$VENDORURL"
VENDORSUPPORT="$VENDORSUPPORT"
Expand Down
1 change: 1 addition & 0 deletions lib/functions/configuration/main-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function do_main_configuration() {

# Armbian image is set as unofficial if build manually or without declaring from outside
[[ -z $VENDOR ]] && VENDOR="Armbian-unofficial"
[[ -z $VENDORPRETTYNAME ]] && VENDORPRETTYNAME="${VENDOR}"

# Use framework defaults for community Armbian images and unsupported distribution when building Armbian distribution
if [[ ${VENDOR} == "Armbian" ]] && [[ ${BOARD_TYPE} != "conf" || $(cat $SRC/config/distributions/$RELEASE/support) != "supported" ]]; then
Expand Down
1 change: 1 addition & 0 deletions lib/functions/image/fingerprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function fingerprint_image() {
Build date: $(date +'%d.%m.%Y')
Sources: ${BUILD_REPOSITORY_URL}
Sources rev: ${BUILD_REPOSITORY_COMMIT}
Extensions: ${ENABLE_EXTENSIONS}
Authors: https://www.armbian.com/authors
Maintainer: ${MAINTAINER} <$MAINTAINERMAIL>
Support: ${VENDORSUPPORT}
Expand Down

0 comments on commit 59a34fe

Please sign in to comment.