Hi Mark,

Please pass that to the team as it is the way how to adjust that.

Than it's easier to overwrite that with a custom software layer instead of 
tweaking in local.conf.

Thank you.

BR Martin

________________________________
Von: Mark Hatle <mark.ha...@kernel.crashing.org>
Gesendet: Donnerstag, Januar 9, 2025 4:56:17 PM
An: Hecht, Martin (Avnet Silica) <martin.he...@avnet.eu>; 
meta-xilinx@lists.yoctoproject.org <meta-xilinx@lists.yoctoproject.org>; 
tony.mcdow...@amd.com <tony.mcdow...@amd.com>
Cc: mark.ha...@amd.com <mark.ha...@amd.com>; sandeep.gundlupet-r...@amd.com 
<sandeep.gundlupet-r...@amd.com>; john.too...@amd.com <john.too...@amd.com>; 
trevor.woer...@amd.com <trevor.woer...@amd.com>; Rocca, Maxime 
<maxime.ro...@amd.com>
Betreff: [External]Re: [meta-xilinx] obviously wrong assignment operator in 
meta-petalinux for DEFAULT_TIMEZONE

You can override this in your local.conf using:

DEFAULT_TIMEZONE:<machine> = ....

or more universally

DEFAULT_TIMEZONE:forcevariable = ....


I will pass this on to our PetaLinux team.  I don't know why they have set this.
  I suspect it's set this way because the default in Poky is:

poky/meta/recipes-extended/timezone/tzdata.bb:

DEFAULT_TIMEZONE ?= "Universal"


so adding your change of:

--- a/recipes-extended/tzdata/tzdata%.bbappend
+++ b/recipes-extended/tzdata/tzdata%.bbappend
@@ -1 +1 @@
-DEFAULT_TIMEZONE  = "America/Los_Angeles"
+DEFAULT_TIMEZONE ?= "America/Los_Angeles"


Will result in a no-op, since DEFAULT_TIMEZONE has previously been set, a new ?=
will do nothing as the value exists.

If Poky was changed to ??=, then ?= would work here.


On 1/8/25 4:01 AM, Hecht, Martin (Avnet Silica) via lists.yoctoproject.org 
wrote:
> Hi Tony, hi maintainers,
>
> I guess this another sort of using the wrong operator what makes using your
> board more complicated ....
>
> On some other parts of the world we use different timezones.... Why to fix on
> Los Angeles time in meta-petalinux?
>
> Please check attached patch and hopefully take over that approach for other
> AMD/Xilinx development boards.
>
> BR Martin
>
>
> *Dipl. Inform. Martin Hecht*
>
> Senior Embedded Specialist /
> Functional Safety Engineer
> TA1130871952
>
> Avnet SILICA
>
> http://digital.avnet.com/signature/images/silica/Avnet_silica_logo.png
>
> Avnet SILICA
> Kaiserin-Augusta-Allee 14
>
> 10553 Berlin
>
> martin.he...@avnet.eu <mailto:%20martin.he...@avnet.eu>
> O +49 (0) 30 214 88 227
>
> M +49 (0) 172 890 60 19
>
> avnet-silica.com <http://avnet-silica.eu/>
>
> We continuously commit to comply with the applicable data protection laws and
> ensure fair and transparent processing of your personal data.
> Please read our privacy statement including an information notice and data
> protection policy for detailed information on our website.
>
>
>
> 
>


We continuously commit to comply with the applicable data protection laws and 
ensure fair and transparent processing of your personal data. 
Please read our privacy statement including an information notice and data 
protection policy for detailed information on our website.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5520): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5520
Mute This Topic: https://lists.yoctoproject.org/mt/110494173/21656
Group Owner: meta-xilinx+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • [meta-xilinx] wron... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
    • [meta-xilinx]... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
      • Re: [meta... Mark Hatle
        • Re: [... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
    • Re: [meta-xil... Mark Hatle
      • Re: [meta... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
      • [meta-xil... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
        • Re: [... Mark Hatle
          • R... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
            • ... Mark Hatle
            • ... Mark Hatle
              • ... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
              • ... Hecht, Martin (Avnet Silica) via lists.yoctoproject.org
                • ... Mark Hatle

Reply via email to