summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjenkins-makesources4
1 files changed, 3 insertions, 1 deletions
diff --git a/jenkins-makesources b/jenkins-makesources
index 4b17067..caecb71 100755
--- a/jenkins-makesources
+++ b/jenkins-makesources
@@ -73,7 +73,7 @@ version=${pkg_version}-${extraver}
echo "Preparing ${version}"
-cat > ${pkg_dir}/debian/changelog << EOF
+cat > /tmp/changelog.header << EOF
${upstream_source} (${version}) ${distribution}; urgency=low
* CI - ${upstream_source} snapshot:
@@ -87,6 +87,8 @@ ${upstream_source} (${version}) ${distribution}; urgency=low
-- Linaro Packagers <linaro-pkg@lists.launchpad.net> ${currentdate}
EOF
+cat /tmp/changelog.header ${pkg_dir}/debian/changelog > /tmp/changelog
+mv /tmp/changelog ${pkg_dir}/debian/changelog
cd ${pkg_dir}
dpkg-buildpackage -d -nc -us -uc -rfakeroot -S