diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-01-27 22:27:17 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-01-27 22:27:17 +0300 |
commit | 98cc5cd6483975b64d80e8323f7f659dd1337d75 (patch) | |
tree | 5fa64e93d57396bc4c76aa3537156205b4b424ac /poky/documentation/kernel-dev/kernel-dev-faq.rst | |
parent | 82dbc15a05125a812c140a3c8cff81c366482229 (diff) | |
parent | 8fc454f9beebdd347403145c991697019a593cff (diff) | |
download | openbmc-98cc5cd6483975b64d80e8323f7f659dd1337d75.tar.xz |
Merge tag '0.29' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'poky/documentation/kernel-dev/kernel-dev-faq.rst')
-rw-r--r-- | poky/documentation/kernel-dev/kernel-dev-faq.rst | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/poky/documentation/kernel-dev/kernel-dev-faq.rst b/poky/documentation/kernel-dev/kernel-dev-faq.rst index b5e6a84eb..424e62617 100644 --- a/poky/documentation/kernel-dev/kernel-dev-faq.rst +++ b/poky/documentation/kernel-dev/kernel-dev-faq.rst @@ -1,11 +1,9 @@ -.. SPDX-License-Identifier: CC-BY-2.0-UK +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK ********************** Kernel Development FAQ ********************** -.. _kernel-dev-faq-section: - Common Questions and Solutions ============================== @@ -38,7 +36,7 @@ How do I install/not-install the kernel image on the rootfs? The kernel image (e.g. ``vmlinuz``) is provided by the ``kernel-image`` package. Image recipes depend on ``kernel-base``. To specify whether or not the kernel image is installed in the generated -root filesystem, override ``RDEPENDS_kernel-base`` to include or not +root filesystem, override ``RDEPENDS_${KERNEL_PACKAGE_NAME}-base`` to include or not include "kernel-image". See the ":ref:`dev-manual/dev-manual-common-tasks:using .bbappend files in your layer`" section in the @@ -50,13 +48,13 @@ How do I install a specific kernel module? Linux kernel modules are packaged individually. To ensure a specific kernel module is included in an image, include it in the -appropriate machine -:term:`RRECOMMENDS` variable. +appropriate machine :term:`RRECOMMENDS` variable. These other variables are useful for installing specific modules: -:term:`MACHINE_ESSENTIAL_EXTRA_RDEPENDS` -:term:`MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS` -:term:`MACHINE_EXTRA_RDEPENDS` -:term:`MACHINE_EXTRA_RRECOMMENDS` +- :term:`MACHINE_ESSENTIAL_EXTRA_RDEPENDS` +- :term:`MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS` +- :term:`MACHINE_EXTRA_RDEPENDS` +- :term:`MACHINE_EXTRA_RRECOMMENDS` + For example, set the following in the ``qemux86.conf`` file to include the ``ab123`` kernel modules with images built for the ``qemux86`` machine: @@ -64,9 +62,8 @@ machine: MACHINE_EXTRA_RRECOMMENDS += "kernel-module-ab123" -For more -information, see the "`Incorporating Out-of-Tree -Modules <#incorporating-out-of-tree-modules>`__" section. +For more information, see the +":ref:`kernel-dev/kernel-dev-common:incorporating out-of-tree modules`" section. How do I change the Linux kernel command line? ---------------------------------------------- |