diff --git a/package/Makefile b/package/Makefile index 8e8c6c9a63fecbc4d4dea74cdec1b96bf4b7cf4d..2180df3b37b0cef89c4f95d36c8c440bc6a68562 100644 --- a/package/Makefile +++ b/package/Makefile @@ -89,7 +89,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build $(call mklibs) $(curdir)/index: FORCE - @(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages && \ + @(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ gzip -9c Packages > Packages.gz \ ) diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index 1fa074b35ea268535c635fed2153a77db3a5584f..002274acaf1785bd2713dc68dd204c9689ef4e61 100644 --- a/target/imagebuilder/files/Makefile +++ b/target/imagebuilder/files/Makefile @@ -112,7 +112,7 @@ package_index: FORCE @echo @echo Building package index... @mkdir -p $(TOPDIR)/tmp $(TOPDIR)/dl $(TARGET_DIR)/tmp - (cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages && \ + (cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ gzip -9c Packages > Packages.gz \ ) >/dev/null 2>/dev/null $(OPKG) update