Skip to content

Build system fixes for PR merge compatibility - #1049

Open
sonoble wants to merge 1 commit into
opencomputeproject:masterfrom
sonoble:fix/pre-merge-prep
Open

Build system fixes for PR merge compatibility#1049
sonoble wants to merge 1 commit into
opencomputeproject:masterfrom
sonoble:fix/pre-merge-prep

Conversation

@sonoble

@sonoble sonoble commented Feb 16, 2026

Copy link
Copy Markdown
Contributor
  • Makefile: add 'make clean' target to remove build artifacts (debs, cpio, locks, BUILD dirs, rootfs) without touching source. Re-seeds REPO from sm/build-artifacts after cleaning. Add .PHONY declarations, ONL ?= $(CURDIR) fallback so clean works without sourcing setup.env. Fix "interative" typo.

  • docker/tools/onlbuilder: Python 3 migration (shebang, print(), except as, == comparison). Add Debian 12 bookworm builder, set as default. Remove obsolete wheezy builder.

  • make/kbuild.mk: run olddefconfig before build to silently resolve any new kernel config options with defaults, preventing interactive prompts that hang automated builds.

  • 5.4 kernel config: explicitly set CONFIG_TRUSTED_KEYS to not set. Without this, enabling CONFIG_TCG_TPM=m (from platform PRs) leaves TRUSTED_KEYS undefined, causing an interactive prompt.

- Makefile: add 'make clean' target to remove build artifacts
  (debs, cpio, locks, BUILD dirs, rootfs) without touching source.
  Re-seeds REPO from sm/build-artifacts after cleaning.
  Add .PHONY declarations, ONL ?= $(CURDIR) fallback so clean
  works without sourcing setup.env. Fix "interative" typo.

- docker/tools/onlbuilder: Python 3 migration (shebang, print(),
  except as, == comparison). Add Debian 12 bookworm builder,
  set as default. Remove obsolete wheezy builder.

- make/kbuild.mk: run olddefconfig before build to silently
  resolve any new kernel config options with defaults, preventing
  interactive prompts that hang automated builds.

- 5.4 kernel config: explicitly set CONFIG_TRUSTED_KEYS to not set.
  Without this, enabling CONFIG_TCG_TPM=m (from platform PRs)
  leaves TRUSTED_KEYS undefined, causing an interactive prompt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant