root access and u-boot-test-hooks scripts
Tom Rini
trini at konsulko.com
Fri Apr 29 15:03:50 CEST 2022
Hey all,
I'm looking for some feedback and ideas. Today, in our
u-boot-test-hooks repository we have 2 cases that use sudo, imx_usb and
L4T-based flashing. Other places that may require root access, such as
mounting a filesystem instead assume an /etc/fstab entry exists and has
"user" as one of the attributes.
Locally, I've extended using "sudo" instead for further access, and so
far have updated the rpi3_mount script to be like the flashair one and
support all of the platforms (by naming u-boot.bin correctly for the
platform) and I've got an easily re-usable ti-omap writer as well (ti-k3
is harder since you need to build two distinct U-Boots).
Would people rather see more sudo use, or more /etc/fstab setup
required? I'm happy to adjust what I've done to not use sudo and post
that.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/6f0659ee/attachment.sig>
More information about the U-Boot
mailing list