2009-05-03 Pavel Roskin <proski@gnu.org>
* util/i386/pc/grub-mkrescue.in: Allow for the case when efiemu??.o doesn't exist. * util/i386/pc/grub-install.in: Likewise. Use "cp -f" for copying.
This commit is contained in:
parent
c405ba08ed
commit
dfc31a22bb
3 changed files with 16 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-05-03 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* util/i386/pc/grub-mkrescue.in: Allow for the case when
|
||||
efiemu??.o doesn't exist.
|
||||
* util/i386/pc/grub-install.in: Likewise. Use "cp -f" for
|
||||
copying.
|
||||
|
||||
2009-05-03 Bean <bean123ch@gmail.com> Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
FreeBSD 64-bit support
|
||||
|
|
|
@ -221,7 +221,9 @@ for file in ${pkglibdir}/*.mod ${pkglibdir}/*.lst; do
|
|||
done
|
||||
if [ "${target_cpu}-${platform}" = "i386-pc" ] ; then
|
||||
for file in ${pkglibdir}/*.img ${pkglibdir}/efiemu??.o; do
|
||||
cp -f $file ${grubdir} || exit 1
|
||||
if test -f $file; then
|
||||
cp -f $file ${grubdir} || exit 1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
@ -116,10 +116,13 @@ fi
|
|||
aux_dir=`mktemp -d`
|
||||
mkdir -p ${aux_dir}/boot/grub
|
||||
|
||||
cp ${input_dir}/*.mod ${input_dir}/efiemu??.o \
|
||||
for file in ${input_dir}/*.mod ${input_dir}/efiemu??.o \
|
||||
${input_dir}/command.lst ${input_dir}/moddep.lst ${input_dir}/fs.lst \
|
||||
${input_dir}/handler.lst ${input_dir}/parttool.lst \
|
||||
${aux_dir}/boot/grub/
|
||||
${input_dir}/handler.lst ${input_dir}/parttool.lst; do
|
||||
if test -f "$file"; then
|
||||
cp -f "$file" ${aux_dir}/boot/grub/
|
||||
fi
|
||||
done
|
||||
|
||||
modules="biosdisk `cat ${input_dir}/partmap.lst` ${modules}"
|
||||
for i in ${modules} ; do
|
||||
|
|
Loading…
Reference in a new issue