pmbootstrap flasher mounts device nodes, pmbootstrap chroot does not
Created by: ollieparanoid
When a user tries to execute fastboot
(or another flash tool) inside the chroot with something like:
$ pmbootstrap shutdown
$ pmbootstrap chroot -- fastboot -i devices -l
... then it will not find any connected devices (even if they are connected). It only works when executing a pmbootstrap flasher
command before, because only then the necessary device nodes get mounted inside the chroot.
$ pmbootstrap shutdown
$ pmbootstrap flasher list_devices
$ pmbootstrap chroot -- fastboot -i devices -l
This was made on purpose, so the device nodes are not mounted inside the chroots without being needed (especially the non-native chroots). But I think it's also unintuitive from the user's perspective. What should we do?
a) keep it as it is
b) add a flag for mounting the device nodes to pmbootstrap chroot
c) always mount the device nodes