From f3f0ac81275b9ccc8cd6f1a62096d2eff58a1aca Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 24 Apr 2014 10:52:15 +0200 Subject: [PATCH] aufs: improved applying possible local patches --- filesystem/aufs/pkg_linux_post.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/filesystem/aufs/pkg_linux_post.conf b/filesystem/aufs/pkg_linux_post.conf index 460eef2b5..7c2413923 100644 --- a/filesystem/aufs/pkg_linux_post.conf +++ b/filesystem/aufs/pkg_linux_post.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../aufs/pkg_linux_post.conf -# Copyright (C) 2010 - 2013 The OpenSDE Project +# Copyright (C) 2010 - 2014 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -31,7 +31,9 @@ if [ ! -z "$pkg_aufs_source_file" ]; then var_append patchfiles ' ' "$pkg_aufs_tempdir/aufs3-standalone/aufs3-standalone.patch" # apply possible local patches we have in the aufs package dir - var_append patchfiles ' ' "$base/package/*/aufs/*.diff" + for x in $( ls -1 $base/package/*/aufs/*.diff 2>/dev/null ); do + var_append patchfiles ' ' "$x" + done # copying sources into kernel source tree pkg_aufs_copy_source_files() {