From: Thorsten Leemhuis on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/968#note_53108...
a spring cleaning
From my point of view it needs even more that that, but yeah, it would
be a start. :-D Anyway:
When you say the configs are different, can you clarify a bit? I
believe it should work correctly.
I tried to look closer. First I failed: I merge kernel-ark/ark-infa
ontop on linus/master and ran `make NO_CONFIGCHECKS=1 dist-srpm`, which
resulted in
```
make NO_CONFIGCHECKS=1 dist-srpm
make -C redhat dist-srpm
make[1]: Entering directory '/home/kbuilder/tmp/linux/redhat'
BUILDID is ".test".
make[1]: *** [Makefile:69: dist-kabi] Error 1
make[1]: Leaving directory '/home/kbuilder/tmp/linux/redhat'
make: *** [makefile:12: dist-srpm] Error 2
```
(side note: if you try to reproduce it make sure to do a 'rm -rf
redhat/; git reset --hard', as I noticed it seems to be related to some
files listed in .gitignore [or something like that])
Then I tried to do manually what this patch achieves and then things
worked. I installed the SRPM and compared kernel-x86_64-fedora.config to
the one found in Fedora dist.git for rawhide (I hope that was a proper
way to check) and they looked quite different, even after sorting both
of them and comparing them again. I wonder if this is due to the
`NO_CONFIGCHECKS=1`. Wasn't there some variable to say "check configs,
but don't fail if something is not set" or something like that which
might be more appropriate?