/lib/partman/active_partition/85erasepart/choices is in ubiquity 2.18.7.
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 | #!/bin/sh
. /lib/partman/lib/base.sh
dev=$1
id=$2
cd $dev
open_dialog VIRTUAL $id
read_line virtual
close_dialog
if [ "$virtual" = yes ]; then
exit 0
fi
db_metaget partman-crypto/text/erase_data_partition description
printf "erase_partition\t${RET}\n"
|