caligula icon indicating copy to clipboard operation
caligula copied to clipboard

Post-burn file patching

Open ifd3f opened this issue 1 year ago • 0 comments

This functionality would be useful for stuff like:

  • adding a ssh and wpa_supplicant file to raspberry pi images
  • adding some configs to an install image

UX

A MVP would look like running a script after burn is complete. So the raspberry pi example script might look like:

touch $out1/ssh
wpa_passphrase mywifi mypassword > $out1/ssh

where $out1, $out2, $out3, ... are environment vars set to paths of mounted partitions.

ifd3f avatar Mar 05 '23 06:03 ifd3f