Codebase list partman-basicfilesystems / 6e4cd48
* Mount vfat filesystems with the utf8 mount option if the locale contains ".UTF-8" (closes: #413248). r45945 Colin Watson 17 years ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 partman-basicfilesystems (54) UNRELEASED; urgency=low
1
2 * Mount vfat filesystems with the utf8 mount option if the locale contains
3 ".UTF-8" (closes: #413248).
4
5 -- Colin Watson <cjwatson@debian.org> Sun, 18 Mar 2007 17:39:14 +0000
6
07 partman-basicfilesystems (53) unstable; urgency=low
18
29 * Fix handling of partman-basicfilesystems/no_swap so it can be preseeded.
00 #!/bin/sh
11
22 . /lib/partman/definitions.sh
3
4 utf8=false
5 if db_get debian-installer/locale; then
6 # This check breaks for certain locales (e.g. se_NO, vi_VN) that use the
7 # UTF-8 encoding but whose names don't include ".UTF-8". This is
8 # difficult to fix without adding more encoding intelligence to
9 # localechooser.
10 case $RET in
11 *.UTF-8)
12 utf8=:
13 ;;
14 esac
15 fi
316
417 for dev in $DEVICES/*; do
518 [ -d $dev ] || continue
3548 [ -f "$id/mountpoint" ] || continue
3649 mountpoint=$(cat $id/mountpoint)
3750 options=$(get_mountoptions $dev $id)
51 if $utf8; then
52 options="$options,utf8"
53 fi
3854 echo "$path" "$mountpoint" vfat $options 0 0
3955 ;;
4056 esac