mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-25 20:45:21 +02:00
bf43104a6a
Use git shortlog to generate a brief list of changes to put in /usr/share/doc/xburst-tools/changelog.gz. This list is built at source package generation time because it requires access to the git repository. The commit ID corresponding to each upstream release is extracted from debian/changelog since the repository has no tags. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
17 lines
425 B
Bash
Executable File
17 lines
425 B
Bash
Executable File
#!/bin/sh
|
|
# Generate debian/xburst_stage1.bin, debian/xburst_stage2.bin,
|
|
# and debian/changelog.upstream.
|
|
#
|
|
# Uses debian/changelog and the git revision log.
|
|
#
|
|
# Requires a mipsel-openwrt-linux- toolchain on the $PATH.
|
|
|
|
set -e
|
|
|
|
dpkg-parsechangelog --format rfc822 --all |
|
|
awk -f debian/changelog.upstream.awk
|
|
|
|
debian/rules firmware
|
|
cp -f xburst_stage1/xburst_stage1.bin debian/
|
|
cp -f xburst_stage2/xburst_stage2.bin debian/
|