Wanted a crash.dump file written so I appended ERL_CRASH_DUMP_SECONDS=-1
to the rootfs_overlay/etc/erlinit.config in the farmbot_system_rpi3 package.
Did mix firmware
and the expected key-value is added to the target’s generated erlinit.config.
Boot up the target and that new appended key-value is missing in System.get_env etc.
To get any further I need help with 2 questions
-
Which script or exe processes
/etc/erlinit.config
to setupenv
? -
How do those
env
key-value pairs get into the environ of the “main” Linux process which runs the VM ?
Thanks !