Debian package build from upstream source need git repo?? Failing...

From: Bhaskar Chowdhury
Date: Sat May 06 2023 - 18:47:25 EST


Hey,
While building the customary kernel from from source with my frivolous script
and it is now failing with this error:

/usr/bin/make -f ./scripts/Makefile.package deb-pkg
# GEN debian
./scripts/package/mkdebian --need-source
error: creating source package requires git repository
make[1]: *** [scripts/Makefile.package:40: check-git] Error 1
make[1]: *** Waiting for unfinished jobs....
warning: Not a git repository. Use --no-index to compare two paths outside a
working tree

I can vividly remember that it was working fine few months back...in fact
building the 6.2.2 kernel. I am certainly missing the updated information of
change. The damn script just untar the tarball and build.

Masahiro?? Git repo requirement is mandatory to build from source, why? Was
it the case??

Or I probably doing something horrendous, but I can assure you that I haven't
change a single word in my script, as I mentioned it works file with last
release build.

Please shed some light.
--
Thanks,
Bhaskar

"Here's looking at you kid"-- Casablanca
https://about.me/unixbhaskar