2010-04-05 06:45:12 +03:00
|
|
|
#!/bin/sh
|
2010-04-05 17:23:20 +03:00
|
|
|
# Generate debian/xburst_stage1.bin, debian/xburst_stage2.bin,
|
|
|
|
# and debian/changelog.upstream.
|
|
|
|
#
|
|
|
|
# Uses debian/changelog and the git revision log.
|
2010-04-05 06:45:12 +03:00
|
|
|
#
|
|
|
|
# Requires a mipsel-openwrt-linux- toolchain on the $PATH.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2010-04-05 17:23:20 +03:00
|
|
|
dpkg-parsechangelog --format rfc822 --all |
|
|
|
|
awk -f debian/changelog.upstream.awk
|
|
|
|
|
2010-04-05 06:45:12 +03:00
|
|
|
debian/rules firmware
|
2010-05-05 06:36:05 +03:00
|
|
|
cp -f usbboot/xburst_stage1/xburst_stage1.bin debian/
|
|
|
|
cp -f usbboot/xburst_stage2/xburst_stage2.bin debian/
|
|
|
|
cp -f xbboot/target-stage1/stage1.bin debian/
|