Skip to content
Snippets Groups Projects

main/postmarketos-initramfs: start mdev/udev before setting up USB

Merged Minecrell requested to merge Minecrell/pmaports:initramfs-usb-fix into master

There might be additional kernel modules needed for the USB UDC to show up. This used to work fine, but broke when the initramfs was unified with the minimal one. We need to load modules/start udev before setting up USB.

Fix this by duplicating the setup calls in both init.sh and init_2nd.sh. Both calls already have checks to allow calling them multiple times, so we don't need to handle the initramfs-extra case in a special way.

Cc: @caleb @craftyguy @TravMurav

Merge request reports

Merge request pipeline #211462 passed

Merge request pipeline passed for 85e0c1f0

Merged by Oliver SmithOliver Smith 3 months ago (Dec 5, 2024 10:42pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading