From 05ae71d8f2f5f91b66c8f836ee878de65150bc9e Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 7 Sep 2024 09:59:35 +0200 Subject: [PATCH] Store EXTENSION list to the image instead to the BSP --- lib/functions/rootfs/distro-agnostic.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/functions/rootfs/distro-agnostic.sh b/lib/functions/rootfs/distro-agnostic.sh index 26dc811955..4cd8428b84 100644 --- a/lib/functions/rootfs/distro-agnostic.sh +++ b/lib/functions/rootfs/distro-agnostic.sh @@ -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