bsp: ship Armbian distributor logo (svg + wordmark png variants)#9674
bsp: ship Armbian distributor logo (svg + wordmark png variants)#9674igorpecovnik merged 2 commits intomainfrom
Conversation
artifact-armbian-base-files.sh writes LOGO=\"armbian-logo\" into /etc/os-release, but no actual armbian-logo file ever lands on the rootfs — so GNOME Settings -> About / KDE Info Center / etc. look up `armbian-logo` in the icon search paths, find nothing, and silently fall back to the upstream distro logo. Ship the SVG via the BSP overlay tree at the canonical pixmaps path (matches Ubuntu's `/usr/share/pixmaps/ubuntu-logo.svg` — referenced by `LOGO=ubuntu-logo` in upstream's os-release). Lands on every Armbian image, CLI or desktop, via armbian-bsp-cli's existing rsync of packages/bsp/common/. Follow-ups (separate work): - armbian-logo-text.png + armbian-logo-text-dark.png wordmark variants matching upstream's two PNG companions - once armbian-base-files migration (Phase 0) lands, move logo ownership from BSP to base-files for symmetry with upstream
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (3)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Companion wordmark variants for /usr/share/pixmaps/armbian-logo.svg. Mirrors upstream Ubuntu's three-file pattern in base-files: ubuntu-logo.svg (logomark, picked by LOGO= os-release field) ubuntu-logo-text.png (wordmark, light background) ubuntu-logo-text-dark.png (wordmark, dark background) Apps that prefer text-bearing icons (boot loaders, some greeters, some about dialogs that pick a wider banner) look for the *-text companions; without them they fall back to upstream branding even when the SVG is present. Both PNGs are 400x64 (Ubuntu's are 260x91 / 256x89; the wider ratio matches the Armbian wordmark). 8 KB each.
Summary
`artifact-armbian-base-files.sh:169` writes `LOGO="armbian-logo"` into `/etc/os-release`, but no actual `armbian-logo` file ever lands on the rootfs. So GNOME Settings → About, KDE Info Center, and every other panel that reads `LOGO=` from os-release looks up `armbian-logo` in the icon search paths, finds nothing, and silently falls back to the upstream distro logo. Branding has been broken at the file-presence level for as long as that field has been there.
Fix
Ship three files via the BSP overlay tree, matching upstream Ubuntu's three-file layout in base-files:
Compare with upstream:
```
ubuntu-logo.svg (890 bytes)
ubuntu-logo-text.png (260×91, 5 KB)
ubuntu-logo-text-dark.png (256×89, 4.6 KB)
```
All three land on every Armbian image (CLI or desktop) via `armbian-bsp-cli`'s existing `rsync` of `packages/bsp/common/` (`armbian-bsp-cli-deb.sh:127`). No build-flow changes, no postinst hooks needed — they're picked up by the icon cache automatically as part of `/usr/share/pixmaps/`.
Follow-ups (separate PRs)
Test plan