Re: root access and u-boot-test-hooks scripts

2022-04-29 Thread Tom Rini
On Fri, Apr 29, 2022 at 03:19:00PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Tom > > On Fri, Apr 29, 2022 at 3:04 PM Tom Rini wrote: > > > > 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 >

Re: root access and u-boot-test-hooks scripts

2022-04-29 Thread Michael Nazzareno Trimarchi
Hi Tom On Fri, Apr 29, 2022 at 3:04 PM Tom Rini wrote: > > 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 I'm not a super expert but is it sufficient to use udev and insert the right on a group for a

root access and u-boot-test-hooks scripts

2022-04-29 Thread Tom Rini
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