Skip to content

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

Caleb Connolly 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

Loading