It lets us move the variables in cmdline.txt to deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file entirely. By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy can then also add information about partition UUIDs to the cmdline, which helps postmarketos-initramfs find the correct partitions. Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3716 Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630 [ci:skip-build]: already built successfully in CI
27 lines
892 B
Text
27 lines
892 B
Text
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Raspberry Pi 5"
|
|
deviceinfo_manufacturer="Raspberry Pi"
|
|
deviceinfo_codename="raspberry-pi5"
|
|
deviceinfo_year="2023"
|
|
deviceinfo_arch="aarch64"
|
|
deviceinfo_disable_dhcpd="true"
|
|
deviceinfo_getty="ttyAMA10;115200"
|
|
|
|
# Device related
|
|
deviceinfo_gpu_accelerated="true"
|
|
deviceinfo_chassis="embedded"
|
|
deviceinfo_keyboard="true"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="1920"
|
|
deviceinfo_screen_height="1080"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="none"
|
|
deviceinfo_boot_filesystem="fat16"
|
|
# The following line is required for NVMe/M.2 installs:
|
|
deviceinfo_partition_type="msdos"
|
|
deviceinfo_kernel_cmdline="dwc_otg.lpm_enable=0 console=ttyAMA10,115200 console=tty1"
|
|
deviceinfo_generate_cmdline_txt="true"
|