Skip to content

Build system fixes for PR merge compatibility#1049

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

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

Conversation

@sonoble
Copy link
Contributor

@sonoble sonoble commented Feb 16, 2026

  • 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant