Skip to content
Snippets Groups Projects

chroot: add --usb flag to make usb devices available

Merged Casey requested to merge caleb/chroot-usb into master

Add a flag to bind-mount in the necessary sysfs directories for USB devices to be accessed inside the chroot. This is the same as how we do it for "pmbootstrap flasher" but allows running arbitrary commands in the chroot.

This is useful to allow using pmbootstrap chroot's as a sandbox for custom flashing procedures.

Merge request reports

Merge request pipeline #215771 passed

Merge request pipeline passed for 67773c42

Approved by

Merged by Oliver SmithOliver Smith 1 month ago (Feb 16, 2025 9:26pm UTC)

Merge details

  • Changes merged into master with 67773c42.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #215772 passed

Pipeline passed for 67773c42 on master

Deployed to dep‎loy‎ 1 month ago

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