Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

Do we really need nacl_bootstrap_helper-armhf just to set an env var?

Open slipher opened this issue 1 year ago • 2 comments

The only thing nacl_helper_bootstrap-armhf.cpp does is to set an environment variable and change the working directory. These actions should be doable in the posix_spawn call that starts the VM. The environment variables can be specified as a function argument. The directory change can be added to the file actions with posix_spawn_file_actions_addchdir.

slipher avatar Oct 03 '24 04:10 slipher

Any other implementation that does the same thing may work, indeed. The nice thing with that external tool is that it's testable from outside dæmon, directly from the command line.

illwieckz avatar Oct 03 '24 10:10 illwieckz

I guess the command tool version could just be a shell script then.

slipher avatar Oct 03 '24 11:10 slipher