Store VENDORPRETTYNAME to the image instead to the BSP. This is image property.
This commit is contained in:
parent
05ae71d8f2
commit
7aa89f350f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user