Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatcar-3510: backport build dev packages #1507

Merged
merged 3 commits into from
Dec 19, 2023

Conversation

t-lo
Copy link
Member

@t-lo t-lo commented Dec 18, 2023

This is PR #1491 back-ported to flatcar-3510. Some manual conflict resolution was required for build_packages.

t-lo and others added 3 commits December 18, 2023 19:12
This change introduces build_dev_binpkgs, a script to build binary
packages for all dependencies of the devcontainer. This works around an
issue with build_packages, which doesn't - leading to build issues with
the devcontainer later on. This particularly happens for more complex
builds with the devcontainer.

Additionally, a call to build_dev_binpkgs has been added to the package
publishing step in ci-automation before binary packages are published.

Signed-off-by: Thilo Fromm <[email protected]>
This change adds a command line option to build_packages to stop
execution of the script after breaking circular dependencies (i.e.
before board packages are built). Helpful for debugging package build
issues.

Signed-off-by: Thilo Fromm <[email protected]>
@t-lo t-lo requested review from pothos and a team December 18, 2023 18:15
@t-lo t-lo merged commit 5314b1a into flatcar-3510 Dec 19, 2023
@t-lo t-lo deleted the t-lo/flatcar-3510-backport-build-dev-packages branch December 19, 2023 10:55

my_board_emerge --pretend --root-deps=rdeps --emptytree ${@} \
| grep '\[ebuild' \
| sed 's/^\[[^]]\+\] \([^ :]\+\)*:.*/\1/' \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@t-lo portage version is really old on 3033 and 3510 so this sed is failing. (see: http://jenkins.infra.kinvolk.io:8080/job/container/job/publish_packages/4466/console) and it gives the following output:

=[ebuild   R    ] sys-devel/gnuconfig-20221007

While with a recent portage version:

=sys-devel/autoconf-archive-2023.02.20

I did not investigate further but certainly the portage output is different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants