1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-25 20:45:21 +02:00
xburst-tools/usbboot/debian/autogen.sh
Jonathan Nieder bf43104a6a xburst-tools: generate changelog from git log
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>
2010-04-06 09:44:17 +08:00

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/