imagebuilder: use FreeBSD compatible tar invocation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44288
This commit is contained in:
Jo-Philipp Wich 2015-02-06 00:27:06 +00:00
parent 3f56785706
commit 2adab34c20

View File

@ -58,7 +58,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
find $(STAGING_DIR_HOST)/bin -maxdepth 1 -type f -perm -u=x \ find $(STAGING_DIR_HOST)/bin -maxdepth 1 -type f -perm -u=x \
| $(XARGS) $(SCRIPT_DIR)/bundle-libraries.sh $(PKG_BUILD_DIR)/staging_dir/host/bin | $(XARGS) $(SCRIPT_DIR)/bundle-libraries.sh $(PKG_BUILD_DIR)/staging_dir/host/bin
$(MAKE) -C $(PKG_BUILD_DIR) package_index $(MAKE) -C $(PKG_BUILD_DIR) package_index
$(TAR) c -C $(BUILD_DIR) $(IB_NAME) | bzip2 -c > $@ $(TAR) -cf - -C $(BUILD_DIR) $(IB_NAME) | bzip2 -c > $@
download: download:
prepare: prepare: