Store VENDORPRETTYNAME to the image instead to the BSP. This is image property.

This commit is contained in:
Igor Pecovnik 2024-09-07 11:54:39 +02:00 committed by Igor
parent 05ae71d8f2
commit 7aa89f350f

View File

@ -483,6 +483,11 @@ function install_distribution_agnostic() {
# save list of enabled extensions for this image
EXTENSIONS=${ENABLE_EXTENSIONS} >> "${SDCARD}"/etc/armbian-image-release
# store vendor pretty name to image only. We don't need to save this in BSP upgrade
# files. Vendor should be only defined at build image stage.
[[ -z $VENDORPRETTYNAME ]] && VENDORPRETTYNAME="${VENDOR}"
VENDORPRETTYNAME="$VENDORPRETTYNAME" >> "${SDCARD}"/etc/armbian-image-release
# DNS fix. package resolvconf is not available everywhere
if [ -d "${SDCARD}"/etc/resolvconf/resolv.conf.d ] && [ -n "$NAMESERVER" ]; then
echo "nameserver $NAMESERVER" > "${SDCARD}"/etc/resolvconf/resolv.conf.d/head