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
[email protected] <mailto:%[email protected]>
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.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5519):
https://lists.yoctoproject.org/g/meta-xilinx/message/5519
Mute This Topic: https://lists.yoctoproject.org/mt/110494173/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-