Author: jow
Date: 2014-08-09 14:11:34 +0200 (Sat, 09 Aug 2014)
New Revision: 42089

Modified:
   branches/barrier_breaker/package/Makefile
Log:
BB: build: consider sub-directories when deploying packages to image with 
CONFIG_PER_FEED_REPO (#17430)

Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42041

Modified: branches/barrier_breaker/package/Makefile
===================================================================
--- branches/barrier_breaker/package/Makefile   2014-08-08 23:10:16 UTC (rev 
42088)
+++ branches/barrier_breaker/package/Makefile   2014-08-09 12:11:34 UTC (rev 
42089)
@@ -94,7 +94,7 @@
        - 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 \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to