30813 Commits

Author SHA1 Message Date
Krzesimir Nowak
13e84333b8 pkg-auto: Add md5-metadata cache diff reports to package reports 2025-04-29 09:43:21 +02:00
Krzesimir Nowak
016f35d8f5 pkg-auto: Add the md5-metadata cache diff library 2025-04-29 09:43:21 +02:00
Krzesimir Nowak
3b11e2404a pkg-auto: Add the highest-score-common-subsequence algorithm library
It's a more general variant of the longest-common-subsequence
algorithm.
2025-04-29 09:43:21 +02:00
Krzesimir Nowak
3233f6eafe pkg-auto: Add a library for parsing md5-metadata cache files 2025-04-29 09:43:21 +02:00
Krzesimir Nowak
7c9c2dfea4 pkg-auto: Fix some reference variable names
I'm trying to follow a convention where reference variable names end
with "_ref".
2025-04-29 09:43:21 +02:00
Krzesimir Nowak
e1a4d8e5a9 pkg-auto: Move debugging stuff to a separate file
I'll use it also in new libraries.
2025-04-29 09:43:21 +02:00
Krzesimir Nowak
fff6bd78b2 pkg-auto: Move regular expression for package name to gentoo_ver
I did it initially, because I think I'll use this expression in other
place too. In the end I didn't but I still think it's a better place
for it.
2025-04-29 09:43:21 +02:00
Krzesimir Nowak
80d12ea75f pkg-auto: Rework reports generation
Reports generation used to be executed four times. The number of runs
was a result of cartesian product of two sets - old and new state, and
of amd64 and arm64 architectures. It was pretty much a slow process
because egencache was called implicitly four times, and it was running
in a single-threaded fashion, and also SDK reports were duplicated
(they were the same for old-amd64 and old-arm64, and the same for
new-amd64 and new-arm64 runs).

This changes the generation, so it is being run only two times - once
for old state and once for new state. Every run generates SDK packages
reports and per-architecture board packages reports. Egencache will
now utilize more threads too.
2025-04-29 09:43:21 +02:00
Krzesimir Nowak
00572476c4 pkg-auto: Simplify SDK image override handling
There used to be a possibility to override used SDK image per
architecture, but the need for it disappeared once SDK images started
to contain the initial form of board rootfs for both amd64 and
arm64. This eliminated problems with cyclic dependencies errors
popping up while gather the package reports. So with this change it is
now only possible to specify just one SDK image to use for any
arch. This feature is not used all that often anyway.
2025-04-29 09:43:20 +02:00
Krzesimir Nowak
7b5841c039 pkg-auto: Add md5-metadata cache to reports
This adds an explicit generation of md5-metadata cache before any we
do any emerge invocations. That way we can have a copy of reports even
if emerge fails for some reason. But mostly the reason for this
copying is to consume the data later, outside the SDK container.
2025-04-29 09:43:20 +02:00
Krzesimir Nowak
b52676a64b pkg-auto: Add function for declaring structs
Declaring structs differs a bit from declaring typical variables in
that it takes one initializer and applies it to all the declared
variables.

Will be used a lot by upcoming libraries.
2025-04-29 09:43:20 +02:00
Krzesimir Nowak
3931cbff5f pkg-auto: Add a global variable name generator function
Some upcoming libraries will use this for their global variables. The
function is using a single counter, which ensures that the generated
names will be globally unique.
2025-04-29 09:43:20 +02:00
Krzesimir Nowak
cfd6a4057b pkg-auto: Move sets_split to util.sh
This will be used in other places, so make it available without
importing the big pkg_auto_lib.sh file.
2025-04-29 09:43:20 +02:00
flatcar-ci
6b2ef6f118 New version: main-4319.0.0-nightly-20250428-2100 2025-04-28 21:00:27 +00:00
flatcar-ci
c443e4429a New version: main-4316.0.0-nightly-20250425-2100 2025-04-26 02:41:49 +00:00
flatcar-ci
b03053f59c New version: main-4316.0.0-nightly-20250425-2100-INTERMEDIATE 2025-04-25 21:00:28 +00:00
Jeremi Piotrowski
d306fb9ec4
Merge pull request #2825 from aaronk6/main
Enable virtio-fs kernel module for shared directory support in QEMU VMs
2025-04-25 17:37:54 +02:00
Jeremi Piotrowski
49c8b51b72 changelog: Add entry for virtiofs
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2025-04-25 17:13:11 +02:00
Jeremi Piotrowski
330ebdc579 coreos-modules: Move MEMORY_HOT{PLUG,REMOVE} to common
Dependency of ZONE_DEVICE.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2025-04-25 10:51:18 +02:00
Jeremi Piotrowski
31db25c53e coreos-modules: Add CONFIG_FS_DAX=y
This is a dependency of CONFIG_FUSE_DAX=y.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2025-04-25 10:51:17 +02:00
aaronk6
dba9b9a333 coreos-modules: Fix CONFIG_FUSE_DAX and CONFIG_ZONE_DEVICE (y instead of m) 2025-04-25 10:51:15 +02:00
aaronk6
8519210e0b coreos-modules: Add CONFIG_FUSE_DAX=m and CONFIG_ZONE_DEVICE=m 2025-04-25 10:51:12 +02:00
aaronk6
66a8eaf828 coreos-modules: Add CONFIG_VIRTIO_FS=m 2025-04-25 10:51:12 +02:00
flatcar-ci
f9bb09c168 New version: main-4315.0.0-nightly-20250424-2100 2025-04-25 04:27:19 +00:00
flatcar-ci
fc9a123204 Revert failed version back to 4314.0.0+nightly-20250423-2100 2025-04-25 01:01:31 +00:00
flatcar-ci
e1890197e9 New version: main-4315.0.0-nightly-20250424-2100 2025-04-24 21:00:29 +00:00
James Le Cuirot
c4cca68f13
Merge pull request #2850 from flatcar/chewi/golang-segfault
dev-lang/go: Sync with Gentoo to fix segfault issue
2025-04-24 17:34:12 +01:00
James Le Cuirot
e01bb018f9
dev-lang/go: Sync with Gentoo
It's from Gentoo commit 7158bcf1dca8775e2614ed826c69fa538dc79b86. It
fixes a nasty segfault issue affecting Docker and more.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-24 17:26:17 +01:00
Krzesimir Nowak
538fd076e9
Merge pull request #2814 from flatcar/krnowak/move-stuff-over
Move some packages from overlay to portage-stable
2025-04-24 15:31:36 +02:00
James Le Cuirot
3a887ebc4a
Merge pull request #2838 from flatcar/chewi/binpkgs
Drop confusing and obsolete binpkg-related code
2025-04-24 14:26:15 +01:00
Krzesimir Nowak
7abbe36ea1 changelog: Add an entry 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
4270d47111 overlay coreos/config: Various small fixes
Mostly making sure that doing replacements is safe for repeated
sourcing of the hook file, so we won't end up with a situation where a
function foo is calling itself infinitely.

Other than that, making sure that install masks are also added to
PKG_INSTALL_MASK for binary packages.

Also fixed redefining strip function in sys-libs/glibc.

Moved one function from profile.bashrc to sys-apps/policycoreutils, so
it isn't executed for every package.
2025-04-24 15:26:15 +02:00
Krzesimir Nowak
c243f36b4a .github: Add sys-libs/timezone-data to automation 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
12950ae146 sys-libs/timezone-data: Sync with Gentoo
It's from Gentoo commit 2d1d2edfcb95e639a4607131f175565c0ad6e699.
2025-04-24 15:26:15 +02:00
Krzesimir Nowak
d33ae26aa1 overlay sys-libs/timezone-data: Move to portage-stable 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
e6cf1ae09c overlay coreos/config: Add Flatcar modifications for sys-libs/timezone-data 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
61c99a95b9 sys-fs/udev-init-scripts: Move to prefix overlay
We have added this package to package.provided in our profiles, so it
rather will be useful for building stuff in prefix-overlay instead.
2025-04-24 15:26:15 +02:00
Krzesimir Nowak
774875bfb8 sys-fs/udev-init-scripts: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2025-04-24 15:26:15 +02:00
Krzesimir Nowak
08c93f95c8 overlay sys-fs/udev-init-scripts: Move to portage-stable 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
c2ba052a76 overlay coreos-base/coreos-init: Drop mdmonitor.service dropin 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
bfe93da79e .github: Add sys-fs/mdadm to automation 2025-04-24 15:26:15 +02:00
Krzesimir Nowak
52d938222d sys-fs/mdadm: Sync with Gentoo
It's from Gentoo commit fcee1f7e3c2cfccc0c5841c3aa2a9efdecaaf068.
2025-04-24 15:26:14 +02:00
Krzesimir Nowak
ff40ff81f3 overlay sys-fs/mdadm: Move to portage-stable 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
83cb222fab overlay coreos/config: Add Flatcar modifications for sys-fs/mdadm 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
a51ce6dc8a .github: Add sys-fs/lvm2 to automation 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
64dbcab94c overlay profiles: Update USE flags for sys-fs/lvm2 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
f62dc224f3 sys-fs/lvm2: Sync with Gentoo
It's from Gentoo commit ef878f9169b08c18c5097b3205ebcb947891abe3.
2025-04-24 15:26:14 +02:00
Krzesimir Nowak
3abb159785 overlay sys-fs/lvm2: Move to portage-stable 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
f3e87191c6 .github: Add sys-auth/polkit to automation 2025-04-24 15:26:14 +02:00
Krzesimir Nowak
4d152fc93e sys-auth/polkit: Sync with Gentoo
It's from Gentoo commit 80d4449eb6cd125ca355842ebd03890e907bc5df.
2025-04-24 15:26:14 +02:00