summaryrefslogtreecommitdiff
path: root/boot/grub/grub.mk
diff options
context:
space:
mode:
authorDanomi Mocelopolis <d_mo1234@yahoo.com>2011-11-26 21:56:25 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-26 21:56:25 +0100
commitec02a34b0aaa06b61e26ec284370dea9896805f1 (patch)
treeaccb5447cac95617890abe2c1cd8268941ceae77 /boot/grub/grub.mk
parent6d985f97c87a963674c6d9230b5fc6fe9982ff87 (diff)
Prevent patch commands from accessing source control
Closes #4357 Add -g0 option to patch to ensure it doesn't try to access source control. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/grub/grub.mk')
-rw-r--r--boot/grub/grub.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/grub/grub.mk b/boot/grub/grub.mk
index fbff86711..1b5ca0dd2 100644
--- a/boot/grub/grub.mk
+++ b/boot/grub/grub.mk
@@ -41,7 +41,7 @@ GRUB_CONFIG-$(BR2_TARGET_GRUB_w89c840) += --enable-w89c840
define GRUB_DEBIAN_PATCHES
# Apply the patches from the Debian patch
(cd $(@D) ; for f in `cat debian/patches/00list | grep -v ^#` ; do \
- cat debian/patches/$$f | patch -p1 ; \
+ cat debian/patches/$$f | patch -g0 -p1 ; \
done)
endef