From 3a87ffa80450e5f7974cd9bb2d71deaa4678f2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Mon, 30 Oct 2023 17:37:15 +0100 Subject: [PATCH] pmb.aportgen.device: clarify supported values in modules_initfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4490 Ref: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4392#note_1606377345 Signed-off-by: Pablo Correa Gómez Reviewed-by: Clayton Craft Reviewed-by: Oliver Smith Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20231030163813.10675-1-pabloyoyoista@postmarketos.org%3E --- pmb/aportgen/device.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pmb/aportgen/device.py b/pmb/aportgen/device.py index b068f331..feb3be08 100644 --- a/pmb/aportgen/device.py +++ b/pmb/aportgen/device.py @@ -233,11 +233,14 @@ def generate_deviceinfo(args, pkgname, name, manufacturer, year, arch, def generate_modules_initfs(args): content = """\ - # Remove this comment after reading, or the file if unnecessary (CHANGEME!) - # This file can contain a list of modules to be included in the initramfs, - # so that they are available in early boot stages. It should have one - # module name per line. If there are multiple kernel variants with different - # requirements for modules into the initramfs, one modules-initfs.$variant + # Remove this file if unnecessary (CHANGEME!) + # This file shall contain a list of modules to be included in the initramfs, + # so that they are available in early boot stages. In general, it should + # include modules to support unlocking FDE (touchscreen, panel, etc), + # USB networking, and telnet in the debug-shell. + # The format is one module name per line. Lines starting with the character + # '#', and empty lines are ignored. If there are multiple kernel variants + # with different initramfs module requirements, one modules-initfs.$variant # file should be created for each of them. """