-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo not actually needed for running rpiboot if debian package installed (which is how the instructions say to install) #3884
Comments
Strange. I've always had to use |
If you compile from source, then |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Trawling back through the GitHub history, it looks like However I suspect there may be some confusion in the documentation between "on Linux" meaning "Linux (e.g. Ubuntu) on an x86 PC" and "on Linux" meaning "Raspberry Pi OS running on a Raspberry Pi"?
|
I'm running ubuntu, that uses the debian package. As mentioned in my original post, |
Hmmm, https://packages.debian.org/search?suite=all&searchon=names&keywords=rpiboot implies that Ahhh, I've just found that it's packaged directly by Ubuntu themselves https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=rpiboot . I guess this means that you can So I guess the instructions for |
I'm on ubuntu 22.04, x86_64. Agreed, the documentation at documentation/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc Lines 54 to 78 in e14224a
apt , that should be clarified.
|
In
documentation/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc
Lines 54 to 78 in e14224a
sudo
to runrpiboot
documentation/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc
Line 72 in e14224a
However,
sudo
is not needed using these instructions. The debian package installs a UDEV rule in/lib/udev/rules.d/70-rpiboot.rules
which avoids the need forsudo
.See
https://github.com/raspberrypi/usbboot/blob/d0a2ed95ade02fbc042d325a22e4a7abcaf8fd34/debian/rpiboot.install#L12
https://github.com/raspberrypi/usbboot/blob/d0a2ed95ade02fbc042d325a22e4a7abcaf8fd34/debian/70-rpiboot.rules#L1
The text was updated successfully, but these errors were encountered: