Merge from trunk

This commit is contained in:
Robert Millan 2009-12-12 00:07:45 +00:00
commit 37ba589a4e
90 changed files with 2241 additions and 3762 deletions

View file

@ -249,6 +249,14 @@ if [ "${target_cpu}-${platform}" = "i386-pc" ] || [ "${target_cpu}-${platform}"
done
fi
# Copy gettext files
mkdir -p ${grubdir}/locale/
for file in ${grubdir}/locale/*.mo ${pkglibdir}/locale/*.mo; do
if test -f "$file"; then
cp -f "$file" ${grubdir}/locale/
fi
done
# Write device to a variable so we don't have to traverse /dev every time.
grub_device=`$grub_probe --target=device ${grubdir}`