Commit Graph

8952 Commits

Author SHA1 Message Date
Kai Lueke
a59c004693 Use tmpfiles to set up /var/log/journal/ from initrd
This pulls in https://github.com/flatcar/bootengine/pull/60
and https://github.com/flatcar/baselayout/pull/29
to fix the persisting of the journal on first boot.
2023-04-05 00:46:07 +09:00
Mathieu Tortuyaux
bc657a83ba changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-03-30 14:44:54 +02:00
Mathieu Tortuyaux
51fbc89789 sys-kernel/bootengine: fix journalctl --user issue
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-03-30 14:43:15 +02:00
Thilo Fromm
42161a59d7 emerge-gitclone: bump to include support for git ref versions
This change bumps the CROS_WORKON_COMMIT of emerge-gitclone to include
the latest flatcar-master tip. emerge-gitclone now supports developer OS
versions and uses the version's git ref suffix to check out the correct
scripts repo version.

See
401e84df7b
for details.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-03-24 18:29:10 +01:00
Krzesimir Nowak
7cb148237c Merge pull request #2551 from flatcar/krnowak/squashfs-in-dev-container
coreos-base/coreos-dev: Add squashfs tools to developer container
2023-03-23 13:51:31 +01:00
Krzesimir Nowak
e49221b42f coreos-base/coreos-dev: Add squashfs tools to developer container
May come in handy if someone wants to create a sysext image.
2023-03-23 09:41:35 +01:00
Krzesimir Nowak
1458163fca profiles: Drop accept keywords for app-arch/zstd
The updated packages is now stable for both amd64 and arm64.
2023-03-21 14:59:28 +01:00
Kai Lüke
93eef4eeac Merge pull request #2542 from flatcar/kai/initrd-oem-ordering
sys-kernel/bootengine: Prevent OEM mount point from showing up early
2023-03-20 13:37:38 +01:00
Kai Lueke
fd56d1736f sys-kernel/bootengine: Prevent OEM mount point from showing up early
This pulls in
https://github.com/flatcar/bootengine/pull/58
to prevent the OEM mount point from showing up before Ignition mounts.
It also makes it simpler to write files to the OEM partition without
having to specify the partition first as initrd mount point.

Fixes https://github.com/flatcar/Flatcar/issues/979
2023-03-20 21:31:21 +09:00
Krzesimir Nowak
c442bec3de sys-kernel/coreos-modules: Drop CONFIG_NET_CLS_TCINDEX
Was retired in Linux commit 8c710f75256bb3cf05ac7b1672c82b92c43f3d28
and backported to 5.15 LTS branch.

8c710f7525
2023-03-20 07:55:35 +01:00
Flatcar Buildbot
327e345105 sys-kernel: Upgrade Kernel 5.15.98 to 5.15.103 2023-03-17 11:24:41 +00:00
Dongsu Park
2065adfb8f Merge pull request #2535 from flatcar/firmware-20230310-main
Upgrade Linux Firmware in main from 20230210 to 20230310
2023-03-16 14:36:37 +01:00
Krzesimir Nowak
425a141f6d Merge pull request #2533 from flatcar/krnowak/weekly
Weekly profiles updates and python-oem sync
2023-03-16 10:32:31 +01:00
Flatcar Buildbot
abf54b3e8b sys-kernel: Upgrade Linux Firmware 20230210 to 20230310 2023-03-16 07:10:55 +00:00
Krzesimir Nowak
17060b7a23 profiles: Drop accept keywords for app-arch/ncompress
It became stable for both amd64 and arm64.
2023-03-14 13:10:56 +01:00
Krzesimir Nowak
5517d085ee profiles: Add accept keywords for app-editors/vim{,-core} 2023-03-14 13:10:56 +01:00
Krzesimir Nowak
e54ea81201 profiles: Drop accept keywords for dev-lang/python-oem
It became stable for arm64 too now.
2023-03-14 13:10:56 +01:00
Krzesimir Nowak
f0833eeb45 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-14 13:10:56 +01:00
Krzesimir Nowak
981ed883d8 dev-lang/python-oem: Sync with Gentoo 2023-03-14 13:10:56 +01:00
Krzesimir Nowak
32ffc00460 profiles: Drop accept keywords for dev-lang/python
It became stable for arm64 too now.
2023-03-14 13:10:56 +01:00
Krzesimir Nowak
37f3f7d049 coreos/config: Add a note when env override can be dropped for net-dns/bind-tools 2023-03-14 13:10:56 +01:00
Krzesimir Nowak
1a422ef716 profiles: Drop accept keywords for net-dns/dnsmasq
It became stable for arm64 too now.
2023-03-14 13:10:56 +01:00
Dongsu Park
4fb8136f5f dev-lang/rust: fix build issues for 1.68.0
Since tests of 1.68.0 are located under "tests" instead of "src/test",
update the path to get the patch applied without build failures.
2023-03-14 11:43:17 +01:00
Flatcar Buildbot
472d6e9b6d dev-lang: Upgrade dev-lang/rust 1.67.1 to 1.68.0 2023-03-14 07:47:35 +00:00
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