2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 02:50:10 +00:00

fix defect #4056 [xCAT-DEV]tftp downlod the symbol link grub2.ppc itself instead of the target binary

Former-commit-id: 9feab03bc82d370b79af94c167a8e536726ec854
This commit is contained in:
immarvin 2014-04-11 09:54:20 -07:00
parent 2d595a0488
commit f1f64786ed

View File

@ -53,7 +53,8 @@ tar -xf grub2-res.tar
%post
ln -s -f %{prefix}/powerpc-ieee1275/core.elf %{prefix}/grub2.ppc
rm -f %{prefix}/grub2.ppc
cp %{prefix}/powerpc-ieee1275/core.elf %{prefix}/grub2.ppc
exit 0
%clean