Skip to content

Add x86_64 minimal kernel variant to spec#1422

Open
bmastbergen wants to merge 1 commit into
ciq-6.18.yfrom
ciq-6.18.y-add-minimal-variant
Open

Add x86_64 minimal kernel variant to spec#1422
bmastbergen wants to merge 1 commit into
ciq-6.18.yfrom
ciq-6.18.y-add-minimal-variant

Conversation

@bmastbergen

Copy link
Copy Markdown
Collaborator

Add a new "minimal" x86_64 kernel variant built with a stripped-down config targeting server/cloud/VM workloads. Enabled by default on x86_64, disableable with --without x86_64_minimal. A --with minimalonly convenience option is also provided.

The minimal config removes:

  • Sound/ALSA, Wireless/WiFi, Bluetooth
  • Multimedia/cameras (V4L2, UVC, IPU6)
  • Laptop platform drivers (ThinkPad, Dell, ASUS, HP, etc.)
  • Hibernate/suspend, ACPI sleep
  • 32-bit (IA32) compatibility layer
  • CAN bus, IIO sensors, parallel port, memory card readers
  • Tablet/touchscreen input

And adds enhanced netfilter (NAT, MASQUERADE, security targets).

Add a new "minimal" x86_64 kernel variant built with a stripped-down
config targeting server/cloud/VM workloads. Enabled by default on
x86_64, disableable with --without x86_64_minimal. A --with minimalonly
convenience option is also provided.

The minimal config removes:
- Sound/ALSA, Wireless/WiFi, Bluetooth
- Multimedia/cameras (V4L2, UVC, IPU6)
- Laptop platform drivers (ThinkPad, Dell, ASUS, HP, etc.)
- Hibernate/suspend, ACPI sleep
- 32-bit (IA32) compatibility layer
- CAN bus, IIO sensors, parallel port, memory card readers
- Tablet/touchscreen input

And adds enhanced netfilter (NAT, MASQUERADE, security targets).
@bmastbergen bmastbergen requested review from a team and josephtate July 9, 2026 20:42
%define with_x86_64_minimal 1
%define with_up 0
%define with_debug 0
%define with_debuginfo 0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it requested to not have debuginfo?

I think we'd want this for crash dumps?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never mind this is for fast build checks it seems

@PlaidCat PlaidCat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

I had a question i answered myself.

This looks like its pretty much a headless / desktop less config, it reduces the surface area ... from my HPC background this would still not qualify as a minimal kernel but definitely reducing the potential surface area for a data-center server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants