32202 Commits

Author SHA1 Message Date
Krzesimir Nowak
5d11f43472 run_sdk_container: Fix some shellcheck issues
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:39:02 +02:00
Krzesimir Nowak
3480b2ba6a run_sdk_container: Allow mounting other git repos inside SDK
They get the same treatment like the scripts repo.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:39:00 +02:00
Krzesimir Nowak
8d8a82be6e run_sdk_container: Mount all worktrees of the scripts repo into SDK
Nothing changes if the scripts repo is standalone and has no linked
worktrees.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:38:59 +02:00
Krzesimir Nowak
5100f40e11 sdk_lib/sdk_entry.sh: Apply the replacements if there are any
This makes sure that the worktrees mounted into the SDK container
properly reference other worktrees, so they won't be treated by git as
stale and get cleaned up.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:38:57 +02:00
Krzesimir Nowak
0a1cdd43d7 run_sdk_container: Rework trap handling
This is something I have done, because I needed it in early drafts of
the work. The work has evolved and the need disappeared, but maybe it
makes sense to keep it.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:38:56 +02:00
Krzesimir Nowak
1478aef3ca sdk_lib: Add git worktree handling bash library
The library has the following functionality:

- Discover the git repository layout. This figures out where is the
  main repository (whose `.git` entry is a directory and contains all
  the git configuration and objects) and all its linked worktrees
  (their `.git` entries are just files with a path to their respective
  worktree metadata directory inside the main repo's `.git`). The
  layout is basically two things: a path to the main repo and a map of
  linked worktree name to the path of the linked worktree. Name of a
  worktree is the `<name>` part in the path
  `<main-repo>/.git/worktrees/<name>`.

- Map the discovered git repository layout into possible git
  repository layout inside the SDK container. The worktrees (both main
  one and linked ones) are put into a chosen base directory inside SDK
  so the main worktree is in `<base>/main-repo`, while linked
  worktrees are in `<base>/linked/<name>`. It's also possible to
  override the path for any worktree to be put elsewhere (for example,
  we may want to put the worktree being in current working directory
  to `/mnt/host/source/src/scripts`, while the rest of the worktrees
  go somewhere under `/mnt/host/all-worktrees/scripts` directory).

- Generate Docker volume options based on both git repository
  layouts. It results in an array of strings in form of `"-v"
  "<path-to-worktree:path-to-worktree-inside-SDK"` that can be passed
  directly to docker/podman.

- Generate replacements based on git repository layout inside the SDK
  container. Replacements is a bash file to be sourced. It defines a
  map of file paths to the new contents that those files should
  have. Currently the generated replacements are for `.git` files in
  the linked worktrees and `gitdir` files inside main worktree's
  `.git/worktrees/<name>` directories. Such replacement file should be
  mounted inside the SDK container with -v option (just like the
  worktrees).

- Map the replacements to a set of bind-mounts. This action should be
  done inside the SDK container - it sources the replacements files,
  creates temporary files with the contents being the values in the
  map from the replacements file and bind-mounts them into the
  locations being keys of the map.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-08-29 12:38:49 +02:00
flatcar-ci
84a0ac7993 New version: main-4440.0.0-nightly-20250827-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-08-27 21:00:29 +00:00
Krzesimir Nowak
2196326d26
Merge pull request #3174 from flatcar/buildbot/weekly-portage-stable-package-updates-2025-08-04
Weekly portage-stable package updates 2025-08-04
2025-08-27 11:53:47 +02:00
flatcar-ci
41b5592084 Revert failed version back to 4438.0.0+nightly-20250825-2100 2025-08-27 00:36:38 +00:00
flatcar-ci
d9c9e93e35 New version: main-4439.0.0-nightly-20250826-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-08-26 21:00:30 +00:00
Mathieu Tortuyaux
5a39bec5f3
Merge pull request #3219 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-08-26 15:06:19 +02:00
Flatcar Buildbot
eb8f44f8ec Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-08-25 21:00:42 +00:00
flatcar-ci
18bce2e982 New version: main-4438.0.0-nightly-20250825-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-08-25 21:00:29 +00:00
Krzesimir Nowak
bdb20f15df overlay profiles: Disable mpfr for sys-apps/gawk
After the update, the USE=mpfr got enabled by default, so now we need
to disable it explicitly. Gawk is a part of our initrd, which means
that mpfr gets pulled into it now, increasing the size of it by
another 2mb, which breaks Flatcar updates.
2025-08-25 10:28:39 +02:00
Krzesimir Nowak
19478b7da4 overlay coreos/config: Apply the same overrides for old-nvidia-drivers 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
7499fdf936 overlay profiles: Apply the same masks for old-nvidia-drivers 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
bdfea9a341 build_library/extra_sysexts.sh: Use the x11-drivers/old-nvidia-drivers for 550 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
b2b656ac32 overlay x11-drivers/old-nvidia-drivers: New package
Gentoo dropped the 550 branch of the drivers, so we fail to build the
nvidia-drivers-550 sysexts. For now we temporarily bring it back here
while we figure out our policy for deprecating and dropping sysexts.
2025-08-25 10:28:39 +02:00
Krzesimir Nowak
28eb01742d changelog: Add entries 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
be79490ad5 overlay profiles: Add accept keywords for net-misc/curl 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
4d93746d35 overlay x11-drivers/nvidia-drivers-service: Bump to 535.261.03 and 570.172.08 2025-08-25 10:28:39 +02:00
Krzesimir Nowak
0184f670d6 overlay profiles: Drop accept keywords for net-dns/bind 2025-08-25 10:28:39 +02:00
Flatcar Buildbot
3a55234041 licenses: Drop unused licenses 2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c56daaf77a x11-drivers/nvidia-drivers: Sync with Gentoo
It's from Gentoo commit e8ae5a4833d0ae8eb6876253545bf9e81594f1c6.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
ad9de65283 virtual/service-manager: Sync with Gentoo
It's from Gentoo commit 10751ff148982a75a31935d345a47a3ba8057a3b.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
63b66ae311 virtual/resolvconf: Sync with Gentoo
It's from Gentoo commit 78bc19571bb7aafdcfef136e0f9212df781eec45.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
36431c7fe5 virtual/pkgconfig: Sync with Gentoo
It's from Gentoo commit 404727eda6b5c9fad544a9420ad4f6d7a56c926c.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
5e70275ede sys-process/lsof: Sync with Gentoo
It's from Gentoo commit 316817f80c23b8d6fab9f2fdd1986cfb46388516.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
6737d67111 sys-libs/libnvme: Sync with Gentoo
It's from Gentoo commit 07a4407a5c4b0cb7b6221f1866819c2faa9561c6.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
b9aff9ac05 sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 089ec116139a743587e77ecb62ceae94692642c0.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
8cbe592cff sys-libs/gdbm: Sync with Gentoo
It's from Gentoo commit d9904eedca75aef09bdc6036414ef81644f75505.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
7393d2ef5f sys-libs/binutils-libs: Sync with Gentoo
It's from Gentoo commit 41ac22ad581efdd9a431ff98a6fe63355938a654.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
5697a86cb5 sys-kernel/linux-headers: Sync with Gentoo
It's from Gentoo commit b764b57f11046580ee843664a5669ad08dc2fbe2.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c2db17b46e sys-firmware/edk2-bin: Sync with Gentoo
It's from Gentoo commit f1ad17f8d49ec3cfe263ab94f9652e0a0af5d1b4.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
1d7501eff8 sys-devel/gnuconfig: Sync with Gentoo
It's from Gentoo commit 9c2ac27166873e185fccb4a15d5a54663e344e8f.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
bd9fc58e4e sys-devel/gcc: Sync with Gentoo
It's from Gentoo commit c739576d9ce4216783654adfd18c5302213e85e9.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c27dac22a9 sys-devel/binutils: Sync with Gentoo
It's from Gentoo commit 61ad3909ac0e6fdf0e61e5124418bb36a5dcb1a1.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c150809c43 sys-apps/util-linux: Sync with Gentoo
It's from Gentoo commit ddb25922124a4e0b58e2a6b1b96b25b9aaf1657b.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
7f511da765 sys-apps/pv: Sync with Gentoo
It's from Gentoo commit bd7c8da068c8c4907216b4cefd676fa40fbd3f59.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
661cae1e70 sys-apps/nvme-cli: Sync with Gentoo
It's from Gentoo commit 7e0afd937e0608417323748d1b554783141aba7d.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
157c624448 sys-apps/kbd: Sync with Gentoo
It's from Gentoo commit 80214f2d729f7e6289e18549a07fb61369e988c5.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
d0f89677eb sys-apps/gawk: Sync with Gentoo
It's from Gentoo commit 9334555714016b028ea851c4671ec03556f48c68.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c0c4203929 profiles: Sync with Gentoo
It's from Gentoo commit bf27293187a06265cf78d9477288761bf74b03f6.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
f6830fe79e net-misc/iperf: Sync with Gentoo
It's from Gentoo commit ea89684d4a7ddac08608f77f8ea660c4a0e4a03c.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
c878761046 net-misc/curl: Sync with Gentoo
It's from Gentoo commit 9ffb9285267b4617e06eaf535fe51dacb43809b6.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
9fe130e4f1 net-dns/bind: Sync with Gentoo
It's from Gentoo commit 35170f98ea6e1c368eeaa04903db8d462465d18a.
2025-08-25 10:28:39 +02:00
Flatcar Buildbot
052a72e462 eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 96c789720745edbfefb924e9c2d94c2961c2cae8.
2025-08-25 10:28:38 +02:00
Flatcar Buildbot
49ee97d4d1 eclass/sgml-catalog-r1: Sync with Gentoo
It's from Gentoo commit 790bbc296c0607d3fdd1bc3ffcb374dd428a7a4f.
2025-08-25 10:28:38 +02:00
Flatcar Buildbot
8a0b8be6c5 eclass/rust: Sync with Gentoo
It's from Gentoo commit 19e4eb1d5f5229dfc0ec1f4bcf3cbb0c9ca4af5d.
2025-08-25 10:28:38 +02:00
Flatcar Buildbot
e9f28dca63 eclass/python-utils-r1: Sync with Gentoo
It's from Gentoo commit 87a034bd840d2d9095bccb29e7cc0922ec29b4ad.
2025-08-25 10:28:38 +02:00