Commit Graph

7688 Commits

Author SHA1 Message Date
Krzesimir Nowak
b7e15db73c profiles: Drop sys-block/parted from accept_keywords
The updated package is declared as stable on arm64.
2022-01-07 16:11:46 +01:00
Krzesimir Nowak
3e92c82483 eclass/git: Drop unused eclass 2022-01-07 16:11:46 +01:00
Krzesimir Nowak
78e097ecaf eclass: Update to support newer EAPI versions 2022-01-07 16:11:46 +01:00
Jeremi Piotrowski
893b59234c changelog/security: add entry for CVE-2021-43816
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-07 15:42:06 +01:00
Flatcar Buildbot
7cb3795b44 app-emulation: Upgrade Containerd 1.5.8 to 1.5.9 2022-01-07 08:24:14 +00:00
Krzesimir Nowak
f267889748 Merge pull request #1413 from flatcar-linux/krnowak/eapi-update-2
profiles: Changes related to package updates in portage-stable (getting rid of EAPI 4)
2022-01-06 14:13:18 +01:00
Flatcar Buildbot
6a0bc7b1d0 sys-kernel: Upgrade Kernel 5.15.12 to 5.15.13 2022-01-06 07:23:45 +00:00
Jeremi Piotrowski
c5fdedab1f sys-kernel/coreos-modules: explicitly enable EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
We rely on this setting to make iPXE booting work on EFI platforms. In iPXE we
use 2 initramfs': the kernel builtin one and a pxe specific one that contains
the contents of the usr partition. This appears to rely on the EFI stub, which
unpacks the second one based on the passed commandline parameter (initrd=).

This affects arm64 kernels after v5.11 because of this commit:
6edcf9dc2e

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-01-04 13:50:36 +01:00
Flatcar Buildbot
a22d28e821 sys-kernel: Upgrade Kernel 5.15.10 to 5.15.12 2022-01-03 18:56:49 +00:00
Kai Lüke
5ecd16634c Merge pull request #1536 from flatcar-linux/kai/gh-a-kernel-changelog
.github: Use different kernel changelog file name per version
2022-01-03 16:05:46 +01:00
Kai Lueke
6e97559667 changelog/README.md: describe purpose of the changelog entries
The changelog entries should be directly used for the release notes,
thus they need to be short and hold only information relevant to the
end user, and should be in the markdown bullet point format.
2022-01-03 15:46:22 +01:00
Kai Lueke
75100727e7 changelog: rewrite entry for PR 1502
The used changelog entry format in
https://github.com/flatcar-linux/coreos-overlay/pull/1502 is not really
useful for the release notes. This paragraph is good for the PR
description or a commit message, but here should be a bullet point for
the release notes.
Replace the paragraph by a release notes bullet point.
2022-01-03 14:56:21 +01:00
Kai Lueke
bfca4c3092 .github: Use different kernel changelog file name per version
All runs of the GitHub Action to update the kernel used the same
changelog name, which is a bit confusing when comparing the releases.
Append the version to the filename to avoid using the same name for the
maintenance updates of a channel releases and for the introduction of a
kernel update in main.
2022-01-03 13:58:22 +01:00
Dongsu Park
5273644d27 Merge pull request #1527 from flatcar-linux/firmware-20211216-main
Upgrade Linux Firmware in main from 20211027 to 20211216
2021-12-23 12:30:31 +01:00
Dongsu Park
5cf32ef0a8 sys-kernel/bootengine: make dracut install loop driver
Unlike with Kernel 5.10, dracut does not automatically install `loop.ko`
with Kernel 5.15.
Explicitly install the loop module from the dracut command line.

Pulls in https://github.com/flatcar-linux/bootengine/pull/32
2021-12-23 12:20:13 +01:00
Dongsu Park
30aa7f9ca9 sys-kernel/coreos-firmware: fix cxgb4 version to 1.26.4.0
Fix firmware version of cxgb4 to 1.26.4.0 for linux-firmware 20211216.
2021-12-23 08:45:48 +01:00
Flatcar Buildbot
4f4751ed33 sys-kernel: Upgrade Linux Firmware 20211027 to 20211216 2021-12-23 07:11:59 +00:00
Krzesimir Nowak
8e14045ef6 changelog: Add changes entry 2021-12-22 17:31:40 +01:00
Krzesimir Nowak
de51ac927d sys-kernel/kernel-modules: Add some configs
`net-libs/libnetfilter_cthelper` needs CONFIG_NF_CT_NETLINK_HELPER.
CONFIG_NET_VRF was requested by a user. CONFIG_KEY_DH_OPERATIONS is
useful for `sys-apps/keyutils`. Rest of the added configs are
dependencies.
2021-12-22 17:31:40 +01:00
Mathieu Tortuyaux
7bfcb5bd97 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-12-21 17:34:26 +01:00
Mathieu Tortuyaux
0ccac06e44 profiles/coreos/base: backport iproute2 ELF support
enables ELF support to e.g. allow tc to handle BPF filters.

It has been dropped in this commit: 406576c5e5

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2021-12-21 17:30:44 +01:00
Flatcar Buildbot
fdd76cdd38 sys-kernel: Upgrade Kernel 5.15.7 to 5.15.10 2021-12-21 10:35:25 +00:00
Krzesimir Nowak
4b6212d6be Merge pull request #1516 from flatcar-linux/cacerts-3.73.1-main
Upgrade ca-certificates in main from 3.73 to 3.73.1
2021-12-21 11:32:49 +01:00
Krzesimir Nowak
fe7aa35735 Merge pull request #1518 from flatcar-linux/krnowak/kernel-versions-in-changelog
.github: Reflect more kernel versions in the changelog
2021-12-21 11:27:35 +01:00
Krzesimir Nowak
5d3ffc9a27 .github: Reflect more kernel versions in the changelog
It happens that kernel update PRs are created faster than we merge
them. In such case we create version gaps in the changelog. Remedy
that by adding links to all the released kernel versions between the
current one and the just released one.
2021-12-20 17:57:39 +01:00
Kai Lueke
c50ac09c8d coreos-base/coreos-init: exclude bridge ifaces from the DHCP config
This pulls in https://github.com/flatcar-linux/init/pull/56
to find a generic way of preventing conflicts with CNI interfaces that
shouldn't use DHCP and were matched by name to be set Unmanaged.
2021-12-20 17:52:50 +01:00
Flatcar Buildbot
53f4211383 app-misc: Upgrade ca-certificates 3.73 to 3.73.1 2021-12-20 07:25:04 +00:00
Dongsu Park
108d8055d8 Merge pull request #1501 from flatcar-linux/docker-20.10.12-main
Upgrade Docker in main from 20.10.11 to 20.10.12
2021-12-17 18:19:44 +01:00
Kai Lüke
8de62b022b Merge pull request #1504 from flatcar-linux/kai/xtables-lock
coreos-base/coreos-init: ensure /run/xtables.lock exists
2021-12-17 15:33:04 +01:00
Kai Lueke
144babe05e coreos-base/coreos-init: ensure /run/xtables.lock exists
This pulls in https://github.com/flatcar-linux/init/pull/57
to make sure the /run/xtables.lock file exists for coordination of
xtables modifications.
2021-12-17 14:15:24 +01:00
Flatcar Buildbot
55ef6c2129 app-emulation: Upgrade Docker 20.10.11 to 20.10.12 2021-12-17 14:04:35 +01:00
Dongsu Park
2c29204ba2 Merge pull request #1254 from flatcar-linux/dongsu/portage-3.0.20
sys-apps/portage: update to 3.0.28-r1 for EAPI 8
2021-12-17 14:00:16 +01:00
Dongsu Park
2193cf8fce profiles: enable USE flag xml for portage to avoid build failures
Add xml USE flag for dev-lang/python to avoid build failures during SDK
stage2. We need to add that to BOOTSTRAP_USE, not ordinary USE flags:

```
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
 # required by dev-python/setuptools-57.5.0::portage-stable[python_targets_python3_9]
 # required by dev-python/pyparsing-2.4.7-r1::portage-stable
 # required by dev-python/packaging-21.0::portage-stable
 # required by dev-python/setuptools_scm-6.3.2::portage-stable
 >=dev-lang/python-3.9.8 xml
```
2021-12-17 10:10:57 +01:00
Krzesimir Nowak
2dcb135d6b sys-apps/portage: Apply Flatcar modifications and document them
Adjust the Flatcar patch on top of sys-apps/portage 3.0.28-r1.

Based on commit 2ec22d99b039d4ae8a2cfdefee580709fb1d3915.
2021-12-17 10:10:53 +01:00
Krzesimir Nowak
52c0685d0f sys-process/audit: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
25b036f454 sys-process/audit: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f00411020d sys-libs/libsemanage: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c73223ae75 sys-libs/libsemanage: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f20b390fca sys-libs/glibc: Apply Flatcar modifications
- unmask amd64 and arm64
  - take care of nscd.conf via tmpfiles, add files/nscd-conf.tmpfiles.
  - don't run sanity checks in pkg_pretend to prevent gcc checks when
    only the binary package is installed.
  - comment out 'dostrip -x' to force the OS image binaries to be stripped
  - remove everything glibc wants to put under /etc since we use
    baselayout to provide that
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c434f9b25f sys-libs/glibc: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
ac02d91d1f sys-libs/glibc: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
c82e4e92f9 sys-block/open-iscsi: Apply Flatcar modifications 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
926b66861c sys-block/open-iscsi: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
d21dfd4f93 sys-auth/sssd: Apply Flatcar modifications
- Make BDEPEND independent from DEPEND (The `BDEPEND` is a
    build-time requirement, so it should not be included in the whole
    `DEPEND` list. If it does, an installation of `sys-auth/sssd`
    causes other dependencies to be installed not only in the
    `/build`, but also under the SDK. That's not what we want, so we
    need to exclude `BDEPEND` from the list.)

  - Move runstatedir option from configure to make (Now that the
    upstream sssd 2.3.1 does not support `--runstatedir` option from
    its configure script, we need to remove the option, to unblock the
    configure issue like `unrecognized option --runstatedir`.  Instead
    we need to pass `runstatedir=` to emake commands.)

  - Disable realm check for nsupdate (At the moment bind-tools does
    not enable `gssapi`, so its `nsupdate` tool is also not able to
    run `realm` command. As a result, configure script of `sssd` fails
    when running `echo realm | nsupdate`, like `syntax error`.

    To avoid such issues, we need to disable the nsupdate check for
    now.  After we could enable `gssapi` for the SDK correctly, we can
    bring back the nsupdate check in the future.)

  - Add patch for CVE-2021-3621

  - Set the conf dir path explicitly (Without passing the
    --with-systemdconfdir flag, the configure script will query
    pkg-config for the directory itself. In the cross-compilation
    setup that we have, this will result in a path sysroot prepended
    to the path twice. systemd.eclass has a workaround for this issue,
    but it does not provide an elegant getter of the system
    configuration directory, thus we call `_systemd_get_dir`
    ourselves.)

  - Make it compatible with newer python versions.
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
8701aa0a72 sys-auth/sssd: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
4901c02cd6 sys-auth/realmd: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
32b5a0dee7 sys-auth/polkit: Apply Flatcar modifications
- apply duktape patchset from
    https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35
    (this should be re-fetched from the above MR when forward-porting
    to updated polkit versions.)
  - fix config install paths, use systemd-tmpfiles (All configs should
    be installed to /usr and tmpfiles should be used to create and fix
    directory permissions instead of the ebuild's postinst.)
2021-12-16 19:51:47 +01:00
Krzesimir Nowak
f09c1fe20e sys-auth/polkit: Clean slate to reapply our changes 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
0949fb6ee3 sys-apps/systemd: Port to tmpfiles eclass 2021-12-16 19:51:47 +01:00
Krzesimir Nowak
0a907f6ffb sys-apps/shadow: Apply Flatcar modifications
- Carry over our custom tmpfiles and securetty files
  - Remove /etc files and install them to /usr, use tmpfiles
  - Switch /etc/login.defs edits to /usr/share/shadow/login.defs
  - Drop moving passwd out of /usr since we don't have split-usr
  - Drop pkg_postinst
2021-12-16 19:51:46 +01:00