From ec02a34b0aaa06b61e26ec284370dea9896805f1 Mon Sep 17 00:00:00 2001 From: Danomi Mocelopolis Date: Sat, 26 Nov 2011 21:56:25 +0100 Subject: 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 --- boot/grub/grub.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot') 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 -- cgit v1.2.3