Re: make-kpgp && git-bisect
Manoj Srivastava <srivasta@ieee.org> writes:
>> but I this gives an error:
>
>> MAKEFLAGS="CC=gcc-3.4 HOSTCC=gcc-3.4" make-kpkg --append-to-version
>> 8c6270f957f0eaa343e4a609159c4b85038468d6 --revision 2.6-1.gitbisect
>> -us -uc --initrd --rootcmd fakeroot kernel_image
>
> Did you run make-kpkg clean in between the two runs?
yes
git checkout -f
removes the complete debian directory.
>
>> ... po2debconf debian/templates.master > debian/templates install
>> -p -m 644 ./debian/templates.master
>> /home/frank/tmp/linux-2.6/debian/linux-image-2.6.198c6270f957f0eaa343e4a609159c4b85038468d6/DEBIAN/templates
>> dpkg-gencontrol -DArchitecture=i386 -isp \
>> -plinux-image-2.6.198c6270f957f0eaa343e4a609159c4b85038468d6
>> -P/home/frank/tmp/linux-2.6/debian/linux-image-2.6.198c6270f957f0eaa343e4a609159c4b85038468d6/
>> dpkg-gencontrol: error: package
>> linux-image-2.6.198c6270f957f0eaa343e4a609159c4b85038468d6 not in
>> control info make[1]: ***
>
>> are there some rules for the -append-to-version parameter in
>> relation to debian/changelog?
>
> Yup. If you changed the version numbering, you need to clean
> out ./debian.
There has to be some other dependency. It worked if I changed from
--append-to-version 8c6270f957f0eaa343e4a609159c4b85038468d6
to
--append-to-version -8c6270f957f0eaa343e4a609159c4b85038468d6
as in
MAKEFLAGS="CC=gcc-3.4 HOSTCC=gcc-3.4" make-kpkg --append-to-version -8c6270f957f0eaa343e4a609159c4b85038468d6 --revision 2.6-1.gitbisect -us -uc --initrd --rootcmd fakeroot kernel-image
regards
Frank
Reply to: