16964 Commits

Author SHA1 Message Date
Krzesimir Nowak
0cd2fd0a47 overlay sys-cluster/ipvsadm: Rework build system 2023-12-07 12:58:40 +01:00
Krzesimir Nowak
3123c96e62 overlay sys-cluster/ipvsadm: Move to from portage-stable
I'll be adding some patches and changes to ebuild I'd like to
upstream.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
7ecd39da42 overlay profiles: Drop accept keywords for sys-power/acpid
The package became stable for both arches.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
fe83064086 overlay profiles: Update accept keywords for sys-cluster/ipvsadm 2023-12-07 12:58:40 +01:00
Krzesimir Nowak
b870561d17 overlay coreos-devel/sdk-depends: Add app-text/mandoc
It's a build dependency of sys-libs/efivars.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
b92d6c55d0 app-text/mandoc: Add from Gentoo
It's from Gentoo commit 62290e51e6cb68978525105151c8f5f9ddbc4a6e.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
ef22740157 sys-power/acpid: Sync with Gentoo
It's from Gentoo commit 816de8d38c4798590e088a0a5cf0647ce3a4c897.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
a11c09a451 sys-libs/liburing: Sync with Gentoo
It's from Gentoo commit dd8826ccb0154cbd7bf849e4a1738e4d20b291fd.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
731da34a0f sys-libs/libunwind: Sync with Gentoo
It's from Gentoo commit 91f1c92a3dd2a088373e7c3c3978042f4c0b387e.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
14a9edcb2a sys-libs/efivar: Sync with Gentoo
It's from Gentoo commit d64ec364c8969acd128144fb878ab64915a40073.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
a15e04f6b1 sys-kernel/installkernel-gentoo: Sync with Gentoo
It's from Gentoo commit 784bf231299964f1ef28fb33534ee916bc377bca.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
610e25f55e sys-fs/squashfs-tools: Sync with Gentoo
It's from Gentoo commit f965b8d14a023b75170202faa32162a5a3b17ef6.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
aa1086a523 sys-cluster/ipvsadm: Sync with Gentoo
It's from Gentoo commit 46701711da6713dfc1aaa34d9582b1af811f20de.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
92c14d10f8 sys-boot/gnu-efi: Sync with Gentoo
It's from Gentoo commit 31a84c73e7c9b2a77d968c2506ae333aed367414.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
639fba3196 sys-boot/efibootmgr: Sync with Gentoo
It's from Gentoo commit df3f904316d94a463799adc3b240147cdbe9fa8e.
2023-12-07 12:58:40 +01:00
Krzesimir Nowak
9b63891ef2
Merge pull request #1394 from flatcar/krnowak/net-libs-automation
Add net-libs packages under automation
2023-12-07 12:55:26 +01:00
Dongsu Park
d815ab6216 overlay ue-rs: update to 0.1.0-r4, 2023-12-05
Update ue-rs to 0.1.0-r4, 2023-12-05.

Pulls in https://github.com/flatcar/ue-rs/pull/26,
https://github.com/flatcar/ue-rs/pull/29,
https://github.com/flatcar/ue-rs/pull/30,
https://github.com/flatcar/ue-rs/pull/36,
https://github.com/flatcar/ue-rs/pull/37,
https://github.com/flatcar/ue-rs/pull/39,
https://github.com/flatcar/ue-rs/pull/40.
2023-12-07 11:58:23 +01:00
Dongsu Park
79ad74609b
Merge pull request #1468 from flatcar/go-1.19.13-and-1.20.12-main
Upgrade Go from 1.20.11 to 1.20.12
2023-12-07 11:35:59 +01:00
Jeremi Piotrowski
0993a9ada2 profiles: slsa: Remove quadratic complexity in SRC_URI iteration
SLSA provenance generation iterates over $A (which is a subset of $SRC_URI) and
for each of those tries to find a match in $SRC_URI. That's quadratic
complexity, and the performance impact is bad because we shell out to a helper
utility (basename) for every entry. This is leading to long stalls when
generating SLSA for packages with long distfile lists, like go and rust
packages. Iterate over SRC_URI once and create a dictionary to speed up
subsequent lookups. dev-db/etcdctl is a good candidate for testing.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-12-06 14:51:17 +01:00
Krzesimir Nowak
98fbb068ce overlay profiles: Fix a couple of issues with SLSA provenance stuff
- Update to slsa 1.0. This is only partially done, as we still need to
  provide a proper build type. Maybe we could reuse the Github Actions
  Workflow
  (https://slsa-framework.github.io/github-actions-buildtypes/workflow/v1).

- Stop using portageq - its use in ebuilds is banned, so eventually it
  would stop working. Replace it with our hack.

- Stop trying to get a commit hash of coreos-overlay or portage-stable
  as if they were submodules. This setup is long gone, so a commit
  hash of toplevel scripts repo is enough.

- Use zstd for compressing generated JSON files.
2023-12-06 14:03:10 +01:00
Dongsu Park
2218902e7f overlay afterburn: reduce binary size for release profile
In the release profile of Cargo.toml, add `codegen-units = 1`,
`strip = true`, and remove `debug = true`, to reduce binary size of
afterburn included in production images.
2023-12-06 12:58:21 +01:00
Dongsu Park
dcea3ebfae overlay afterburn: fix arm64 cross-build issue of 5.5.0
Fix build issue that started to appear in afterburn 5.5.0. Every public
function for the amd64 part must have a corresponding empty function in
the unsupported part, so that cross-compile for arm64 can work.
2023-12-06 11:55:43 +01:00
Dongsu Park
3e80f2bfa0 overlay afterburn: remove unnecessary patches for 5.5.0
0003-encode-information-for-systemd-networkd-wait-online.patch
can be dropped, as it was already merged to upstream.
d2cc340038

Since upstream does not enable `lto = true` any more in
464c7f9f0a,
it is not necessary to keep the LTO patch.
Just drop it.
2023-12-06 11:55:43 +01:00
Dongsu Park
e7525792ab overlay afterburn: adjust patches for 5.5.0
Adjust Flatcar patches 000[12]* for afterburn 5.5.0.

For 0001* to be compiled, it is necessary to add again the hostname
crate, which is not included in 5.5 any more by default.
2023-12-06 11:55:43 +01:00
Dongsu Park
4e842ccd2f overlay afterburn: update to 5.5.0
Update afterburn to the latest release 5.5.0.
https://github.com/coreos/afterburn/releases/tag/v5.5.0.

Regenerate its dependency crate list.
2023-12-06 11:55:43 +01:00
Flatcar Buildbot
af3a8352f8 dev-lang/go: Update from 1.20.11 to 1.20.12 2023-12-06 10:00:07 +01:00
Dongsu Park
b26cbfd807
Merge pull request #1464 from flatcar/cacerts-3.95-main
Update ca-certificates in main from 3.94 to 3.95
2023-12-06 09:46:44 +01:00
Dongsu Park
2a8db14e90
Merge pull request #1453 from flatcar/buildbot/monthly-glsa-metadata-updates-2023-12-01
Monthly GLSA metadata 2023-12-01
2023-12-05 13:52:50 +01:00
Mathieu Tortuyaux
eba1c71ae3
Merge pull request #1454 from flatcar/containerd-1.7.10-main
Upgrade Containerd in main from 1.7.9 to 1.7.10
2023-12-04 18:19:54 +01:00
Mathieu Tortuyaux
1cb7be951d
coreos-base/oem-gce: remove ACI built image
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-04 18:16:06 +01:00
Mathieu Tortuyaux
5cfbf6e1eb
coreos-base/oem-gce: migrate gce to sysext format
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-04 18:15:58 +01:00
Flatcar Buildbot
1af961999c app-misc/ca-certificates: Update from 3.94 to 3.95 2023-12-04 07:19:24 +00:00
Flatcar Buildbot
dabb09d499 sys-kernel/coreos-sources: Update from 6.1.63 to 6.1.65 2023-12-03 07:11:14 +00:00
Mathieu Tortuyaux
586fc12b5e
Merge pull request #1445 from flatcar/tormath1/gcp-oslogin
gcp: fixed OS Login enabling
2023-12-01 15:06:49 +01:00
Mathieu Tortuyaux
31f4f31622
coreos-base/oem-gce: keep unit after its run
Otherwise it gets restarted a few times, which displays this line in the
logs:
```
Nov 30 13:28:41.819250 enable-oslogin[1232]: /etc/pam.d/sshd already exists. Not enabling OS Login
```

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-01 10:58:32 +01:00
Mathieu Tortuyaux
c927a7aeef
net-misc/openssh: fix duplicate slash
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-01 10:58:31 +01:00
Flatcar Buildbot
d3de8e602d app-containers/containerd: Update from 1.7.9 to 1.7.10 2023-12-01 08:17:04 +00:00
Flatcar Buildbot
1a3b2b8adb portage-stable/metadata: Monthly GLSA metadata updates 2023-12-01 07:15:03 +00:00
Kai Lüke
73af503a13
Merge pull request #1442 from flatcar/kai/overlay-whiteouts
build_image_util: Store path list for recreating tmpfiles rules
2023-11-30 11:58:31 +01:00
Kai Lueke
5590da400e build_image_util: Store path list for recreating tmpfiles rules
The removal of files in the overlay present in the lowerdir creates
whiteout entries that mask the lowerdir entries. For those files that
have a tmpfile rule for creation, a reboot would cause the file to be
created in the upperdir, meaning this file is not updated from the
lowerdir when it changes. In addition we have filtered out some tmpfile
rules that caused upcopies (symlinks and directories) which meant that
removing the /etc/resolv.conf symlink didn't bring it back after reboot.
To make files from the lowerdir show up if they have a tmpfile rule that
normally would recreate them we keep a list of whiteout entries that we
clean up on boot. This also prevents freezing files because
systemd-tmpfiles does not need to recreate them in the upperdir.
2023-11-30 11:57:27 +01:00
Kai Lueke
319c9501e5 sys-kernel/bootengine: Bump ebuild revision 2023-11-29 15:26:15 +01:00
Kai Lueke
0735fcb692 coreos-base/update_engine: bump revision 2023-11-29 12:59:00 +01:00
Kai Lueke
5a2c696e21 coreos-base/update_engine: Ensure /etc/extensions is mergable
This pulls in
https://github.com/flatcar/update_engine/pull/32
to make the Docker/containerd sysexts show up when updating from Beta
3760.1.0.
2023-11-29 12:59:00 +01:00
Mathieu Tortuyaux
a98abadccb
Merge pull request #1410 from flatcar/linux-6.1.63-main
Upgrade Linux Kernel for main from 6.1.62 to 6.1.63
2023-11-24 18:49:05 +01:00
Krzesimir Nowak
71eed26ee0 overlay, ci-automation: Try making common-oem-files a valid ebuild
Assignment of EAPI must be the first non-comment, non-blank line in
the ebuild, otherwise portage masks it as corrupted.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
9a780a3e90 overlay coreos-base/common-oem-files: Move hack description down
EAPI needs to be defined within first 24 lines, so the description
would push the definition too much down as it needs to happen after
possible declaration of EAPI as local for the source case.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
8a75eba906 overlay, ci-automation: Another attempt at providing OEMID info
Please read the comment at the top of the coreos-base/common-oem-files
ebuild for details.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
f542807a9e overlay, ci-automation: Factor out OEMID info to a separate file
Image changes job needs a list of OEMIDs that are built for a specific
architecture. Similar information already existed in the
coreos-base/common-oem-files ebuild, so factor it out to a separate
file, so the image changes job does not need to source the entire
ebuild (or process it in other way), but rather source the smaller
file.
2023-11-21 16:00:00 +01:00
Krzesimir Nowak
a7853de174 overlay coreos-base/common-oem-files: Add some arch info about OEM
For now we don't have a single place where we could learn about which
OEMs with a sysext image gets built for certain architecture. So add
it for now to the coreos-base/common-oem-files package. Missing
architecture info for an OEM that gets built only in a certain arch is
not going to be fatal for the image changes job - we will just get a
report for this OEM with messages about failures to download some
files.
2023-11-21 16:00:00 +01:00
Flatcar Buildbot
94ec7b09dc sys-kernel/coreos-sources: Update from 6.1.62 to 6.1.63 2023-11-21 07:11:50 +00:00