]> 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 13:07:34 +0000 (07:07 -0600)
commitda038007c23df4234904e53960a5ba9864c83d79
treea62cd67110de3d6f1fc57c93597c82d7b1bf7c6a
parent1f9e9f830e2024ac1893ab2d4b2308ecac2f0091
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]