Skip to contentSkip to conversation

dev-manual: wic.rst: Update native tools build command

PATCH In review Daniel Semkowicz 2 participants 4 messages Aug 8, 2023 – Aug 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: wic.rst: Update native tools build command

Requirements list seems to be outdated. It is not possible to follow instructions for Raw Mode as not all of the native tools are available. All wic dependencies are gathered under wic-tools package. Some commands in the instruction already use wic-tools native sysroot, but this dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead of the seperate packages.

---
 documentation/dev-manual/wic.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/wic.rst +1 -1
index 2a4408cdb..664f07a21 100644
@@ -92,7 +92,7 @@ system needs to meet the following requirements:
 -  You must build several native tools, which are built to run on the
    build system::
 
-      $ bitbake parted-native dosfstools-native mtools-native
+      $ bitbake wic-tools
 
 -  Include "wic" as part of the
    :term:`IMAGE_FSTYPES`
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Daniel

Many thanks for the patch!

Quoted 18 lines · Daniel Semkowicz

Requirements list seems to be outdated. It is not possible to follow instructions for Raw Mode as not all of the native tools are available. All wic dependencies are gathered under wic-tools package. Some commands in the instruction already use wic-tools native sysroot, but this dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead of the seperate packages.

---
  documentation/dev-manual/wic.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/wic.rst +0 -0
index 2a4408cdb..664f07a21 100644

documentation/dev-manual/wic.rst system needs to meet the following requirements: · line 98

Quoted 8 lines
documentation/dev-manual/wic.rst +1 -1
@@ -92,7 +92,7 @@ system needs to meet the following requirements:
  -  You must build several native tools, which are built to run on the
     build system::
 
-      $ bitbake parted-native dosfstools-native mtools-native
+      $ bitbake wic-tools
 
  -  Include "wic" as part of the
     :term:`IMAGE_FSTYPES`

... and merged into master-next in yocto-docs.

Do you think the change also applies to Mickledore and Kirkstone? Thanks again
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hi Michael,

Quoted 30 lines · Michael Opdenacker

Hi Daniel

Many thanks for the patch!

Quoted 24 lines · Daniel Semkowicz

Requirements list seems to be outdated. It is not possible to follow instructions for Raw Mode as not all of the native tools are available. All wic dependencies are gathered under wic-tools package. Some commands in the instruction already use wic-tools native sysroot, but this dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead of the seperate packages.

---
  documentation/dev-manual/wic.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/wic.rst +1 -1
index 2a4408cdb..664f07a21 100644
@@ -92,7 +92,7 @@ system needs to meet the following requirements:
  -  You must build several native tools, which are built to run on the
     build system::
 
-      $ bitbake parted-native dosfstools-native mtools-native
+      $ bitbake wic-tools
 
Quoted 8 lines

documentation/dev-manual/wic.rst system needs to meet the following requirements: · line 98

Quoted 2 lines
documentation/dev-manual/wic.rst +0 -0
  -  Include "wic" as part of the
     :term:`IMAGE_FSTYPES`

... and merged into master-next in yocto-docs.

Do you think the change also applies to Mickledore and Kirkstone?

For sure, it also applies to Kirkstone.
I was not testing with Mickledore, but if this problem was already present in Kirkstone, then I would be surprised if on Mickledore it works correctly.

Best regards
Daniel

Quoted 9 lines

Thanks again
Cheers
Michael.
--

Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw

Hi Daniel,

Quoted 5 lines · Daniel Semkowicz

For sure, it also applies to Kirkstone.
I was not testing with Mickledore, but if this problem was already present in Kirkstone, then I would be surprised if on Mickledore it works correctly.

Right, thanks!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com