mirror of
https://github.com/armbian/build.git
synced 2026-09-08 23:59:54 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user