diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-08-07 15:35:12 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-08-07 15:35:12 +0000 |
commit | aebbc47c2af536d35cebf0f5face326f779286fe (patch) | |
tree | 0aa49422df9b38c42fb9e355720487e8cb402f33 /package | |
parent | bc67bd229555f708717cd7647429f64b4c563a52 (diff) | |
download | mtk-20170518-aebbc47c2af536d35cebf0f5face326f779286fe.zip mtk-20170518-aebbc47c2af536d35cebf0f5face326f779286fe.tar.gz mtk-20170518-aebbc47c2af536d35cebf0f5face326f779286fe.tar.bz2 |
build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42041
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile index bf1b16f..0cba878 100644 --- a/package/Makefile +++ b/package/Makefile @@ -94,7 +94,7 @@ $(curdir)/install: $(TMP_DIR)/.build - find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755 rm -rf $(TARGET_DIR) [ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp - @$(FIND) `sed -e 's|.*|$(PACKAGE_DIR)/&_*.ipk|' $(PACKAGE_INSTALL_FILES)` | sort -u | $(OPKG) install + @$(FIND) `sed -e 's|.*|$(PACKAGE_DIR)$(if $(CONFIG_PER_FEED_REPO),/*)/&_*.ipk|' $(PACKAGE_INSTALL_FILES)` | sort -u | $(OPKG) install @for file in $(PACKAGE_INSTALL_FILES); do \ [ -s $$file.flags ] || continue; \ for flag in `cat $$file.flags`; do \ |