]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix 'make check' with newer git
authorEric Blake <eblake@redhat.com>
Mon, 6 Jan 2014 21:33:08 +0000 (14:33 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 3 Jul 2014 04:24:38 +0000 (22:24 -0600)
commitc335cc3cd249b58086eddd2b5fecb3269d3980bb
treef1c8fdb677afb201eee8af1f725fd212b4d61580
parent1571d2d277717dabfa94fd4234a72a8bef9fba29
build: fix 'make check' with newer git

Newer git doesn't like the maint.mk rule 'public-submodule-commit'
run during 'make check', as inherited from our checkout of gnulib.
I tracked down that libvirt commit 8531301 picked up a gnulib fix
that makes git happy.  Rather than try and do a full .gnulib
submodule update to gnulib.git d18d1b802 (as used in that libvirt
commit), it was easier to just backport the fixed maint.mk from
gnulib on top of our existing submodule level.  I did it as follows,
where these steps will have to be repeated when cherry-picking this
commit to any other maintenance branch:

mkdir -p gnulib/local/top
cd .gnulib
git checkout d18d1b802 top/maint.mk
git diff HEAD > ../gnulib/local/top/maint.mk.diff
git reset --hard
cd ..
git add gnulib/local/top

Signed-off-by: Eric Blake <eblake@redhat.com>
gnulib/local/top/maint.mk.diff [new file with mode: 0644]