calamares: fix branding componentName sed writing to ${DEST} not ${SDCARD}

The branding directory is created and populated under ${SDCARD} (the image
rootfs), but the componentName rewrite targeted ${DEST} (the build's .deb
output dir), so the "componentName: default -> armbian" fix never landed in
the image. Calamares would then fail to resolve the "armbian" branding named
in settings.conf. Point the sed at ${SDCARD}, matching the surrounding steps.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
This commit is contained in:
Igor Pecovnik
2026-09-07 09:47:37 +02:00
committed by Igor
parent dec077cbce
commit 60dc7999f9
+1 -1
View File
@@ -19,7 +19,7 @@ function post_repo_customize_image__install_calamares() {
# The copied branding.desc file still contains 'componentName: default'.
# We must change it to 'armbian' to match our directory name and settings.conf.
echo "Updating branding component name to 'armbian'..."
sed -i 's/componentName: default/componentName: armbian/g' "${DEST}/etc/calamares/branding/armbian/branding.desc"
sed -i 's/componentName: default/componentName: armbian/g' "${SDCARD}/etc/calamares/branding/armbian/branding.desc"
# --- Copy the QML Files ---
# The default branding theme is often incomplete and missing the 'qml' folder.