Skip to contentSkip to conversation

powerpc: wrapper: don't require execute perms for zImage.initrd

PATCH New Mark A. Greer 1 participant 1 message Oct 18, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: wrapper: don't require execute perms for zImage.initrd

Don't require that the wrapper script be executable when building zImage.initrds. This has already been fixed for zImages.

---

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

---

arch/powerpc/boot/Makefile +1 -1
index 37ddfca..4b2be61 100644
@@ -115,7 +115,7 @@ endif
 quiet_cmd_wrap	= WRAP    $@
       cmd_wrap	=$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) vmlinux
 quiet_cmd_wrap_initrd = WRAP    $@
-      cmd_wrap_initrd =$(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
+      cmd_wrap_initrd =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
 				-i $(obj)/ramdisk.image.gz vmlinux
 
 $(obj)/zImage.chrp: vmlinux $(wrapperbits)