Skip to content

chore(kernel): build CONFIG_BLK_DEV_RAM as a module - #686

Merged
huaqianli merged 1 commit into
siemens:masterfrom
colpane:feat/blkram-kernel
Aug 11, 2026
Merged

chore(kernel): build CONFIG_BLK_DEV_RAM as a module#686
huaqianli merged 1 commit into
siemens:masterfrom
colpane:feat/blkram-kernel

Conversation

@colpane

@colpane colpane commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Switch CONFIG_BLK_DEV_RAM from y to m so the RAM disk block device driver is built as a loadable module instead of being linked into the kernel image.

Debian ships this option as a module in its kernel configs, and aligning with that reduces config drift and keeps our build closer to the well-tested upstream/Debian baseline.

Systems that need the RAM disk driver available before modules can be loaded (e.g. as part of early boot) must ensure the brd module is included in the initramfs.

Switch CONFIG_BLK_DEV_RAM from y to m so the RAM disk block device
driver is built as a loadable module instead of being linked into
the kernel image.

Debian ships this option as a module in its kernel configs, and
aligning with that reduces config drift and keeps our build closer
to the well-tested upstream/Debian baseline.

Systems that need the RAM disk driver available before modules can
be loaded (e.g. as part of early boot) must ensure the `brd` module
is included in the initramfs.

Signed-off-by: Enes Colpan <[email protected]>
@colpane

colpane commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@huaqianli please check :)

@huaqianli
huaqianli merged commit 73eb036 into siemens:master Aug 11, 2026
6 checks passed
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.

2 participants