aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
authorMatt Wilson <msw@amazon.com>2012-04-04 11:09:14 +0100
committerMatt Wilson <msw@amazon.com>2012-04-04 11:09:14 +0100
commit008f246e971213571f8f41a3e0e9ad4b59257880 (patch)
tree547622b65e5fcd8c39be59a7a6cdf7a80aaec03d /stubdom
parente869aa12da78adadfdbf247dac81f1cb9d8342aa (diff)
downloadxen-008f246e971213571f8f41a3e0e9ad4b59257880.tar.gz
xen-008f246e971213571f8f41a3e0e9ad4b59257880.tar.bz2
xen-008f246e971213571f8f41a3e0e9ad4b59257880.zip
PV-GRUB: Check for errors when applying patches to GRUB
We want to ensure that patches apply cleanly without rejects. Bail if patch returns a non-zero exit code. Signed-off-by: Matt Wilson <msw@amazon.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'stubdom')
-rw-r--r--stubdom/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubdom/Makefile b/stubdom/Makefile
index b63041e729..2da70e3127 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -331,7 +331,7 @@ grub-upstream: grub-$(GRUB_VERSION).tar.gz
tar xzf $<
mv grub-$(GRUB_VERSION) $@
for i in grub.patches/* ; do \
- patch -d $@ -p1 < $$i ; \
+ patch -d $@ -p1 < $$i || exit 1; \
done
.PHONY: grub