Store EXTENSION list to the image instead to the BSP

This commit is contained in:
Igor Pecovnik 2024-09-07 09:59:35 +02:00 committed by Igor
parent 8ee40367d4
commit 05ae71d8f2

View File

@ -480,6 +480,9 @@ function install_distribution_agnostic() {
# save initial armbian-release state
cp "${SDCARD}"/etc/armbian-release "${SDCARD}"/etc/armbian-image-release
# save list of enabled extensions for this image
EXTENSIONS=${ENABLE_EXTENSIONS} >> "${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