support for Ubuntu 26.04+#14403
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Linux dependency installer to handle Debian/Ubuntu package renames on newer Ubuntu releases (notably Ubuntu 26.04+), so QGroundControl’s build dependencies can still be installed successfully.
Changes:
- Add a Debian/Ubuntu package alternative mapping for renamed/replaced packages (GStreamer “good” dev package → “extra” dev package).
- Improve apt availability detection by switching from
apt-cache showtoapt-cache policyand checking for a non-(none)install candidate. - Resolve package alternatives prior to running the main
apt-get install.
| all_candidates = {name for pkg in needs_check for name in [pkg, *DEBIAN_PACKAGE_ALTERNATIVES[pkg]]} | ||
| with ThreadPoolExecutor() as pool: | ||
| availability = dict(zip(all_candidates, pool.map(check_apt_package_available, all_candidates), strict=False)) |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (25.56%) is below the target coverage (30.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #14403 +/- ##
==========================================
+ Coverage 25.47% 25.56% +0.09%
==========================================
Files 769 769
Lines 65912 66244 +332
Branches 30495 30640 +145
==========================================
+ Hits 16788 16938 +150
+ Misses 37285 37282 -3
- Partials 11839 12024 +185
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Build ResultsPlatform Status
All builds passed. Pre-commit
Pre-commit hooks: 4 passed, 45 failed, 7 skipped. Test Resultslinux-coverage: 90 passed, 0 skipped Code CoverageCoverage: 59.5% No baseline available for comparison Artifact Sizes
Updated: 2026-05-18 08:19:01 UTC • Triggered by: Android |
Description
The llibgstreamer package changed name.
This is how an attempt to install libgstreamer-plugins-good1.0-dev on newer Ubuntu went:
Type of Change
Testing
Platforms Tested
Flight Stacks Tested
Screenshots
Checklist
Related Issues
By submitting this pull request, I confirm that my contribution is made under the terms of the project's dual license (Apache 2.0 and GPL v3).