From f1f64786ed45acd537fe613d2d4b58f700407d78 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 11 Apr 2014 09:54:20 -0700 Subject: [PATCH] fix defect #4056 [xCAT-DEV]tftp downlod the symbol link grub2.ppc itself instead of the target binary Former-commit-id: 9feab03bc82d370b79af94c167a8e536726ec854 --- grub2-xcat/grub2-xcat.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grub2-xcat/grub2-xcat.spec b/grub2-xcat/grub2-xcat.spec index 3ce9838..f5c4bc7 100644 --- a/grub2-xcat/grub2-xcat.spec +++ b/grub2-xcat/grub2-xcat.spec @@ -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