EFIROOT=/EFI/debian
export LC_COLLATE=C
-ARCHITECTURE=$(dpkg --print-installation-architecture)
+ARCHITECTURE=$(dpkg --print-architecture)
## catch signals, clean up junk in /tmp.
trap "cleanup" 0
if [ -L "$boot" ] ; then
oldboot=$boot
boot=$(readlink -f $oldboot)
- echo 1>&2 "$PRG: $oldboot is a symbolic link, using $boot instead"
fi
if [ ! -e "$boot" ] ; then
echo 1>&2 "$PRG: $boot: No such file or directory"
fi
[ "$VERBOSE" = 1 ] && echo "$PRG: Mounting $boot..."
- mount -t "$fstype" -o codepage=437,iocharset=iso8859-1,rw,noexec,umask=077$loop "$boot" "$TMP/bootstrap.$$"
+ mount -t "$fstype" -o codepage=437,rw,noexec,umask=077$loop "$boot" "$TMP/bootstrap.$$"
if [ $? != 0 ] ; then
echo 1>&2 "$PRG: An error occured mounting $boot"
return 1