/lib/partman/automatically_partition/70some_device_crypto/do_option is in ubiquity 18.04.14.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
. /lib/partman/lib/base.sh
. /lib/partman/lib/auto-shared.sh
code=255
while [ $code -eq 255 ]; do
disk=$(select_auto_disk) || exit 99
autopartition-crypto $disk
code=$?
done
if [ $code -ne 0 ]; then
exit $code
else
# accept the autopartitioning
exit 100
fi
|