From 382cd1dee138e78b15af9890907819760e082ae8 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Mon, 26 Jan 2026 11:02:09 -0800 Subject: [PATCH] docs: kernel-cmdline: clarify handling of config for multiple kernels Signed-off-by: Clayton Craft Part-of: --- docs/kernel-cmdline.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/kernel-cmdline.md b/docs/kernel-cmdline.md index 5a8d0c121..20efd38e6 100644 --- a/docs/kernel-cmdline.md +++ b/docs/kernel-cmdline.md @@ -30,6 +30,8 @@ loglevel=2 clk_ignore_unused ``` +Device packages with that support multiple kernels should name the file `kernel-cmdline..conf` and add it to `sources=` in the APKBUILD. No other action is needed, this file will be automatically added to the correct subpackage by `devicepkg-dev`. + ## Device Package Configuration Device maintainers can add kernel command line parameters specific to their device by creating a `kernel-cmdline.conf` file in the device package directory and adding it to `source=` in the APKBUILD. The devicepkg-dev tool will automatically install this file to `/usr/lib/kernel-cmdline.d/50-.conf` during package build. This works similarly to how `modules-initfs` files are handled.