Skip to content

desktops/common: use epiphany-browser on Ubuntu/riscv64#870

Merged
igorpecovnik merged 1 commit intomainfrom
desktops-ubuntu-riscv64-browser
Apr 18, 2026
Merged

desktops/common: use epiphany-browser on Ubuntu/riscv64#870
igorpecovnik merged 1 commit intomainfrom
desktops-ubuntu-riscv64-browser

Conversation

@igorpecovnik
Copy link
Copy Markdown
Member

The noble / jammy / resolute entries in the browser: map resolved to firefox on riscv64, which doesn't install:

  • Mozilla doesn't publish riscv64 binaries (tier-3 arch upstream), so apt.armbian.com has nothing to repackage.
  • Ubuntu's firefox package is the snap-transitional shim — pulls snapd, which Armbian doesn't ship.
  • firefox-esr is a Debian-only name; packages.ubuntu.com/noble/riscv64/firefox-esr returns 'No such package'.

Fall back to epiphany-browser (GNOME Web): native GTK, no snap, available for riscv64 on every Ubuntu release we support. Matches the file's own docstring recommendation for Ubuntu-snap-shim cases.

Smoke-tested via parse_desktop_yaml.py xfce <release> riscv64 --tier mid: all three releases now resolve browser to epiphany-browser.

The noble/jammy/resolute riscv64 entries in the browser map pointed
at 'firefox', which is wrong on several fronts:

- Mozilla doesn't publish riscv64 binaries (tier-3 arch upstream), so
  there's nothing for apt.armbian.com to repackage.
- Ubuntu's 'firefox' apt name is the snap-transitional .deb — it
  pulls snapd, which Armbian doesn't ship.
- 'firefox-esr' is Debian-only and returns 'No such package' on
  packages.ubuntu.com/noble/riscv64 (and jammy / resolute).

Fall back to GNOME Web (epiphany-browser): native GTK, no snap
dependency, small footprint, built for riscv64 on every Ubuntu
release we care about. Already the recommended Ubuntu-fallback in
this file's own docstring for similar snap-shim cases.
@github-actions github-actions Bot added size/small PR with less then 50 lines 05 Milestone: Second quarter release labels Apr 18, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 18, 2026

Walkthrough

A YAML configuration file for desktop package mappings is updated to change the browser package selection for Ubuntu releases noble, jammy, and resolute on the riscv64 architecture. The mapping is changed from firefox to epiphany-browser due to Firefox package unavailability on this architecture combination. No changes are made to other releases, architectures, or Debian configurations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: updating the browser package for Ubuntu/riscv64 to use epiphany-browser.
Description check ✅ Passed The description provides detailed context for the change, explaining why firefox cannot be used on riscv64 and why epiphany-browser is the appropriate alternative.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch desktops-ubuntu-riscv64-browser

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@tools/modules/desktops/yaml/common.yaml`:
- Around line 106-110: Update the wording around the riscv64 browser fallback:
clarify that the `firefox` package exists only as a transitional snap-shim (not
a native deb) rather than saying it isn’t in the archive, and keep the fallback
mapping `riscv64: epiphany-browser`; add a note comment referencing Launchpad
Bug `#2086779` about an unresolved epiphany crash on Noble/riscv64 and require a
manual test-install + launch/load on a riscv64 image (in addition to the
existing parser smoke test) before making `epiphany-browser` the default.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 28509a04-1940-456d-9cf9-da560f346527

📥 Commits

Reviewing files that changed from the base of the PR and between 4f1b9d4 and b7a4111.

📒 Files selected for processing (1)
  • tools/modules/desktops/yaml/common.yaml

Comment thread tools/modules/desktops/yaml/common.yaml
@igorpecovnik igorpecovnik merged commit b07ecbf into main Apr 18, 2026
96 of 107 checks passed
@igorpecovnik igorpecovnik deleted the desktops-ubuntu-riscv64-browser branch April 18, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release size/small PR with less then 50 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant