Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store two additional variables to /etc/armbian-release #7156

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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
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