Skip to content

desktops: drop libu2f-udev from resolute (no installation candidate)#853

Merged
igorpecovnik merged 4 commits intomainfrom
drop-libu2f-udev-resolute
Apr 14, 2026
Merged

desktops: drop libu2f-udev from resolute (no installation candidate)#853
igorpecovnik merged 4 commits intomainfrom
drop-libu2f-udev-resolute

Conversation

@igorpecovnik
Copy link
Copy Markdown
Member

Summary

libu2f-udev was a transitional Ubuntu/Debian package that shipped udev rules for U2F security keys. The rules have since been absorbed into udev itself (and libfido2-1 for newer FIDO2 flows), so resolute (Ubuntu 26.04 LTS) drops the transitional package from the archive entirely.

Reported symptom on a real resolute desktop install:

E: Package 'libu2f-udev' has no installation candidate

Fix

Strip - libu2f-udev from each DE YAML's resolute: release block — 8 files: cinnamon, enlightenment, gnome, i3-wm, kde-plasma, mate, xfce, xmonad.

Other release blocks keep it — bookworm/trixie/noble/jammy/forky/sid still ship the transitional package and the desktop install path on those releases continues to install it. Bianbu has a resolute block but never carried libu2f-udev, so no change there.

Test plan

  • xfce.yaml resolute: block no longer references libu2f-udev (other release blocks still do)
  • On real resolute board: armbian-config --api module_desktops install de=xfce tier=full no longer hits the missing-candidate error
  • U2F security keys still work after install (udev rules now provided by udev upstream — verify with udevadm info or by plugging in a Yubikey)

…EN01)

resolute (Ubuntu 26.04 LTS) just promoted to `supported` in
armbian/build#9657, and apt.armbian.com#444 added apt.armbian.com
coverage for the snap-shim workarounds + vendor desktop apps on
resolute. Time to actually exercise the desktop install path on
resolute in CI.

Add `resolute` to RELEASE in every desktop test (10 of 11 had
`bookworm:trixie:noble`; BUDG01 had only `trixie:noble`).

Also drop `plucky` from KDEN01 — plucky is eos as of 2026-01-25,
no point running tests against an eos release.
libu2f-udev was an Ubuntu/Debian transitional package that shipped
udev rules for U2F security keys. The rules have since been
absorbed into `udev` itself (and `libfido2-1` for newer FIDO2
flows), so resolute (Ubuntu 26.04 LTS) drops the transitional
package from the archive entirely.

Symptom on resolute desktop install:
  E: Package 'libu2f-udev' has no installation candidate

Strip `- libu2f-udev` from each DE YAML's `resolute:` release block
(8 files: cinnamon, enlightenment, gnome, i3-wm, kde-plasma, mate,
xfce, xmonad). Other release blocks keep it — bookworm/trixie/
noble/jammy/forky/sid still ship the transitional package and the
desktop install path on those releases continues to install it.

Bianbu has a resolute block but never carried libu2f-udev, so no
change there.
@github-actions github-actions Bot added the 05 Milestone: Second quarter release label Apr 14, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@igorpecovnik has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 47 minutes and 21 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 47 minutes and 21 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 74ae023b-5c77-47ca-bf09-295db5bb7bba

📥 Commits

Reviewing files that changed from the base of the PR and between 98c089f and 97161c0.

📒 Files selected for processing (8)
  • tools/modules/desktops/yaml/cinnamon.yaml
  • tools/modules/desktops/yaml/enlightenment.yaml
  • tools/modules/desktops/yaml/gnome.yaml
  • tools/modules/desktops/yaml/i3-wm.yaml
  • tools/modules/desktops/yaml/kde-plasma.yaml
  • tools/modules/desktops/yaml/mate.yaml
  • tools/modules/desktops/yaml/xfce.yaml
  • tools/modules/desktops/yaml/xmonad.yaml

Walkthrough

This pull request extends test coverage and desktop environment configurations to support a new release variant called "resolute". Ten test configuration files have their RELEASE variables updated to include :resolute alongside existing release identifiers, while eight desktop environment YAML module files remove the deprecated libu2f-udev package from their resolute release package lists.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the primary change: removing libu2f-udev from resolute release blocks in desktop YAML files due to it having no installation candidate.
Description check ✅ Passed The description is comprehensive and directly related to the changeset, explaining the background, the specific fix, and the test plan for addressing the libu2f-udev installation issue on resolute.
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 drop-libu2f-udev-resolute

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.

@github-actions github-actions Bot added size/small PR with less then 50 lines Unit Tests labels Apr 14, 2026
igorpecovnik and others added 2 commits April 14, 2026 06:21
Restores U2F / FIDO2 security-key support (used by Chrome/Chromium
and Firefox WebAuthn) on resolute. The previous commit dropped
libu2f-udev because resolute no longer ships the transitional
package; libfido2-1 is the modern stack that supersedes it and
ships the same `/lib/udev/rules.d/70-u2f.rules` style rules
needed for an unprivileged browser to talk to /dev/hidraw* of a
plugged-in security key.

Added to the resolute release block of the same 8 DE YAMLs
touched in the previous commit (cinnamon, enlightenment, gnome,
i3-wm, kde-plasma, mate, xfce, xmonad). Other releases keep
libu2f-udev — those still ship the transitional package and the
modern libfido2-1 isn't needed there.

Bianbu untouched — it never carried libu2f-udev either.
@EvilOlaf
Copy link
Copy Markdown
Member

https://packages.debian.org/en/trixie/libu2f-udev

This package is not necessary anymore, and can be safely removed: since udev v244, U2F devices are autodetected without needing 3rd party udev rules.

So should be good to drop

@igorpecovnik igorpecovnik merged commit c07ab0e into main Apr 14, 2026
101 of 107 checks passed
@igorpecovnik igorpecovnik deleted the drop-libu2f-udev-resolute branch April 14, 2026 05:54
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 Unit Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants