mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 18:12:27 +02:00
include entire source tree in source package
It is probably worth spending the time to split them up with multiple upstream tarballs, but for now, usbboot, xbboot, and so on are in a single repository managed as a single project. Teach debian/rules get-orig-source to build a single upstream tarball with the entire source tree. Include history of whole tree in the generated changelog.upstream. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
parent
e140411424
commit
78f38d48bf
2
debian/changelog.upstream.awk
vendored
2
debian/changelog.upstream.awk
vendored
@ -84,7 +84,7 @@ function add_version(new,new_cid, limiter,versionline,command,line) {
|
|||||||
print versionline >> cl;
|
print versionline >> cl;
|
||||||
|
|
||||||
print "" >> cl;
|
print "" >> cl;
|
||||||
command = "git shortlog \"" limiter last_cid "\" -- .";
|
command = "git shortlog \"" limiter last_cid "\"";
|
||||||
while(command | getline line)
|
while(command | getline line)
|
||||||
print line >> cl;
|
print line >> cl;
|
||||||
|
|
||||||
|
4
debian/get-orig-source.sh
vendored
4
debian/get-orig-source.sh
vendored
@ -26,5 +26,5 @@ upstream_version="${release}+${date}"
|
|||||||
|
|
||||||
# Generate tarball.
|
# Generate tarball.
|
||||||
echo "packaging $(git rev-parse --short FETCH_HEAD)"
|
echo "packaging $(git rev-parse --short FETCH_HEAD)"
|
||||||
git archive FETCH_HEAD -- usbboot xbboot |
|
git archive FETCH_HEAD |
|
||||||
gzip -n -9 > "xburst-tools_$upstream_version.orig.tar.gz"
|
gzip -n -9 >"xburst-tools_$upstream_version.orig.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user