Commit Graph

24587 Commits

Author SHA1 Message Date
Flatcar Buildbot
be77f30a1a dev-python/gpep517: Sync with Gentoo
It's from Gentoo commit 0b5dce737371700e5c94d6c18e7400aa485deadd.
2023-10-02 07:10:21 +00:00
Flatcar Buildbot
446300477d dev-python/cython: Sync with Gentoo
It's from Gentoo commit 61f2127c97460981b916177762b105913f2e51c6.
2023-10-02 07:10:17 +00:00
Flatcar Buildbot
3ec007bc08 dev-libs/libxml2: Sync with Gentoo
It's from Gentoo commit 637faf41b5472ce4b79afed42bac94ebe2c5127a.
2023-10-02 07:10:05 +00:00
Flatcar Buildbot
fd51b629c6 dev-libs/libnl: Sync with Gentoo
It's from Gentoo commit 7960fc3c4051473b7f0fdee1c7c73aac83d0959b.
2023-10-02 07:09:58 +00:00
Flatcar Buildbot
b76c354e15 dev-libs/libgpg-error: Sync with Gentoo
It's from Gentoo commit 3dc5713dd6ba5bba9495390428c133595ff5d3c8.
2023-10-02 07:09:56 +00:00
Flatcar Buildbot
e3a1da9b7f dev-libs/libdnet: Sync with Gentoo
It's from Gentoo commit 1bfd9dcb317d342dac8b357193680d41742e5df8.
2023-10-02 07:09:56 +00:00
Flatcar Buildbot
2adf144b81 dev-libs/elfutils: Sync with Gentoo
It's from Gentoo commit 3b09e73d2c79818e19dd1e83d48e78b5d28e0ef6.
2023-10-02 07:09:50 +00:00
Flatcar Buildbot
103de6f7ae dev-libs/cJSON: Sync with Gentoo
It's from Gentoo commit 8e1df5e17cca47779490940fd70c8579aa79d622.
2023-10-02 07:09:49 +00:00
Flatcar Buildbot
d3952613dd dev-lang/python: Sync with Gentoo
It's from Gentoo commit 4126b59d797cdf55232a2f94429ced5d97ced448.
2023-10-02 07:09:46 +00:00
Flatcar Buildbot
5d1f526e6d app-emulation/qemu: Sync with Gentoo
It's from Gentoo commit 3136510fe48f49348896e5f28ff01e49329936b4.
2023-10-02 07:09:30 +00:00
Thilo Fromm
455645c2e0
Merge pull request #1158 from flatcar/t-lo/experimental-prefix-support
Flatcar SDK: add experimental prefix builds
2023-09-30 12:38:33 +02:00
flatcar-ci
c5073f00bb New version: main-3742.0.0-nightly-20230929-2100 2023-09-30 01:50:20 +00:00
flatcar-ci
31c2d3a0ba New version: main-3742.0.0-nightly-20230929-2100-INTERMEDIATE 2023-09-29 21:00:31 +00:00
Krzesimir Nowak
f6bb158a5e
Merge pull request #1200 from flatcar/dongsu/update-engine-gcc-13
overlay coreos-base/update_engine: fix build issues with gcc 13
2023-09-29 20:43:51 +02:00
Krzesimir Nowak
0c96ff690e
Merge pull request #799 from flatcar/krnowak/more-2-phase-tag-fixes
ci-automation: Follow-up fix for 2-phase nightly SDK build tags
2023-09-29 20:41:26 +02:00
Thilo Fromm
f846b0306b SDK prefix: removed spurious dev-libs/python from prefix overlay
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 16:36:20 +02:00
Dongsu Park
15fea68790 overlay coreos-base/update_engine: fix build issues with gcc 13
Starting from gcc 13, it is required to explicitly include cstdint, as
other standard library header files will not include other headers that
were being used internally by the library. So update_engine also has to
explicitly include cstdint to avoid build errors.

Pulls in https://github.com/flatcar/update_engine/pull/27
2023-09-29 16:10:14 +02:00
Thilo Fromm
17512925e7 SDK prefix: implement suggestions from code review
- remove explicit "-multilib" from prefix keywordsas it is set in
  profile
- split heredoc for generating emerge wrapper so we don't need to
  escape
- add sys-apps/bubblewrap and virtual/tmpfiles to package update
  automation list
- use prefix build fix for libgpg-error from upstream

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Thilo Fromm
ba4342d2b7 Apply suggestions from code review
Thank you @krnowak! Great review and awesome feedback, as always.

Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2023-09-29 15:22:45 +02:00
Thilo Fromm
6f38b9ad69 Prefix: add stabilisation TODOs, changelog entry
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Thilo Fromm
a4d4a94068 Flatcar SDK: add experimental prefix builds
This change adds experimental prefix builds to the Flatcar SDK.

Prefix builds use a custom sys prefix path and emerge all binaries and
runtime dependencies into that prefix.

This path can then e.g. be shipped as a portable sysext since it
includes all dependencies, and has libraries at a custom path so these
do not conflict with libraries on target systems.

Prefix uses a staging environment (path) featuring a full-blown
development environment, and a "final" environment for installing.
Staging and final need to be created using setup_prefix first,
which will also create an emerge wrapper to emerge ebuilds into staging
and subsequently final. The root fs in final may then e.g. be used to
create a distro independent, portable sysext.

Co-authored-by: James Le Cuirot <chewi@gentoo.org>
Co-authored-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Co-authored-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Krzesimir Nowak
1f5658e7ad
Merge pull request #1201 from flatcar/krnowak/fix-image-changes
Fix garbled output in image changes reports
2023-09-29 14:16:26 +02:00
Krzesimir Nowak
876436f34b ci-automation/image-changes: Work around show-changes issue
There's a bug in show-changes script where it defaults to values with
single quotes in them. So the default scripts directory is not
"scripts" but "'scripts'". This will be fixed in show-scripts, but for
now work it around here by explicitly defining the directories.
2023-09-29 13:49:46 +02:00
Krzesimir Nowak
f44c3d3eaa
Merge pull request #945 from flatcar/krnowak/move-openssh
Move net-misc/openssh from overlay to portage-stable, configuration changes
2023-09-29 13:48:54 +02:00
Krzesimir Nowak
cabc3c0798 changelog: Add entries 2023-09-29 13:47:34 +02:00
Flatcar Buildbot
71ab9b1064 overlay coreos/config: Start installing default openssh configs
The configs provided by the openssh and Gentoo projects usually keep
everything commented out, meaning that the default values will be
used. On top of that, they will also include snippets in the snippet
directory. As such, start installing the default configs. We only mask
a snippet that defines sftp subsystem, because we provide our own
config snippet from coreos-base/misc-files that defines it.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
88b653b1a5 overlay coreos-base/oem-gce: Update oslogin enablement
We will be installing an sshd config snippet instead of replacing the
whole sshd config. In order to pull this off, we need to make sure
that the snippets directory exists and the main sshd config file
actually includes the snippets in the directory.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
e983b8fb50 overlay app-emulation/wa-linux-agent: Update ssh config setup
This commit updates our Flatcar patch with a code that will install an
sshd config snippet instead of editing the main sshd config file if
snippets directory exists.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
8151bc3154 overlay sys-auth/google-oslogin: Add an sshd config snippet
The sshd config provided by this package is now marked as provided for
compatibility only - it will be there in case there is still a symlink
in /etc pointing to it. The new config snippet will be used by the
enable oslogin stuff in the updated coreos-base/oem-gce package in
following commits.
2023-09-29 13:47:34 +02:00
Flatcar Buildbot
d698526730 overlay coreos-base/coreos-init: Pull in ssh config removal
The configs were moved to coreos-base/misc-files. In the meantime,
update python compatibility and drop unused USE flag and an obsolete
README file.
2023-09-29 13:47:07 +02:00
Krzesimir Nowak
ba79258a4f ci-automation/image-changes: Fix some redirection issues
First issue is that on Jenkins, the beginning of the output seems to
be eaten, leaving us only the final part of the reports. This looks
like an issue stemming from redirecting stdout to stdout with
">/dev/stdout". Special case the stdout by not redirecting anything in
such case.

Second issue is that errors printed by the tools we use for generating
the reports go to stderr, so they don't show in the report. So
redirect their stderr to stdout, so the possible errors are visible in
the report file too. We do not want to redirect the stderr of the
print_image_reports function, because that would also capture
debugging stuff from "set -x" that GitHub Actions are using.
2023-09-29 13:13:22 +02:00
Flatcar Buildbot
29c85a2781 overlay profiles: Enable openssh symlink installation on generic images 2023-09-29 07:42:48 +02:00
Flatcar Buildbot
af874a04e2 overlay coreos-base/misc-files: Import Flatcar modifications for openssh
- Import and update configs for ssh client and daemon from the
  flatcar/init repository. These configs have now became snippets that
  the main configuration file will include.

- Install a drop-in file for the ssh.socket unit disabling the rate
  limiting.

- Install compatibility symlinks in old ssh config locations that will
  point to respective files in /usr/share/flatcar/etc.

- Make all these actions optional - openssh USE flag needs to be
  enabled. That way, generic images can pull those changes, while SDK
  can avoid doing so.
2023-09-29 07:42:48 +02:00
Krzesimir Nowak
50cb35e9b3 overlay profiles: Add accept keywords for net-misc/openssh 2023-09-29 07:42:48 +02:00
Krzesimir Nowak
51e1bd31b5 overlay net-misc/openssh: Apply Flatcar modifications
None of these modifications are Flatcar-specific. We are trying to
upstream them in https://github.com/gentoo/gentoo/pull/31615. When
they reach Gentoo, we can move net-misc/openssh to portage-stable.
2023-09-29 07:42:48 +02:00
Krzesimir Nowak
21c3c57ce9 net-misc/openssh: Sync with Gentoo
It's from Gentoo commit 5b974a3c903327b37f46a0212bf397ef634a67fd.
2023-09-29 07:42:48 +02:00
flatcar-ci
96088a2e14 New version: main-3741.0.0-nightly-20230928-2100 2023-09-28 21:00:25 +00:00
Krzesimir Nowak
3440884205 ci-automation/sdk_bootstrap: Put some names into variables
Changing the name of the main branch and the name of the nightly tag
may be useful for testing, so let's have them defined in one place.
2023-09-28 17:22:09 +02:00
Krzesimir Nowak
71b49c8d43 ci-automation: Follow-up fix for 2-phase nightly SDK build tags
We push a commit with the nightly SDK tag to the main branch if the
SDK was built from the main branch. Which is what happens when we
build the nightly intermediate SDK. The final nightly SDK is not built
from the main branch, but rather from the nightly intermediate SDK
tag. Both of them point to the exactly same commit, but the difference
is in what `git rev-parse --abbrev-ref HEAD` returns for each of
those. When the main branch is checked out, the command will return
"main". When the nightly intermediate SDK tag is checked out, the
command will return "HEAD". So when nightly final SDK is being built,
the command returns a string different than "main" and thus decides
not to push the commit with the final nightly SDK tag to the main
branch. Rework it to assume that if `git rev-parse HEAD` and `git
rev-parse origin/main` return the same commit hash (and it's the
nightly build and all that) then the commit should be pushed.

We use "origin/main" instead of just "main" just in case the main
branch was not checked out before, for some reason (may come up in
testing with different names for the main branch when testing).
2023-09-28 17:22:09 +02:00
Krzesimir Nowak
bfea5ae064
Merge pull request #1177 from flatcar/buildbot/weekly-portage-stable-package-updates-2023-09-25
Weekly portage-stable package updates 2023-09-25
2023-09-28 16:10:46 +02:00
Kai Lüke
75c9eb47ef
Merge pull request #1198 from flatcar/kai/omaha-sha256
update_engine/init: Use Omaha hash_sha256 attribute for OEM packages
2023-09-28 16:07:05 +02:00
Kai Lueke
64b9f3df87 update_engine/init: Use Omaha hash_sha256 attribute for OEM packages
This pulls in
https://github.com/flatcar/update_engine/pull/26
and
https://github.com/flatcar/init/pull/108
to use the newer Omaha hash_sha256 attribute.
2023-09-28 15:22:52 +02:00
Krzesimir Nowak
c21e806504 changelog: Add entries 2023-09-28 07:32:49 +02:00
flatcar-ci
bc2e604b59 New version: main-3740.0.0-nightly-20230927-2100 2023-09-27 21:00:28 +00:00
Krzesimir Nowak
781e5c8712 overlay profiles: Add accept keywords for sys-devel/gcc 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
72a4bf71e3 overlay profiles: Add accept keywords for sys-process/procps-4.0.4 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
1ab03057be overlay profiles: Add accept keywords for app-crypt/mit-krb5 2023-09-27 17:04:19 +02:00
Krzesimir Nowak
52e0782e51 overlay profiles: Update accept keywords for net-misc/curl 2023-09-27 17:04:13 +02:00
Krzesimir Nowak
2ec2f288a4 overlay profiles: Add accept keywords for net-dns/bind-tools 2023-09-27 17:02:44 +02:00
Krzesimir Nowak
f496c943e3 overlay profiles: Updated accept keywords for dev-libs/libgcrypt 2023-09-27 17:02:44 +02:00