/lib/partman/init.d/01unsupported 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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh
if [ -f /var/lib/partman/supported ]; then
exit 0
fi
. /usr/share/debconf/confmodule
. /lib/partman/lib/disk-label.sh
mkdir -p /var/lib/partman
>/var/lib/partman/supported
default_label=$(default_disk_label)
case "$default_label" in
UNKNOWN)
db_input critical partman-partitioning/unknown_label
db_go || exit 10
db_get partman-partitioning/unknown_label
if [ "$RET" = false ]; then
db_reset partman-partitioning/unknown_label
exit 10
fi
db_reset partman-partitioning/unknown_label
exit 0
;;
UNSUPPORTED)
db_input critical partman-partitioning/unsupported_label
db_go || exit 10
db_get partman-partitioning/unsupported_label
if [ "$RET" = false ]; then
db_reset partman-partitioning/unsupported_label
exit 10
fi
db_reset partman-partitioning/unsupported_label
exit 0
;;
*)
exit 0
;;
esac
|