W dniu 11.10.2024 o 15:19, Martin Braun pisze:
On Fri, Oct 11, 2024 at 6:13 AM Piotr Krysik <per...@o2.pl> wrote:
Regarding ‘kas’ command - that works well with the ‘zeus’ branch of
meta-ettus (used up to UHD 4.6). But when I switched to more recent
‘kirkstone’ branch - it stopped. Probably some changes are needed in
that command. I would guess kas verstion 2.6.2 is not correct
anymore,
but I don’t know for which the command might work. So it is actually
good that you already are able to run those builds with ‘kas’ but
without docker.
Can you please open an issue on this on github.com/EttusResearch/uhd
<http://github.com/EttusResearch/uhd>? We use kas to build images, so
this should not be an issue.
--M
I probably would if I had suspicion that fault is on meta-ettus side. As
I've written I thought that it was my command that got outdated by
recent changes.
After looking into that I figured out that:
- meta-ettus now relies on a much newer version of kas (4.0 ?),
- docker image for new version of kas have changed and don't allow me to
set the user easily with USER_ID variable to id of current user. Setting
that was important because it did let me to easily tweak the build
without changing ownership of the files.
I'm able to use a following hack by making top directory writable by
everyone:
mkdir top_directory
chmod 777 top_directory
cd top_directory
git clone https://github.com/EttusResearch/meta-ettus.git
docker run --rm -it -w "$PWD" --mount
type=bind,source="$PWD",target="$PWD" \
--net=host \
--security-opt seccomp=unconfined \
ghcr.io/siemens/kas/kas:4.0 \
bash -c "sudo apt update ; sudo apt install -y zip &&
./meta-ettus/contrib/kas_build_imgs_package.sh x4xx v4.7.0.0"
and the build was successful.
Then I manually built sdk:
docker run --rm -it -w "$PWD" --mount
type=bind,source="$PWD",target="$PWD" \
--net=host \
--security-opt seccomp=unconfined \
ghcr.io/siemens/kas/kas:4.0 \
bash
sudo apt update
sudo apt install -y zip
. oe-core/oe-init-build-env
bitbake gnuradio-image -cpopulate_sdk
BTW. this script seems to be responsible for building sdk - in the line 45:
https://github.com/ptrkrysik/meta-ettus/blob/x411/contrib/kas_build_imgs_package.sh#L45
but it's not clear to me in what circumstances this line will be
executed - where _sdk_pkg_name variable will be set?
Best Regards,
Piotr Krysik
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com