Skip to content

Commit

Permalink
Store VENDORPRETTYNAME to the image instead to the BSP. This is image…
Browse files Browse the repository at this point in the history
… property.
  • Loading branch information
igorpecovnik committed Sep 8, 2024
1 parent 05ae71d commit 7aa89f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/functions/rootfs/distro-agnostic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7aa89f3

Please sign in to comment.