kernel: make KCONFIG_SHA256 independent of the host python (bfe-core1106-sdk#19)
DRM_MSM_VALIDATE_XML depended on `$(PYTHON3) -c "import lxml"`, so the expanded .config gained a line on hosts where python3 could import lxml and the whole-file digest differed (the flashed image ec276f77 against e8e9ef1c from a config-only run on the same tree). Drop the unused Qualcomm symbol with a one-block Kconfig patch; the digest is now ec276f77 everywhere and equals the flashed one. Regression test: tests/required-symbols/run-config-determinism-tests.sh runs the config-only expansion with a python3 whose import lxml works and one where it fails and requires the same digest; it is proven red on a copy of the tree without the patch. The kernel-symbols CI job runs it. Fixes #19. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
0589829619
commit
cf72a6dcbc
@@ -255,6 +255,12 @@ jobs:
|
||||
export KERNEL_TARBALL="$HOME/linux-6.18.46.tar.xz"
|
||||
bash build/build-kernel.sh
|
||||
cmp "${{ runner.temp }}/final.config" "$CONFIG_OUT"
|
||||
- name: the digest does not depend on the host python (issue #19)
|
||||
env:
|
||||
CROSS_COMPILE: arm-linux-gnueabihf-
|
||||
run: |
|
||||
export KERNEL_TARBALL="$HOME/linux-6.18.46.tar.xz"
|
||||
bash tests/required-symbols/run-config-determinism-tests.sh
|
||||
|
||||
patches-apply:
|
||||
# The RV1106 series must apply cleanly onto pristine linux-6.18.46.
|
||||
|
||||
Reference in New Issue
Block a user