Commit Graph

15946 Commits

Author SHA1 Message Date
Thilo Fromm
fa623fed84 make.defaults, go-env.eclass: export cgo flags, enable cgo by default
This change adds exporting CGO_* flags to go-env.eclass; the upstream pr
https://github.com/gentoo/gentoo/pull/33539 has been updated
accordingly.

Also, CGO_ENABLED=1 has been added to coreos/../make.conf to enable gco
by default. This fixes a build issue for arm64 with Docker's
device-mapper storage driver:

daemon/graphdriver/devmapper/deviceset.go:306:25: undefined: devicemapper.SetTransactionID
...
daemon/graphdriver/devmapper/deviceset.go:867:28: undefined: devicemapper.ErrEnxio
daemon/graphdriver/devmapper/deviceset.go:867:28: too many errors

gco is enabled on AMD64 by default, and cgo was always enabled in the
coreos docker ebuilds. This way we retain that setting for the Gentoo
ebuilds.
2023-10-30 17:21:26 +01:00
Thilo Fromm
f2a4b4a11e partage stable docker 24: addressed PR feedback
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
47a74ba059 coreos/base/package.accept_keywords: sort alphabetically
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
e2173e06d1 coreos-overlay/containerd: add Gentoo ebuilds and version 1.7.7
This adds plain Gentoo upstream containerd ebuilds to coreos-overlay and
copies containerd-1.7.6.ebuild to containerd-1.7.7.ebuild since upstream
does not support 1.7.7 yet.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
4b8f919bd1 portage-stable/eclass: add Go cross-comile helper eclass
This change allows cross-compiling of Go packages and will be upstreamed.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
9f45ea05e9 app-containers: use upstream docker, containerd, runc
This change removes Flatcar specific builds of docker[-cli], containerd,
runc, and cri-tools and instead switches to upstream Gentoo ebuilds
added to portage-stable.

The change updates docker to 24.0.6.

NOTE that there currently is no upstream ebuild for containerd-1.7.7, so
this change adds that ebuild based on the upstream containerd-1.7.6
ebuild.

Flatcar customisations like systemd units etc. are now applied in the
manglefs script of the respective sysexts, based on file system trees in
coreos-overlay/coreos/sysext/(containerd|docker).

The build_sysext script has been extended by an option to strip all
binaries in a sysext; the option is active by default. This takes care
of removing debug symbols from docker and containerd - which are not
removed by the default Gentoo build. The overall size of both containerd
and docker sysext is reduced by ~50%.

Lastly, the sysext command line syntax of build_image has been extended
to allow specifying multiple packages for a sysext. This was necessary
because docker-cli and docker do not have any runtime relationships and
therefore must both be specified for installation to correctly mirror
Flatcar's own docker packaging.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Flatcar Buildbot
0b4cded217 Update mantle container image to latest HEAD 2023-10-28 02:01:27 +00:00
flatcar-ci
6667dcf10f New version: main-3770.0.0-nightly-20231027-2100 2023-10-28 02:01:10 +00:00
flatcar-ci
6470b6f470 New version: main-3770.0.0-nightly-20231027-2100-INTERMEDIATE 2023-10-27 21:00:27 +00:00
Dongsu Park
55c099f3aa
Merge pull request #1314 from flatcar/dongsu/ue-rs-2023-10-25
overlay ue-rs: update to 0.1.0-r2, 2023-10-25
2023-10-27 17:39:02 +02:00
Dongsu Park
475402a9af
Merge pull request #1313 from flatcar/dongsu/uss-openssh-keys-0.6.2
overlay update-ssh-keys: update openssh-keys to 0.6.2
2023-10-27 17:37:12 +02:00
Dongsu Park
1c91f5a242 overlay update-ssh-keys: regenerate CRATES
Regenerate CRATES by running cargo ebuild.
2023-10-27 17:36:15 +02:00
Dongsu Park
1cda059245 overlay update-ssh-keys: update openssh-keys to 0.6.2
Update openssh-keys to 0.6.2 to avoid relying on a custom branch.
Also remove custom patch from the ebuild.

Pulls in https://github.com/flatcar/update-ssh-keys/pull/14.
2023-10-27 17:36:12 +02:00
Dongsu Park
0da4d87402 overlay ue-rs: update to 0.1.0-r2, 2023-10-25
Update to f0ad33c6b4b3e966be2437d3da44a7c580e3dc37, trunk of 2023-10-25.
Regenerate CRATES by cargo ebuild.
2023-10-26 17:23:16 +02:00
Krzesimir Nowak
b880096ab5 eclass/cargo: Sync with Gentoo
It's from Gentoo commit dc51935f7aae5f89d1ffecabef322680979952b8.
2023-10-25 15:05:33 +02:00
Krzesimir Nowak
86ad817042 overlay profiles: Drop accept keywords for sys-devel/automake 2023-10-25 15:05:33 +02:00
Krzesimir Nowak
16ebae2bf4 portage-stable dev-util/b2: Drop unused package 2023-10-25 15:05:33 +02:00
Krzesimir Nowak
ff6b407f2d overlay coreos-devel/sdk-depends: Stop pulling dev-util/b2
It was used only by dev-libs/boost that we have just dropped.
2023-10-25 15:05:33 +02:00
Krzesimir Nowak
c9f8fb9051 portage-stable dev-libs/boost: Drop unused package 2023-10-25 15:05:33 +02:00
Krzesimir Nowak
dc7f6ea732 overlay profiles: Add accept keywords for sys-block/thin-provisioning-tools
The updated version is stable only on arm64.
2023-10-25 15:05:33 +02:00
Krzesimir Nowak
28e7d037cf overlay profiles: Add accept keywords for sys-apps/smartmontools
The updated version is stable only on amd64.
2023-10-25 15:05:33 +02:00
Krzesimir Nowak
f32ed7113e overlay profiles: Add accept keywords for dev-lang/python
The updated version is stable only on arm64.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
c444a7ee9e x11-base/xorg-proto: Sync with Gentoo
It's from Gentoo commit acb32bf80ce20334e9c1c46085715eabfe5e296d.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
8eb763ce33 sys-process/procps: Sync with Gentoo
It's from Gentoo commit 6ac1b36b938177b74499946b8d88d4fe89033061.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
b457d699d5 sys-libs/libnvme: Sync with Gentoo
It's from Gentoo commit 11c3ec43c781c83c1e699437f834869f4f8fc33d.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
39a4903b40 sys-devel/gcc: Sync with Gentoo
It's from Gentoo commit fc30aec681ad047fc04225f48eca6716e7821bcb.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
21294d2ae5 sys-devel/automake: Sync with Gentoo
It's from Gentoo commit 1cf0eee856a8a6425af5b38a9f55cd9b24d7cefb.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
9e1ee1df34 sys-block/thin-provisioning-tools: Sync with Gentoo
It's from Gentoo commit 4fba46f271bc6c0575a2039910e7f51aa1765979.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
93d4e574f6 sys-block/parted: Sync with Gentoo
It's from Gentoo commit 7c5d7fefe2750ec21f43663b5808bfad9832e53c.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
3d6fcc31d6 sys-apps/usbutils: Sync with Gentoo
It's from Gentoo commit 21984480390b1b4b19ef9328754e9bbbe09e17cd.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
beb6b281ee sys-apps/texinfo: Sync with Gentoo
It's from Gentoo commit fcb7339e77be994abc07ad07c193c697fa1548fc.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
977cb0f287 sys-apps/smartmontools: Sync with Gentoo
It's from Gentoo commit 48e62ca129db97fa387367c14baedc326ec6a746.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
6a4a0be34d sys-apps/portage: Sync with Gentoo
It's from Gentoo commit 3500483f75789c36e379c1b6546a09df7c11e2b1.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
53a4aa339f sys-apps/iproute2: Sync with Gentoo
It's from Gentoo commit b4b3b2e23fe5372b723888a738479df92545b0ad.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
788439357e sys-apps/hwdata: Sync with Gentoo
It's from Gentoo commit a0eb8bc147937ef3c2c58cd682fc38ed7b9e4c15.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
e86224aecc sys-apps/file: Sync with Gentoo
It's from Gentoo commit 1a8e3a3717ff4d46c6c7b1d356ded751275c531d.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
dbed59b744 sys-apps/ethtool: Sync with Gentoo
It's from Gentoo commit f20d9042675378c12d75a62955514a4cde41195f.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
c342c9e438 sys-apps/coreutils: Sync with Gentoo
It's from Gentoo commit 577e344d50dfa44f54f7ce77a7247486a97a54e1.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
c7d5219f2b sec-policy/selinux-unconfined: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
323534ee22 sec-policy/selinux-sssd: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
0525296f5d sec-policy/selinux-dbus: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
81e6238713 sec-policy/selinux-container: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
ae946cf097 sec-policy/selinux-base-policy: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
b593364323 sec-policy/selinux-base: Sync with Gentoo
It's from Gentoo commit 7781707567ad53c712301ab2e6e6f75ca013c3f3.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
9ae70e5d93 profiles: Sync with Gentoo
It's from Gentoo commit 3331595639bf0217a766e46e4b1f5abf5323e052.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
f475c62f8a net-misc/iperf: Sync with Gentoo
It's from Gentoo commit 23cb029f4efe3284bbf194c2a17375cf3fd64693.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
6acf94342a net-dns/dnsmasq: Sync with Gentoo
It's from Gentoo commit b22dddcb8a0fb0e10ec77a08bf2c103bc4c933b8.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
5e2a6e220a licenses: Sync with Gentoo
It's from Gentoo commit acb42cc480af58f30c4cb0f364e583d102ace5c4.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
8c8f64dbc4 eclass/xorg-3: Sync with Gentoo
It's from Gentoo commit c06c0d7fe31a4810a799676607c1b116c50d07b7.
2023-10-25 15:05:33 +02:00
Flatcar Buildbot
1cb06ea35c eclass/python-utils-r1: Sync with Gentoo
It's from Gentoo commit d383331bd93780571c7ba9443039d80c08fa35f6.
2023-10-25 15:05:33 +02:00