Ignore accidentally tracking xbboot build products. Do track
Makefiles that are not automatically generated. Fixing this makes
debian/clean.sh work again.
Mistakenly ignored files were detected by
git ls-files -i --exclude-standard
and un-ignored build products by
git ls-files -o --exclude-standard
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
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 firmware is not meant to be executed on the host machine, so
unset its executable bit. Noticed by lintian.
While at it, teach stage1 builds to recover from interrupted builds by
ensuring *stage1.bin are not present until all of the relevant
commands have been run.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
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>
Bump the upstream version number since configure.ac changed. Add
a debian/source/included-binaries file so dpkg-source does not
misinterpret the included firmware as a mistake.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Document how to use ‘git archive’ to build a tarball from the
usbboot subdirectory of the source repository.
Repeated invocations of the get-orig-source target to fetch the
same commit will produce byte-for-byte identical results.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
The compiled firmware files are unrepresentable in a text diff.
Use the new source format with debian.tar.gz to fix this.
This will also make it easier to patch the upstream source if that
is ever needed in between versions.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>