/lib/partman/choose_method/45biosgrub/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 18 19 20 21 22 23 | #!/bin/sh
. /lib/partman/lib/base.sh
dev=$1
id=$2
cd "$dev"
valid_biosgrub=no
open_dialog VALID_FLAGS $id
while { read_line flag; [ "$flag" ]; }; do
if [ "$flag" = bios_grub ]; then
valid_biosgrub=yes
fi
done
close_dialog
[ "$valid_biosgrub" = yes ] || exit 0
db_metaget partman/method_long/biosgrub description
printf "biosgrub\t${RET}\n"
|