public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Document changes in WIC and Go language
@ 2024-04-04 16:56 joaomarcos.costa
  2024-04-04 16:56 ` [PATCH v1 1/5] release-notes: add changes to wic joaomarcos.costa
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

Hello,

This series targets the enhancements in WIC Image Creator, as well as the
changes in Go language. The latter spread into multiple sections.

Best regards,

Joao Marcos Costa (5):
  release-notes: add changes to wic
  release-notes: add changes to Go language
  release-notes: add Go language upgrade
  migration: add Go language changes
  release-notes: add create_go.py to script changes

 .../migration-guides/migration-5.0.rst        |  4 ++++
 .../migration-guides/release-notes-5.0.rst    | 22 +++++++++++++++++++
 2 files changed, 26 insertions(+)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v1 1/5] release-notes: add changes to wic
  2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
@ 2024-04-04 16:56 ` joaomarcos.costa
  2024-04-04 17:51   ` Michael Opdenacker
  2024-04-04 16:56 ` [PATCH v1 2/5] release-notes: add changes to Go language joaomarcos.costa
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

Summarize changes in 'wic Image Creator enhancements' item.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
---
 .../migration-guides/release-notes-5.0.rst         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
index adc1597bb..a56995cc9 100644
--- a/documentation/migration-guides/release-notes-5.0.rst
+++ b/documentation/migration-guides/release-notes-5.0.rst
@@ -26,6 +26,20 @@ New Features / Enhancements in 5.0
 
 -  wic Image Creator enhancements:
 
+   -  Allow the imager's output file extension to match the imager's name,
+      instead of hardcoding it to 'direct' (i.e., the default imager)
+
+   -  For GPT-based disks, add reproducible Disk GUID generation
+
+   -  Allow generating reproducible ext4 images
+
+   -  Add feature to fill a specific range of a partition with zeros
+
+   -  ``bootimg-efi``: add ``install-kernel-into-boot-dir`` parameter to
+      configure kernel installation point(s) (i.e., rootfs and/or boot partition)
+
+   -  ``rawcopy``: add support for zstd decompression
+
 -  SDK-related improvements:
 
 -  Testing:
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v1 2/5] release-notes: add changes to Go language
  2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
  2024-04-04 16:56 ` [PATCH v1 1/5] release-notes: add changes to wic joaomarcos.costa
@ 2024-04-04 16:56 ` joaomarcos.costa
  2024-04-04 17:54   ` Michael Opdenacker
  2024-04-04 16:56 ` [PATCH v1 3/5] release-notes: add Go language upgrade joaomarcos.costa
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

Mention the new class 'go-vendor' in 'Miscellaneous changes'.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
---
 documentation/migration-guides/release-notes-5.0.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
index a56995cc9..e03f722a2 100644
--- a/documentation/migration-guides/release-notes-5.0.rst
+++ b/documentation/migration-guides/release-notes-5.0.rst
@@ -62,6 +62,10 @@ New Features / Enhancements in 5.0
    -  ``systemd-boot`` can, from now on, be compiled as ``native``, thus
       providing ``ukify`` tool to build UKI images.
 
+   -  The ``go-vendor`` class was added to support offline builds (i.e.,
+      vendoring). It can also handle modules from the same repository, taking
+      into account their versions.
+
 Known Issues in 5.0
 ~~~~~~~~~~~~~~~~~~~
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v1 3/5] release-notes: add Go language upgrade
  2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
  2024-04-04 16:56 ` [PATCH v1 1/5] release-notes: add changes to wic joaomarcos.costa
  2024-04-04 16:56 ` [PATCH v1 2/5] release-notes: add changes to Go language joaomarcos.costa
@ 2024-04-04 16:56 ` joaomarcos.costa
  2024-04-04 17:56   ` Michael Opdenacker
  2024-04-04 16:56 ` [PATCH v1 4/5] migration: add Go language changes joaomarcos.costa
  2024-04-04 16:56 ` [PATCH v1 5/5] release-notes: add create_go.py to script changes joaomarcos.costa
  4 siblings, 1 reply; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

There were multiple bumps between Scarthgap and Nanbield, but overall
the version was upgraded from 1.20.10 (in Nanbield) to 1.22.1 (in Scarthgap).

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
---
 documentation/migration-guides/release-notes-5.0.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
index e03f722a2..4ff05d86f 100644
--- a/documentation/migration-guides/release-notes-5.0.rst
+++ b/documentation/migration-guides/release-notes-5.0.rst
@@ -85,6 +85,8 @@ Security Fixes in 5.0
 Recipe Upgrades in 5.0
 ~~~~~~~~~~~~~~~~~~~~~~
 
+-  go: update 1.20.10 -> 1.22.1
+
 Contributors to 5.0
 ~~~~~~~~~~~~~~~~~~~
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v1 4/5] migration: add Go language changes
  2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
                   ` (2 preceding siblings ...)
  2024-04-04 16:56 ` [PATCH v1 3/5] release-notes: add Go language upgrade joaomarcos.costa
@ 2024-04-04 16:56 ` joaomarcos.costa
  2024-04-04 18:02   ` Michael Opdenacker
  2024-04-04 16:56 ` [PATCH v1 5/5] release-notes: add create_go.py to script changes joaomarcos.costa
  4 siblings, 1 reply; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
---
 documentation/migration-guides/migration-5.0.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/documentation/migration-guides/migration-5.0.rst b/documentation/migration-guides/migration-5.0.rst
index a9075c298..302d7fe5a 100644
--- a/documentation/migration-guides/migration-5.0.rst
+++ b/documentation/migration-guides/migration-5.0.rst
@@ -52,6 +52,10 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`.
 Go language changes
 ~~~~~~~~~~~~~~~~~~~
 
+The ``linkmode`` flag was dropped from ``GO_LDFLAGS`` for
+nativesdk/cross-canadian. Also, dynamic linking was disabled for the whole set
+of (previously) supported architectures in ``goarch`` class.
+
 .. _migration-5.0-systemd-changes:
 
 systemd changes
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v1 5/5] release-notes: add create_go.py to script changes
  2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
                   ` (3 preceding siblings ...)
  2024-04-04 16:56 ` [PATCH v1 4/5] migration: add Go language changes joaomarcos.costa
@ 2024-04-04 16:56 ` joaomarcos.costa
  2024-04-04 18:06   ` Michael Opdenacker
  4 siblings, 1 reply; 11+ messages in thread
From: joaomarcos.costa @ 2024-04-04 16:56 UTC (permalink / raw)
  To: docs; +Cc: thomas.petazzoni, michael.opdenacker, Joao Marcos Costa

From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>

Mention this new script, at recipetool, in 'Utiliy script changes'.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
---
 documentation/migration-guides/release-notes-5.0.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
index 4ff05d86f..1c8538986 100644
--- a/documentation/migration-guides/release-notes-5.0.rst
+++ b/documentation/migration-guides/release-notes-5.0.rst
@@ -46,6 +46,8 @@ New Features / Enhancements in 5.0
 
 -  Utility script changes:
 
+   -  New ``recipetool/create_go.py`` script added to support Go recipe creation
+
 -  BitBake improvements:
 
 -  Packaging changes:
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 1/5] release-notes: add changes to wic
  2024-04-04 16:56 ` [PATCH v1 1/5] release-notes: add changes to wic joaomarcos.costa
@ 2024-04-04 17:51   ` Michael Opdenacker
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Opdenacker @ 2024-04-04 17:51 UTC (permalink / raw)
  To: joaomarcos.costa; +Cc: thomas.petazzoni, docs

Hi João,

Thanks for the new notes!

On 4/4/24 at 18:56, joaomarcos.costa@bootlin.com wrote:
> From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
>
> Summarize changes in 'wic Image Creator enhancements' item.
>
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
> ---
>   .../migration-guides/release-notes-5.0.rst         | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>
> diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
> index adc1597bb..a56995cc9 100644
> --- a/documentation/migration-guides/release-notes-5.0.rst
> +++ b/documentation/migration-guides/release-notes-5.0.rst
> @@ -26,6 +26,20 @@ New Features / Enhancements in 5.0
>   
>   -  wic Image Creator enhancements:
>   
> +   -  Allow the imager's output file extension to match the imager's name,
> +      instead of hardcoding it to 'direct' (i.e., the default imager)


I replaced 'direct' by ``direct``.
Let me know if I was wrong. Not too late to change.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into "master-next".
Cheers
Michael

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 2/5] release-notes: add changes to Go language
  2024-04-04 16:56 ` [PATCH v1 2/5] release-notes: add changes to Go language joaomarcos.costa
@ 2024-04-04 17:54   ` Michael Opdenacker
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Opdenacker @ 2024-04-04 17:54 UTC (permalink / raw)
  To: joaomarcos.costa; +Cc: thomas.petazzoni, docs

Hi João,

On 4/4/24 at 18:56, joaomarcos.costa@bootlin.com wrote:
> From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
>
> Mention the new class 'go-vendor' in 'Miscellaneous changes'.
>
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
> ---
>   documentation/migration-guides/release-notes-5.0.rst | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
> index a56995cc9..e03f722a2 100644
> --- a/documentation/migration-guides/release-notes-5.0.rst
> +++ b/documentation/migration-guides/release-notes-5.0.rst
> @@ -62,6 +62,10 @@ New Features / Enhancements in 5.0
>      -  ``systemd-boot`` can, from now on, be compiled as ``native``, thus
>         providing ``ukify`` tool to build UKI images.
>   
> +   -  The ``go-vendor`` class was added to support offline builds (i.e.,
> +      vendoring). It can also handle modules from the same repository, taking
> +      into account their versions.


Before I merge this one, could you send an update that also briefly 
describes this new class in ref-manual/classes.rst? This way, you will 
be able to make a reference to this class in the release notes too.

Thanks in advance
Cheers
Michael.

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 3/5] release-notes: add Go language upgrade
  2024-04-04 16:56 ` [PATCH v1 3/5] release-notes: add Go language upgrade joaomarcos.costa
@ 2024-04-04 17:56   ` Michael Opdenacker
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Opdenacker @ 2024-04-04 17:56 UTC (permalink / raw)
  To: joaomarcos.costa; +Cc: thomas.petazzoni, docs


On 4/4/24 at 18:56, joaomarcos.costa@bootlin.com wrote:
> From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
>
> There were multiple bumps between Scarthgap and Nanbield, but overall
> the version was upgraded from 1.20.10 (in Nanbield) to 1.22.1 (in Scarthgap).
>
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
> ---
>   documentation/migration-guides/release-notes-5.0.rst | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
> index e03f722a2..4ff05d86f 100644
> --- a/documentation/migration-guides/release-notes-5.0.rst
> +++ b/documentation/migration-guides/release-notes-5.0.rst
> @@ -85,6 +85,8 @@ Security Fixes in 5.0
>   Recipe Upgrades in 5.0
>   ~~~~~~~~~~~~~~~~~~~~~~
>   
> +-  go: update 1.20.10 -> 1.22.1
> +
>   Contributors to 5.0
>   ~~~~~~~~~~~~~~~~~~~


Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into master-next.
Thanks!
Michael.

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 4/5] migration: add Go language changes
  2024-04-04 16:56 ` [PATCH v1 4/5] migration: add Go language changes joaomarcos.costa
@ 2024-04-04 18:02   ` Michael Opdenacker
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Opdenacker @ 2024-04-04 18:02 UTC (permalink / raw)
  To: joaomarcos.costa; +Cc: thomas.petazzoni, docs

Hi João

On 4/4/24 at 18:56, joaomarcos.costa@bootlin.com wrote:
> From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
>
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
> ---
>   documentation/migration-guides/migration-5.0.rst | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/documentation/migration-guides/migration-5.0.rst b/documentation/migration-guides/migration-5.0.rst
> index a9075c298..302d7fe5a 100644
> --- a/documentation/migration-guides/migration-5.0.rst
> +++ b/documentation/migration-guides/migration-5.0.rst
> @@ -52,6 +52,10 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`.
>   Go language changes
>   ~~~~~~~~~~~~~~~~~~~
>   
> +The ``linkmode`` flag was dropped from ``GO_LDFLAGS`` for
> +nativesdk/cross-canadian. Also, dynamic linking was disabled for the whole set

Did you mean ``nativesdk/cross-canadian``?
What was the commit?

> +of (previously) supported architectures in ``goarch`` class.


s/in ``goarch``/in the ``goarch``
Thanks
Michael.

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 5/5] release-notes: add create_go.py to script changes
  2024-04-04 16:56 ` [PATCH v1 5/5] release-notes: add create_go.py to script changes joaomarcos.costa
@ 2024-04-04 18:06   ` Michael Opdenacker
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Opdenacker @ 2024-04-04 18:06 UTC (permalink / raw)
  To: joaomarcos.costa; +Cc: thomas.petazzoni, docs


On 4/4/24 at 18:56, joaomarcos.costa@bootlin.com wrote:
> From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
>
> Mention this new script, at recipetool, in 'Utiliy script changes'.


s/Utiliy/Utility/

Fixed!

>
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
> ---
>   documentation/migration-guides/release-notes-5.0.rst | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst
> index 4ff05d86f..1c8538986 100644
> --- a/documentation/migration-guides/release-notes-5.0.rst
> +++ b/documentation/migration-guides/release-notes-5.0.rst
> @@ -46,6 +46,8 @@ New Features / Enhancements in 5.0
>   
>   -  Utility script changes:
>   
> +   -  New ``recipetool/create_go.py`` script added to support Go recipe creation
> +
>   -  BitBake improvements:
>   
>   -  Packaging changes:


Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into master-next.

So, just need updates for 2 commits.
Please send them against "master-next".

Thanks!
Michael.

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-04 18:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 16:56 [PATCH v1 0/5] Document changes in WIC and Go language joaomarcos.costa
2024-04-04 16:56 ` [PATCH v1 1/5] release-notes: add changes to wic joaomarcos.costa
2024-04-04 17:51   ` Michael Opdenacker
2024-04-04 16:56 ` [PATCH v1 2/5] release-notes: add changes to Go language joaomarcos.costa
2024-04-04 17:54   ` Michael Opdenacker
2024-04-04 16:56 ` [PATCH v1 3/5] release-notes: add Go language upgrade joaomarcos.costa
2024-04-04 17:56   ` Michael Opdenacker
2024-04-04 16:56 ` [PATCH v1 4/5] migration: add Go language changes joaomarcos.costa
2024-04-04 18:02   ` Michael Opdenacker
2024-04-04 16:56 ` [PATCH v1 5/5] release-notes: add create_go.py to script changes joaomarcos.costa
2024-04-04 18:06   ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox