pmb.install.format: add support for setting FDE passphrase from cli

This adds support for using an environment variable to set the FDE passphrase, allowing us to automate image creation when using FDE. The method used here was borrowed from how we set the password with when using the --password arg: write to a temp file, call something in the chroot to read/use it, then remove it.

Edited by Clayton Craft

Merge request reports

Loading