Hello, I am trying to implement a Python deployment script for our Jetson device, which includes running "install" script inside chroot, so it can be re-used in the future. I tested everything using --enter interactive mode, but this is not an option, since I want to automatize this process.
Using your QemuRunner would be nice, but I get errors related to non-root access, which is not sufficient I guess:
mount: only root can use "--options" option
I cannot - and do not want to run this whole script as sudo. So if this worked, this would be one solution to my problem.
Another solution would by to use subprocess and run tool tegrity-qemu as a subprocess inside Python. So I tried:
Hello, I am trying to implement a Python deployment script for our Jetson device, which includes running "install" script inside chroot, so it can be re-used in the future. I tested everything using
--enter
interactive mode, but this is not an option, since I want to automatize this process.Using your
QemuRunner
would be nice, but I get errors related to non-root access, which is not sufficient I guess:I cannot - and do not want to run this whole script as
sudo
. So if this worked, this would be one solution to my problem.Another solution would by to use
subprocess
and run tooltegrity-qemu
as a subprocess inside Python. So I tried:And I get:
Where am I supposed to put the script I want to run?
Thank you for your time!