diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/wic.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/wic.rst b/documentation/dev-manual/wic.rst index fced0e170c..07170537b4 100644 --- a/documentation/dev-manual/wic.rst +++ b/documentation/dev-manual/wic.rst | |||
@@ -309,7 +309,7 @@ Here are the actual partition language commands used in the | |||
309 | 309 | ||
310 | # short-description: Create an EFI disk image for genericx86* | 310 | # short-description: Create an EFI disk image for genericx86* |
311 | # long-description: Creates a partitioned EFI disk image for genericx86* machines | 311 | # long-description: Creates a partitioned EFI disk image for genericx86* machines |
312 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 | 312 | part /boot --source bootimg_efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 |
313 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | 313 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid |
314 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap | 314 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap |
315 | 315 | ||
@@ -348,7 +348,7 @@ populate a specific Wic image partition. | |||
348 | 348 | ||
349 | Source plugins are subclasses of the ``SourcePlugin`` class, which is | 349 | Source plugins are subclasses of the ``SourcePlugin`` class, which is |
350 | defined in the ``poky/scripts/lib/wic/pluginbase.py`` file. For example, | 350 | defined in the ``poky/scripts/lib/wic/pluginbase.py`` file. For example, |
351 | the ``BootimgEFIPlugin`` source plugin found in the ``bootimg-efi.py`` | 351 | the ``BootimgEFIPlugin`` source plugin found in the ``bootimg_efi.py`` |
352 | file is a subclass of the ``SourcePlugin`` class, which is found in the | 352 | file is a subclass of the ``SourcePlugin`` class, which is found in the |
353 | ``pluginbase.py`` file. | 353 | ``pluginbase.py`` file. |
354 | 354 | ||
@@ -365,14 +365,14 @@ implementation, it looks for the plugin with the same name as the | |||
365 | partition. For example, if the partition is set up using the following | 365 | partition. For example, if the partition is set up using the following |
366 | command in a kickstart file:: | 366 | command in a kickstart file:: |
367 | 367 | ||
368 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | 368 | part /boot --source bootimg_pcbios --ondisk sda --label boot --active --align 1024 |
369 | 369 | ||
370 | The methods defined as class | 370 | The methods defined as class |
371 | members of the matching source plugin (i.e. ``bootimg-pcbios``) in the | 371 | members of the matching source plugin (i.e. ``bootimg_pcbios``) in the |
372 | ``bootimg-pcbios.py`` plugin file are used. | 372 | ``bootimg_pcbios.py`` plugin file are used. |
373 | 373 | ||
374 | To be more concrete, here is the corresponding plugin definition from | 374 | To be more concrete, here is the corresponding plugin definition from |
375 | the ``bootimg-pcbios.py`` file for the previous command along with an | 375 | the ``bootimg_pcbios.py`` file for the previous command along with an |
376 | example method called by the Wic implementation when it needs to prepare | 376 | example method called by the Wic implementation when it needs to prepare |
377 | a partition using an implementation-specific function:: | 377 | a partition using an implementation-specific function:: |
378 | 378 | ||
@@ -384,7 +384,7 @@ a partition using an implementation-specific function:: | |||
384 | Create MBR boot partition and install syslinux on it. | 384 | Create MBR boot partition and install syslinux on it. |
385 | """ | 385 | """ |
386 | 386 | ||
387 | name = 'bootimg-pcbios' | 387 | name = 'bootimg_pcbios' |
388 | . | 388 | . |
389 | . | 389 | . |
390 | . | 390 | . |
@@ -550,7 +550,7 @@ changes all instances of "``--ondisk sda``" to "``--ondisk sdb``". The | |||
550 | example changes the following two lines and leaves the remaining lines | 550 | example changes the following two lines and leaves the remaining lines |
551 | untouched:: | 551 | untouched:: |
552 | 552 | ||
553 | part /boot --source bootimg-pcbios --ondisk sdb --label boot --active --align 1024 | 553 | part /boot --source bootimg_pcbios --ondisk sdb --label boot --active --align 1024 |
554 | part / --source rootfs --ondisk sdb --fstype=ext4 --label platform --align 1024 --use-uuid | 554 | part / --source rootfs --ondisk sdb --fstype=ext4 --label platform --align 1024 --use-uuid |
555 | 555 | ||
556 | Once the lines are changed, the | 556 | Once the lines are changed, the |