[openwrt/openwrt] imagebuilder: remove split patch dirs from imagebuilder archive

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 7 01:00:13 PST 2018


neoraider pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/a02a69d5f8a82aec2df7ad14018366d37b68ec11

commit a02a69d5f8a82aec2df7ad14018366d37b68ec11
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Tue Mar 6 21:50:05 2018 +0100

    imagebuilder: remove split patch dirs from imagebuilder archive
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/imagebuilder/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 418cf59..05c7cf3 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -1,4 +1,4 @@
-# 
+#
 # Copyright (C) 2006-2015 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
@@ -63,7 +63,8 @@ endif
 	fi
 	rm -rf \
 		$(PKG_BUILD_DIR)/target/linux/*/files{,-*} \
-		$(PKG_BUILD_DIR)/target/linux/*/patches{,-*}
+		$(PKG_BUILD_DIR)/target/linux/*/patches{,-*} \
+		$(PKG_BUILD_DIR)/target/linux/generic/{pending,backport,hack}{,-*}
 	-cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
 	-cp $(LINUX_DIR)/.config $(IB_LDIR)/
 	rm -f $(IB_KDIR)/root.*



More information about the lede-commits mailing list