zephyr/docker-build.sh: match UID with 'adduser' instead of 'chgrp -R'
Some conflicts because this branch does not have the new
xtensa-build-zephyr.py, it still uses xtensa-build-zephyr.sh
This fixes SOF version.cmake which was just broken by a recent git
security update and started to fail like this:
```
-- SOF version.cmake starting at 2022-04-25T18:14:56Z UTC
-- /workdir/zephyr/.. is at git commit with parent(s):
fatal: unsafe repository ('/workdir' is owned by someone else)
To add an exception for this directory, call:
chgrp -R was always an ugly hack because it was messing with
(persistent) file permissions on the host, outside the container. This
new adduser solution is unfortunately much more code but it does not
leak any side effect outside the container.
Do not fix scripts/docker-run.sh yet because there is still no UID
mismatch between Github Actions and the SOF container (they're both
1001) but add a warning + TODO.
Signed-off-by: Marc Herbert <email address hidden>
(cherry picked from commit d09844ab98cc0f03681d2edbc0395a4f3e1a17ee)
xtensa-build-zephyr.sh: switch to new Zephyr branch sof/stable-v2.0
The brand new sof/stable-v2.0 branch has (for now) only these two
commits that restore compatibility with the 0.14.0 Zephyr SDK and the
latest zephyr-build container
51d2a25590cc "Revert cmake: Zephyr sdk backward compatibility with 0.11.1 and 0.11.2"
af345ec33aa2 (sof/sof/stable-v2.0) cmake: remove xtensa workaround in Zephyr toolchain code.
See longer story in review #5654 for commit 7ec25f16af9e
Signed-off-by: Marc Herbert <email address hidden>
xtensa-build: set default value instead of hardcoding Zephyr commit
This reverts commit b678a4dcaa1e7ad0c6a056e17dd38bfe095a4464 because
it's hardcoding the zephyr version real hard. Instead, merely
change the default value.
Signed-off-by: Marc Herbert <email address hidden>
The new location is not found by the old Zephyr version fd089b361d8aebbc
that is currently hardcoded for this branch by previous SOF commit
b678a4dcaa1e. This causes the failure shown below, see real build
failure example in #5641.
09ed117...
by
Ranjani Sridharan <email address hidden>
topology1: fix errors due to newline in list generator
The recent changes to the string parser in alsa-lib cause the topology
builds to break for some topologies. Avoid adding a newline for the bytes
data for the MUXDEMUX config by introducing a new macro for creating lists
without new lines between items.