summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2024-03-30 18:56:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-12 17:29:34 +0100
commita738448d83e28e97501ac30076f980efeeab4c83 (patch)
tree2a3c2b59913923d0734b4b72cbb6155c920f6236 /documentation/dev-manual
parent3ad2f245f0780bab65f01bca8b813bae9b06ca76 (diff)
downloadpoky-a738448d83e28e97501ac30076f980efeeab4c83.tar.gz
manuals: remove tab characters
As reported by "make sphinx-lint" Tabs are even removed in Makefile examples, as Sphinx turns them to spaces anyway in the generated output. (From yocto-docs rev: 20e9c0c9fad3109567948af6bc40bb0fa2a5552b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/layers.rst16
-rw-r--r--documentation/dev-manual/wic.rst52
2 files changed, 34 insertions, 34 deletions
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst
index 9e764c03ba..91889bd0ae 100644
--- a/documentation/dev-manual/layers.rst
+++ b/documentation/dev-manual/layers.rst
@@ -501,12 +501,12 @@ the "meta" layer at ``meta/recipes-bsp/formfactor``::
501 INHIBIT_DEFAULT_DEPS = "1" 501 INHIBIT_DEFAULT_DEPS = "1"
502 502
503 do_install() { 503 do_install() {
504 # Install file only if it has contents 504 # Install file only if it has contents
505 install -d ${D}${sysconfdir}/formfactor/ 505 install -d ${D}${sysconfdir}/formfactor/
506 install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/ 506 install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
507 if [ -s "${S}/machconfig" ]; then 507 if [ -s "${S}/machconfig" ]; then
508 install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/ 508 install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
509 fi 509 fi
510 } 510 }
511 511
512In the main recipe, note the :term:`SRC_URI` 512In the main recipe, note the :term:`SRC_URI`
@@ -582,10 +582,10 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
582 ALLOW_EMPTY:${PN} = "1" 582 ALLOW_EMPTY:${PN} = "1"
583 583
584 do_install () { 584 do_install () {
585 if test -s ${WORKDIR}/xorg.conf; then 585 if test -s ${WORKDIR}/xorg.conf; then
586 install -d ${D}/${sysconfdir}/X11 586 install -d ${D}/${sysconfdir}/X11
587 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ 587 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
588 fi 588 fi
589 } 589 }
590 590
591Here is the append file, which is named ``xserver-xf86-config_%.bbappend`` 591Here is the append file, which is named ``xserver-xf86-config_%.bbappend``
diff --git a/documentation/dev-manual/wic.rst b/documentation/dev-manual/wic.rst
index aeecd0dd3e..a3880f3a1c 100644
--- a/documentation/dev-manual/wic.rst
+++ b/documentation/dev-manual/wic.rst
@@ -139,20 +139,20 @@ individual images through the ``list`` command. You can use the ``list``
139command to return the available Wic images as follows:: 139command to return the available Wic images as follows::
140 140
141 $ wic list images 141 $ wic list images
142 genericx86 Create an EFI disk image for genericx86* 142 genericx86 Create an EFI disk image for genericx86*
143 beaglebone-yocto Create SD card image for Beaglebone 143 beaglebone-yocto Create SD card image for Beaglebone
144 qemuriscv Create qcow2 image for RISC-V QEMU machines 144 qemuriscv Create qcow2 image for RISC-V QEMU machines
145 mkefidisk Create an EFI disk image 145 mkefidisk Create an EFI disk image
146 qemuloongarch Create qcow2 image for LoongArch QEMU machines 146 qemuloongarch Create qcow2 image for LoongArch QEMU machines
147 directdisk-multi-rootfs Create multi rootfs image using rootfs plugin 147 directdisk-multi-rootfs Create multi rootfs image using rootfs plugin
148 directdisk Create a 'pcbios' direct disk image 148 directdisk Create a 'pcbios' direct disk image
149 efi-bootdisk 149 efi-bootdisk
150 mkhybridiso Create a hybrid ISO image 150 mkhybridiso Create a hybrid ISO image
151 directdisk-gpt Create a 'pcbios' direct disk image 151 directdisk-gpt Create a 'pcbios' direct disk image
152 systemd-bootdisk Create an EFI disk image with systemd-boot 152 systemd-bootdisk Create an EFI disk image with systemd-boot
153 sdimage-bootpart Create SD card image with a boot partition 153 sdimage-bootpart Create SD card image with a boot partition
154 qemux86-directdisk Create a qemu machine 'pcbios' direct disk image 154 qemux86-directdisk Create a qemu machine 'pcbios' direct disk image
155 directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config 155 directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config
156 156
157Once you know the list of available 157Once you know the list of available
158Wic images, you can use ``help`` with the command to get help on a 158Wic images, you can use ``help`` with the command to get help on a
@@ -282,20 +282,20 @@ following two locations::
282Use the following command to list the available kickstart files:: 282Use the following command to list the available kickstart files::
283 283
284 $ wic list images 284 $ wic list images
285 genericx86 Create an EFI disk image for genericx86* 285 genericx86 Create an EFI disk image for genericx86*
286 beaglebone-yocto Create SD card image for Beaglebone 286 beaglebone-yocto Create SD card image for Beaglebone
287 qemuriscv Create qcow2 image for RISC-V QEMU machines 287 qemuriscv Create qcow2 image for RISC-V QEMU machines
288 mkefidisk Create an EFI disk image 288 mkefidisk Create an EFI disk image
289 qemuloongarch Create qcow2 image for LoongArch QEMU machines 289 qemuloongarch Create qcow2 image for LoongArch QEMU machines
290 directdisk-multi-rootfs Create multi rootfs image using rootfs plugin 290 directdisk-multi-rootfs Create multi rootfs image using rootfs plugin
291 directdisk Create a 'pcbios' direct disk image 291 directdisk Create a 'pcbios' direct disk image
292 efi-bootdisk 292 efi-bootdisk
293 mkhybridiso Create a hybrid ISO image 293 mkhybridiso Create a hybrid ISO image
294 directdisk-gpt Create a 'pcbios' direct disk image 294 directdisk-gpt Create a 'pcbios' direct disk image
295 systemd-bootdisk Create an EFI disk image with systemd-boot 295 systemd-bootdisk Create an EFI disk image with systemd-boot
296 sdimage-bootpart Create SD card image with a boot partition 296 sdimage-bootpart Create SD card image with a boot partition
297 qemux86-directdisk Create a qemu machine 'pcbios' direct disk image 297 qemux86-directdisk Create a qemu machine 'pcbios' direct disk image
298 directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config 298 directdisk-bootloader-config Create a 'pcbios' direct disk image with custom bootloader config
299 299
300When you use an existing file, you 300When you use an existing file, you
301do not have to use the ``.wks`` extension. Here is an example in Raw 301do not have to use the ``.wks`` extension. Here is an example in Raw