]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Fix patching order for xen-patches.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 12 Jun 2010 09:26:45 +0000 (11:26 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 12 Jun 2010 09:26:45 +0000 (11:26 +0200)
lfs/linux

index cf609f20bb4e85fd48e540d85c71b9773436d427..a4bf286c7e65d3f49b227470b3dac514986f9e77 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -111,9 +111,9 @@ ifeq "$(XEN)" "1"
        mkdir -p $(DIR_SRC)/xen-patches
        cd $(DIR_SRC)/xen-patches && tar jxf $(DIR_DL)/xen-patches-2.6.32-2.tar.bz2
 
-       for x in `find $(DIR_SRC)/xen-patches/ -type f`; do \
+       for x in `ls -1 $(DIR_SRC)/xen-patches/*.patch1`; do \
                echo "*********** [Patch: $$x]"; \
-               patch -d $(DIR_APP) -p1 < $$x || break; \
+               cd $(DIR_APP) && pwd && patch -Np1 < $$x || exit 1; \
        done
        rm -rf $(DIR_SRC)/xen-patches