Commit Graph

8928 Commits

Author SHA1 Message Date
Dongsu Park
b1b0f1dba5 Merge pull request #2525 from flatcar/go-1.18.10-and-1.19.7-main
Upgrade Go from 1.19.6 to 1.19.7
2023-03-13 16:23:14 +01:00
Krzesimir Nowak
c16b97e253 Merge pull request #2490 from flatcar/krnowak/weekly
Weekly profile updates and python-oem update
2023-03-13 14:09:20 +01:00
Dongsu Park
7fc0d7bb15 changelog: add security changelog for Go 1.19.7 2023-03-13 09:34:43 +01:00
Flatcar Buildbot
21efd9d14a dev-lang: Upgrade Go 1.19.6 to 1.19.7 2023-03-13 07:26:18 +00:00
Flatcar Buildbot
961a224902 app-misc: Upgrade ca-certificates 3.88 to 3.89 2023-03-13 07:14:58 +00:00
Krzesimir Nowak
869e1e3c31 profiles: Accept license for sys-firmware/intel-microcode 2023-03-10 10:27:52 +01:00
Krzesimir Nowak
63c9e114b2 sys-kernel/coreos-modules: Explicitly disable stack variable initialization
So far, we didn't have the stack variable initialized, so we probably
can keep it like that for a little while longer. The stack variable
initialization gets enabled by default with gcc 12, because gcc 12
supports the -ftrivial-auto-var-init flag. Such configuration is
saved, and is reused for building the external modules.

It's something that we normally would want to have enabled, but this
breaks building falco-module, because despite falco Docker images
having multiple versions of gcc, the versions go from 5 to 8, and
neither support the -ftrivial-auto-var-init flag. The error is as follows:

* Running dkms build failed, dumping /var/lib/dkms/falco/e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931/build/make.log (with GCC /usr/bin/gcc-8)
DKMS make.log for falco-e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931 for kernel 5.15.96-flatcar (x86_64)
Fri Mar  3 16:17:58 UTC 2023
'/tmp/falco-dkms-make' -C /lib/modules/5.15.96-flatcar/build M=/var/lib/dkms/falco/e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931/build modules
make[1]: Entering directory '/host/lib/modules/5.15.96-flatcar/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-cros-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20230121-r1 p10) 12.2.1 20230121
  You are using:           gcc-8 (Debian 8.3.0-6) 8.3.0
  CC [M]  /var/lib/dkms/falco/e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931/build/main.o
gcc-8: error: unrecognized command line option '-ftrivial-auto-var-init=zero'
make[2]: *** [/host/lib/modules/5.15.96-flatcar/source/scripts/Makefile.build:289: /var/lib/dkms/falco/e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931/build/main.o] Error 1
make[1]: *** [../source/Makefile:1905: /var/lib/dkms/falco/e1d0fd9b043f1c7dfd91c9d030c11cfe2c062931/build] Error 2
make[1]: Leaving directory '/host/lib/modules/5.15.96-flatcar/build'
make: *** [Makefile:16: all] Error 2

Using one compiler for the kernel and then a different compiler to
build the module certainly made me to raise my eyebrows. Maybe we
should rather try building a module using the developer container, and
if this succeeds - document it.
2023-03-09 15:23:09 +01:00
Krzesimir Nowak
deee1d9be4 coreos/stage1_hooks: Bump good baselayout version and update README
We need baselayout with the ROOTPATH and PATH cleanups, so bump the
revision to 10.
2023-03-09 15:22:16 +01:00
Krzesimir Nowak
5dae6bc293 sys-apps/baselayout: Replace ROOTPATH with PATH
ROOTPATH is not a thing any more. And with recent portage update, it
stopped being handled in some special way. Just use PATH. This should
unbreak stage2 of our SDK build, where the failure was:

/usr/bin/env: ‘bash’: No such file or directory
2023-03-09 15:21:27 +01:00
Krzesimir Nowak
421013836b sys-apps/texinfo: Move to portage-stable
The modifications we have made were pointless.
2023-03-09 15:18:56 +01:00
Krzesimir Nowak
1e90ea6918 profiles: Add accept keywords for dev-lang/python-oem 2023-03-09 15:18:56 +01:00
Krzesimir Nowak
158d5116a8 dev-lang/python-oem: Apply Flatcar modifications
I changed the way we modify the ebuild by keeping the modifications as
minimal as possible, leaving disabling whatever that can be disabled
to the USE flags.
2023-03-09 15:18:56 +01:00
Krzesimir Nowak
9750e129d5 dev-lang/python-oem: Update to 3.10.10_p2
So we have matching versions of python in OEM and SDK.
2023-03-09 15:18:56 +01:00
Krzesimir Nowak
fd5306a644 profiles: Add accept keywords for dev-lang/python 2023-03-09 15:18:56 +01:00
Sayan Chowdhury
18ea360d4a profiles: stabilize dev-python/cython amd64 to match version in both arch
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2023-03-09 15:18:56 +01:00
Sayan Chowdhury
144badff7d profiles: remove vim, vim-core keywords
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2023-03-09 15:18:56 +01:00
Krzesimir Nowak
8238745831 profiles: Add accept keywords for net-libs/gnutls 2023-03-09 15:18:56 +01:00
Krzesimir Nowak
de89c21023 profiles: Drop accept keywords for net-dns/bind-tools
The updated package is stable for both amd64 and arm64.
2023-03-09 15:18:55 +01:00
Krzesimir Nowak
8c9b41bf07 profiles: Add accept keywords for net-misc/curl 2023-03-09 15:18:55 +01:00
Krzesimir Nowak
f8f817adeb coreos/user-patches: Drop patches for sys-devel/gcc
We are updating to gcc 12, where the issue should not be present any
more.
2023-03-09 15:18:55 +01:00
Krzesimir Nowak
6ec35a42af profiles: Unmask newer versions of sys-devel/gcc
CET issues in newer versions of gcc should be ironed out by now.
2023-03-09 15:18:55 +01:00
Krzesimir Nowak
90a59bdb6b sys-devel/glibc: Fix CET handling 2023-03-09 15:18:55 +01:00
Krzesimir Nowak
21396b1521 Merge pull request #2502 from flatcar/krnowak/no-lib-symlink
profiles: Switch to 17.1, do some cleanups
2023-03-09 15:17:45 +01:00
Krzesimir Nowak
ddca529a06 Merge pull request #2504 from flatcar/krnowak/pigz
coreos-base/coreos: Add pigz to production image
2023-03-09 14:31:59 +01:00
Krzesimir Nowak
b14d6d755a changelog: Improve wording
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2023-03-09 14:11:21 +01:00
Krzesimir Nowak
cfc34c86dd profiles: Clean up ACCEPT_LICENSE in base profile
Instead of accepting everything blindly with exception of licenses
from CHROMEOS and EULA group (which are dropped from overlay anyway,
as we were not shipping anything with those licenses), accept the
Gentoo default licenses (basically licenses from the FREE group) and
some extra licenses on top.

This also uncovered some more places that will require some cleanups
(mostly firmware packages that need syncing).
2023-03-09 13:29:06 +01:00
Krzesimir Nowak
1ad0ce9964 coreos/stage1_hooks: Add a hook for updating a profile in stage1
This is to make sure that the directory layout wrt. lib directories in
stage1 is correctly set up from the beginning, because it gets
propagated all the way to the final SDK image. It's easier to do it
that way, rather than following the steps described in the deprecation
notice of the 17.0 profile.
2023-03-09 13:28:32 +01:00
Krzesimir Nowak
98668d0281 coreos/stage1_hooks: Add a hook for pulling a newer version of baselayout
Pull in a new version of baselayout to have a proper setup of lib
directories in stage1. The proper setup means that the `lib` entry is
now a directory instead of a symlink to `lib64`.

Honestly, when rewording this commit, I realized that this hook is not
really needed, as the updated baselayout ebuild just drops code that
became dead after the profile update that the other hook does. But I
decided to keep it as is, because the CI build with this hook has
passed, and this hook will be needed anyway by the weekly updates.
2023-03-09 13:21:25 +01:00
Krzesimir Nowak
2aaa89c91b coreos/stage1_hooks: Add a place for stage1 hooks 2023-03-09 13:20:26 +01:00
Krzesimir Nowak
f51ac5097f profiles: Clean up categories file
Keep only categories unique to our overlay.
2023-03-09 13:20:25 +01:00
Krzesimir Nowak
951284119a profiles: Drop license_groups
We do not carry anything with these licenses any more.
2023-03-09 13:20:25 +01:00
Krzesimir Nowak
0297db02a5 profiles: Drop old updates files
They refer to the changes made 8 or more years ago. They are
irrelevant now. Gentoo's oldest updates file is from 2018, so 5 years
old.
2023-03-09 13:20:25 +01:00
Krzesimir Nowak
a2f29fd9a8 sys-apps/seismograph: Drop blocker RDEPENDS
These packages are old and don't exist for a long time already.

Found it when looking through the files in the profiles/updates
directory.
2023-03-09 13:20:25 +01:00
Krzesimir Nowak
7c3f57c203 profiles: Drop unused profiles 2023-03-09 13:20:25 +01:00
Krzesimir Nowak
6592be18db sys-apps/baselayout: Drop dead code installing lib to lib64 symlinks
We have moved away from it already in production images already. With
the change of profile from 17.0 to 17.1, SYMLINK_LIB is always "no",
so some code will never be executed. Drop it.
2023-03-09 13:20:25 +01:00
Krzesimir Nowak
1d1a7f9f40 profiles: Switch to 17.1 profile for amd64 2023-03-09 13:20:25 +01:00
Krzesimir Nowak
be7737b583 changelog: Add an entry 2023-03-09 13:06:02 +01:00
Dongsu Park
5730e7a585 Merge pull request #2501 from flatcar/vmware-12.2.0-main
Upgrade open-vm-tools in main from 12.1.5 to 12.2.0
2023-03-09 12:38:23 +01:00
Krzesimir Nowak
24d2ceeb9a coreos-base/coreos: Add pigz to production image 2023-03-09 11:02:23 +01:00
Kai Lueke
b26a77d5a0 coreos-base/coreos-init: Distribute new sub key
This pulls in
https://github.com/flatcar/init/pull/92 to distribute the new sub key
before we start signing with it from July.
2023-03-09 17:57:18 +09:00
Jeremi Piotrowski
c6d708885e Merge pull request #2489 from flatcar/jepio/elfutils-systemd-coredump
profiles: Enable systemd[elfutils] USE flag for board
2023-03-08 10:11:51 +01:00
Jeremi Piotrowski
38070f34ed profiles: Enable systemd[elfutils] USE flag for board
Elfutils is already part of the usr partition, but currently not enabled in
systemd-coredump. Systemd-coredump therefore fails with:

  elfutils disabled, parsing ELF objects not supported.

Enable the elfutils flag for systemd to make this work.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-03-08 10:10:55 +01:00
Flatcar Buildbot
23202bf119 app-emulation: Upgrade open-vm-tools 12.1.5 to 12.2.0 2023-03-08 07:18:11 +00:00
Sayan Chowdhury
0583c87257 Merge pull request #2495 from flatcar/linux-5.15.98-main
Upgrade Linux Kernel for main from 5.15.96 to 5.15.98
2023-03-06 20:35:28 +05:30
Kai Lueke
86e96adb5a sys-apps/baselayout: Only relabel a minimal set of /etc files
This pulls in
https://github.com/flatcar/baselayout/pull/28 to fix a regression in
https://github.com/flatcar/baselayout/pull/24 due to how
systemd-tmpfiles' Z rule seems to cause unnecessary changes in files.
2023-03-06 21:54:48 +09:00
Flatcar Buildbot
7ed640017c sys-kernel: Upgrade Kernel 5.15.96 to 5.15.98 2023-03-04 07:17:00 +00:00
Flatcar Buildbot
8ea34ecbe2 app-emulation: Upgrade Containerd 1.6.18 to 1.6.19 2023-03-03 08:23:06 +00:00
Mathieu Tortuyaux
22274126a6 Merge pull request #2492 from flatcar/tormath1/baselayout-label
selinux: label `/etc` and enable `selinux` for find
2023-03-03 09:04:57 +01:00
Kai Lüke
c493b0ba8e Merge pull request #2491 from flatcar/kai/initrd-setup-debug
sys-kernel/bootengine: Make initrd-setup-root more resilient
2023-03-03 05:12:10 +01:00
Kai Lueke
83ea95a4fa sys-kernel/bootengine: Make initrd-setup-root more resilient
This pulls in
https://github.com/flatcar/bootengine/pull/56
to ensure that even with a rerun from the initrd or with a deletion of
/etc/passwd we are able to boot.
2023-03-03 13:11:49 +09:00