Fix offline building of fuel-library deb package

Include upstream_modules.tar.gz to the source tar.gz
in case we are building the fuel-library package.

Change-Id: Iaeaaaa47f5c13b501fd4c0e0c63f51af57dcf925
Closes-Bug: #1570331
This commit is contained in:
Vitaly Parakhin 2016-04-14 17:35:11 +03:00
parent 84750a4712
commit a0167f6cec
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ $(BUILD_DIR)/packages/sources/$1/$2:
echo DEBFULLNAME=`git -C $3 log -1 --pretty=format:%an` >> $$(VERSIONFILE)
echo DEBEMAIL=`git -C $3 log -1 --pretty=format:%ae` >> $$(VERSIONFILE)
echo DEBMSG=`git -C $3 rev-parse --short HEAD` `git -C $3 log -1 --pretty=%s` >> $$(VERSIONFILE)
if [ "$1" = "fuel-library$(FUEL_LIBRARY_VERSION)" ]; then cd $(BUILD_DIR)/packages/sources/$1 && tar -rf $1.tar upstream_modules.tar.gz; fi
cd $(BUILD_DIR)/packages/sources/$1 && tar -rf $1.tar version
cd $(BUILD_DIR)/packages/sources/$1 && gzip -9 $1.tar && mv $1.tar.gz $2
endef