ref-manual: improve documentation for SDKMACHINE
PATCH 1/2 ref-manual: improve documentation for SDKMACHINE
--- documentation/ref-manual/variables.rst | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-)
documentation/ref-manual/variables.rst +8 -11
@@ -6756,17 +6756,14 @@ system and gives an overview of their function and contents. $ bitbake -c populate_sdk imagename :term:`SDKMACHINE` - The machine for which the SDK is built. In other words, the SDK is - built such that it runs on the target you specify with the - :term:`SDKMACHINE` value. The value points to a corresponding ``.conf`` - file under ``conf/machine-sdk/``. - - You can use "i686" and "x86_64" as possible values for this variable. - The variable defaults to "i686" and is set in the local.conf file in - the Build Directory. - :: - - SDKMACHINE ?= "i686" + The machine for which the SDK is built. In other words, the SDK is built + such that it runs on the target you specify with the :term:`SDKMACHINE` + value. The value points to a corresponding ``.conf`` file under + ``conf/machine-sdk/`` in the enabled layers, for example ``aarch64``, + ``i586``, ``i686``, ``ppc64``, ``ppc64le``, or ``x86_64``. + + The variable defaults to :term:`BUILD_ARCH` so that SDKs are built for the + build machine. .. note::
Signature · 1 line
2.25.1
PATCH 2/2 kickstart: update busybox note regarding PARTUUID
As of oe-core c996cabf the default BusyBox configuration supports PARTUUID, so update the note to reflect this.
--- documentation/ref-manual/kickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
documentation/ref-manual/kickstart.rst +3 -2
@@ -54,8 +54,9 @@ must also provide one of the ``--ondrive``, ``--ondisk``, or .. note:: The mount program must understand the PARTUUID syntax you use with - ``--use-uuid`` and non-root *mountpoint*, including swap. The BusyBox - versions of these application are currently excluded. + ``--use-uuid`` and non-root *mountpoint*, including swap. The default + configuration of BusyBox in OpenEmbedded supports this, but this may + be disabled in custom configurations. Here is an example that uses "/" as the mountpoint. The command uses ``--ondisk`` to force the partition onto the ``sdb`` disk::
Signature · 1 line
2.25.1
Re: [docs] [PATCH 2/2] kickstart: update busybox note regarding PARTUUID
Hi Ross,
Quoted 4 lines · Ross Burton
As of oe-core
c996cabfthe default BusyBox configuration supports PARTUUID, so update the note to reflect this.Signed-off-by Ross Burton <[email protected]>
Thanks,
Quentin
Re: [docs] [PATCH 2/2] kickstart: update busybox note regarding PARTUUID
In reply to Ross BurtonHi Ross,
Quoted 14 lines · Ross Burton
As of oe-core
c996cabfthe default BusyBox configuration supports PARTUUID, so update the note to reflect this.Signed-off-by Ross Burton <[email protected]>--- documentation/ref-manual/kickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)documentation/ref-manual/kickstart.rst +0
-0@@ -54,8 +54,9 @@ must also provide one of the ``--ondrive``, ``--ondisk``, or .. note::
documentation/ref-manual/kickstart.rst must also provide one of the ``--ondrive``, ``--ondisk``, or · line 62
Quoted 10 lines
documentation/ref-manual/kickstart.rst +3
-2The mount program must understand the PARTUUID syntax you use with - ``--use-uuid`` and non-root *mountpoint*, including swap. The BusyBox - versions of these application are currently excluded. + ``--use-uuid`` and non-root *mountpoint*, including swap. The default + configuration of BusyBox in OpenEmbedded supports this, but this may + be disabled in custom configurations. Here is an example that uses "/" as the mountpoint. The command uses ``--ondisk`` to force the partition onto the ``sdb`` disk::
Thanks for the updates.
However, this is out of sync with the messages inscripts/lib/wic/help.py in OE core.
See https://lists.yoctoproject.org/g/docs/message/1520
How could we address the mismatch?
Could we update OE core instead and then the documentation? That would be even better to include the text from the sources, but that I'm not sure how to do this...
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [docs] [PATCH 2/2] kickstart: update busybox note regarding PARTUUID
Greetings,
Quoted 32 lines · Michael Opdenacker
Hi Ross,
Quoted 14 lines · Ross Burton
As of oe-core
c996cabfthe default BusyBox configuration supports PARTUUID, so update the note to reflect this.Signed-off-by Ross Burton <[email protected]>--- documentation/ref-manual/kickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)documentation/ref-manual/kickstart.rst +0
-0@@ -54,8 +54,9 @@ must also provide one of the ``--ondrive``, ``--ondisk``, or .. note::documentation/ref-manual/kickstart.rst must also provide one of the ``--ondrive``, ``--ondisk``, or · line 62
Quoted 10 lines
documentation/ref-manual/kickstart.rst +3
-2The mount program must understand the PARTUUID syntax you use with - ``--use-uuid`` and non-root *mountpoint*, including swap. The BusyBox - versions of these application are currently excluded. + ``--use-uuid`` and non-root *mountpoint*, including swap. The default + configuration of BusyBox in OpenEmbedded supports this, but this may + be disabled in custom configurations. Here is an example that uses "/" as the mountpoint. The command uses ``--ondisk`` to force the partition onto the ``sdb`` disk::Thanks for the updates.
However, this is out of sync with the messages inscripts/lib/wic/help.pyin OE core.
Quoted 6 lines
See https://lists.yoctoproject.org/g/docs/message/1520
How could we address the mismatch?
Could we update OE core instead and then the documentation? That would be even better to include the text from the sources, but that I'm not sure how to do this...
I merged the change into "master-next". That's better than before, but the documentation is still out of date.
I'm keeping track of the issue, but I'd be interested in your thoughts about how to keep the documentation in sync with the code changes.
Thanks in advance
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Ross,
Quoted 20 lines · Ross Burton
Signed-off-by Ross Burton <[email protected]>--- documentation/ref-manual/variables.rst | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-)documentation/ref-manual/variables.rst +0
-7@@ -6756,17 +6756,14 @@ system and gives an overview of their function and contents. $ bitbake -c populate_sdk imagename :term:`SDKMACHINE` - The machine for which the SDK is built. In other words, the SDK is - built such that it runs on the target you specify with the - :term:`SDKMACHINE` value. The value points to a corresponding ``.conf`` - file under ``conf/machine-sdk/``. - - You can use "i686" and "x86_64" as possible values for this variable. - The variable defaults to "i686" and is set in the local.conf file in
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6764
Quoted 10 lines
documentation/ref-manual/variables.rst +6
-4- the Build Directory. - :: - - SDKMACHINE ?= "i686" + The machine for which the SDK is built. In other words, the SDK is built + such that it runs on the target you specify with the :term:`SDKMACHINE` + value. The value points to a corresponding ``.conf`` file under + ``conf/machine-sdk/`` in the enabled layers, for example ``aarch64``, + ``i586``, ``i686``, ``ppc64``, ``ppc64le``, or ``x86_64``. +
s/or ``x86_64``/and ``x86_64`` are :oe_git:available in OpenEmbedded-Core </openembedded-core/tree/meta/conf/machine-sdk>/ ?
Please triple check the link, I've just created it from memory.
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6766
Quoted 2 lines
documentation/ref-manual/variables.rst +2
-0+ The variable defaults to :term:`BUILD_ARCH` so that SDKs are built for the + build machine.
s/build machine/architecture of the build machine/ ?
Otherwise,
Thanks!
Quentin