= Changing the kernel configuration =
You can change the kernel configuration with pmbootstrap, for the linux-sony-yuga package for example we run:
<pre class="shell">pmbootstrap kconfig edit sony-yuga</pre>
This gives you a menu where you can select and deselect all kernel configuration options. Press the <code>/</code> key to get a search dialog. After finding something, type the number of the search result to quickly jump to it.
<pre>PTY allocation request failed on channel 0
-ash: a: unknown operand</pre>
=== CONFIG_VT ===
Device Drivers -->
Character Devices -->
This should always be set since pmbootstrap creates an ext4 rootfs.
=== CONFIG_KERNEL_GZIP, CONFIG_KERNEL_XZ, CONFIG_KERNEL_LZO and CONFIG_KERNEL_LZMA ===
Please disable it, so we have one less source of failure.
== Optional ==
This is recommended for all 32bit (armhf, x86) devices. The option is not present on 64bit (aarch64, x86_64) devices.
Without this option, it is not possible to mount ext4 partitions that have been created with the default settings. The postmarketOS SD card installation uses these default parameters. There doesn't seem to be a point in changing that to work around badly configured kernels: even if the postmarketOS installation did not require this option, you might come across an SD card with ext4, that does not work on your device.
=== CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE ===
Set this if your device needs an appended device tree. If you are unsure, use <code>extract-dtb</code> on an existing kernel image. Not to be confused with <code>CONFIG_ARM_APPENDED_DTB</code>!
Automatically merging kernel configuration = Use this script, which is present in the kernel source: <code>. / scripts / kconfig / merge_config . sh</code>
= See also =