Merge "Fix sources preparation for the fuel-library package"

This commit is contained in:
Jenkins 2016-04-15 11:00:54 +00:00 committed by Gerrit Code Review
commit 34accdd248
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ $(BUILD_DIR)/packages/sources/$1/$2:
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)
cd $(BUILD_DIR)/packages/sources/$1 && tar -rf $1.tar version
ifneq ($(USE_PREDEFINED_FUEL_LIB_PUPPET_MODULES),)
if [ "$1" = "fuel-library$(FUEL_LIBRARY_VERSION)" ]; then cd $(BUILD_DIR)/packages/sources/$1 && tar -rf $1.tar upstream_modules.tar.gz; fi
endif
cd $(BUILD_DIR)/packages/sources/$1 && gzip -9 $1.tar && mv $1.tar.gz $2
endef