Commit Graph

8746 Commits

Author SHA1 Message Date
Dongsu Park
f9299ed19b profiles: delete cpu_flags_x86_sse2 USE flag from rsync
Since rsync 3.2.4, IUSE_CPU_FLAGS_X86="sse2" does not exist any
more in upstream ebuilds. So it is not necessary to disable
`cpu_flags_x86_sse2` USE flag for avoiding cross toolchain build
failures.
2022-09-12 11:55:00 +02:00
Dongsu Park
742241952b profiles: update rsync version to 3.2.6
To address CVE-2022-29154, we need to accept keywords ~amd64 and
~arm64 for rsync 3.2.6.
2022-09-12 11:54:57 +02:00
Sayan Chowdhury
6a0d50e64b emerge-gitclone: update workon_commit ref to latest commit
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-09-08 11:35:14 +05:30
Kai Lueke
4ce84b37de Use new website domain
There are redirections for flatcar-linux.org but use the new domain
flatcar.org where possible.
2022-09-07 15:15:14 +02:00
Krzesimir Nowak
5a93f08705 Merge pull request #2130 from flatcar-linux/krnowak/polkit
sys-auth/polkit: Update to 121
2022-09-07 15:06:53 +02:00
Krzesimir Nowak
1c36811c28 changelog: Add entries 2022-09-06 17:29:06 +02:00
Mathieu Tortuyaux
1a2cc3e309 sys-auth/polkit: Apply Flatcar modifications
- 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.)

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-06 17:20:30 +02:00
Krzesimir Nowak
f57c8c8ecd profiles: Drop accept keywords for dev-lang/duktape
It's stable now for both amd64 and arm64.
2022-09-06 17:12:57 +02:00
Krzesimir Nowak
db1ddd19f8 sys-auth/polkit: Sync with Gentoo
It's from Gentoo commit 1c933cc8488a4af530d8a23e8f5b914c1d8e9aa6.
2022-09-06 17:11:58 +02:00
Flatcar Buildbot
2cfbe48ede app-emulation: Upgrade Runc 1.1.3 to 1.1.4 2022-09-06 16:54:16 +02:00
Kai Lueke
65dd84b4d1 coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
The m3.small.x86 instance type had no serial console output because
ttyS0 was used because the GRUB CPU check didn't trigger. It seems that
most instances had i386 reported but this new one not (maybe EFI is
used here?).
Extend the GRUB check to cover both i386 and x86_64 when setting up the
serial console. For arm64 this still shouldn't be needed and the
defaults worked so far.
2022-08-30 17:10:36 +02:00
Sayan Chowdhury
11e3f9fa72 Merge pull request #2119 from flatcar-linux/sayan/update-shadow-4.12.2
sys-apps/shadow: Sync with Gentoo upstream; updates to 4.12.3
2022-08-29 21:07:36 +05:30
Mathieu Tortuyaux
9bc6270a14 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-29 11:11:27 +02:00
Mathieu Tortuyaux
0de477a949 coreos-base/coreos-init: bump commit ID
this pulls the wireguard exclusion from systemd-networkd management on
VMWare.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-29 11:08:58 +02:00
Sayan Chowdhury
25bf8d60c4 sys-apps/shadow: Add the CVE for shadow 4.12.3
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-08-26 20:17:29 +05:30
Sayan Chowdhury
a48628c1e3 sys-apps/shadow: Add the changelog for shadow 4.12.3
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-08-26 20:17:27 +05:30
Flatcar Buildbot
f05275612e sys-kernel: Upgrade Kernel 5.15.62 to 5.15.63 2022-08-26 07:28:33 +00:00
Dongsu Park
94b296e9a2 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
2022-08-26 02:38:56 +05:30
Sayan Chowdhury
ecf9249a70 sys-apps/shadow: Sync with Gentoo upstream; updates to 4.12.3
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-08-26 02:38:52 +05:30
Dongsu Park
e640b6c1a4 changelog: add security changelog for open-vm-tools 12.1.0 2022-08-25 08:42:11 +02:00
Flatcar Buildbot
c4f1d578b5 app-emulation: Upgrade open-vm-tools 12.0.5 to 12.1.0 2022-08-24 07:19:46 +00:00
Krzesimir Nowak
3e25e23ae4 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.

  - Fix samba version detection by exporting the CPP variable. For
    some reason it was empty after the toolchain updates.
2022-08-23 16:01:46 +02:00
Krzesimir Nowak
a9747570bd sys-auth/sssd: Clean slate to reapply our changes 2022-08-23 16:01:46 +02:00
Krzesimir Nowak
c6683a158e sys-devel/make: Apply Flatcar modifications 2022-08-23 16:01:46 +02:00
Krzesimir Nowak
7dbd5615d1 sys-devel/make: Copy from portage-stable 2022-08-23 16:01:46 +02:00
Krzesimir Nowak
66b8c112f7 sys-libs/glibc: Apply Flatcar modifications
- 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
2022-08-23 16:01:22 +02:00
Krzesimir Nowak
26475e5ebf sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 77cec48da70c6d6424ed6dba4357dd8eacd262c2.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
5b7f8b1525 profiles: Add accept keywords for sys-devel/crossdev 2022-08-23 15:59:08 +02:00
Krzesimir Nowak
fd214759a9 app-torcx/docker: Bump dev-libs/libltdl dependency 2022-08-23 15:59:08 +02:00
Krzesimir Nowak
5089a6ee6e profiles: Drop accept_keywords for sys-libs/zlib
The updated package is stable for both amd64 and arm64.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
93e861952f coreos-config: Drop fixes for sys-devel/gettext
Let's see if they are still necessary.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
6fdfa61738 profiles: gcc sanitize should be working on arm64 too
Let's check if this is the case.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
60cfb42af6 coreos/config: Drop flex fixes
Let's see if there are still problems with bootstrapping.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
864ea5fd61 coreos/config: Drop libtool fixes
These seem to be quite old and most likely not needed any more. Let's
see if it's true, otherwise this commit will be reverted.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
d458f790fd coreos/config: Drop unnecessary fix for perl
We just updated dev-lang/perl to a version that contains the fix.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
4c8cd9ffe6 profiles: Drop sys-libs/binutils-libs from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-08-23 15:59:08 +02:00
Krzesimir Nowak
3e0a85a6f0 profiles: Drop sys-devel/binutils from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-08-23 15:59:08 +02:00
Mathieu Tortuyaux
87eaf07fb2 Merge pull request #2110 from EhsanLunar/patch-1
Flatcar support for EKS on versions above 1.21
2022-08-23 15:47:09 +02:00
Dongsu Park
94254df06c Merge pull request #2109 from flatcar-linux/cacerts-3.82-main
Upgrade ca-certificates in main from 3.81 to 3.82
2022-08-23 13:25:21 +02:00
Ehsan Assgari
050c0cf8e5 Update changelog/bugfixes/2022-08-22-eks-support-for-versions-above-1.21.md
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2022-08-22 17:07:33 +02:00
Ehsan Assgari
d58ef937d9 Create 2022-08-22-eks-support-for-versions-above-1.21.md 2022-08-22 15:57:43 +02:00
Ehsan Assgari
3c3b111746 Update coreos-base/flatcar-eks/files/download-kubelet.sh
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2022-08-22 14:36:48 +02:00
Ehsan Assgari
be29c3cc35 Flatcar support for EKS on versions above 1.21
## Description

When an EC2 instance boots up with a flatcar image (even the latest) the kubelet fails.
The userdata defines (and should do so) that the `/etc/eks/bootstrap.sh` should run, which it does.

This seems to add a ExecStartPre to the kubelet.service:
`ExecStartPre=/usr/share/oem/eks/download-kubelet.sh`

Both the `bootstrap.sh` and the `download-kubelet.sh` are consistent with:
https://github.com/flatcar-linux/coreos-overlay/blob/main/coreos-base/flatcar-eks/files/bootstrap.sh
https://github.com/flatcar-linux/coreos-overlay/blob/main/coreos-base/flatcar-eks/files/download-kubelet.sh

The `download-kubelet.sh` fails with `Unsupported Kubernetes version` because in the case statement on line 24->50 (https://github.com/flatcar-linux/coreos-overlay/blob/main/coreos-base/flatcar-eks/files/download-kubelet.sh#L25) only has values for kubernetes version 1.15 -> 1.21

If I manually alter the file and add 1.22 (when I test this on 1.22.9 kubernetes version deployment) and re-run the `bootsrap.sh` it works fine as far as I can see, the node than joins the cluster and shows up as `Ready` and pods starting running on the node.

The last PR I can see on this particular thing was done about a year ago f0da7f8c9e

## Impact

No EKS support for kubernetes versions higher than 1.21

## Environment and steps to reproduce

1. **Set-up**: Create an EKS cluster with the latest flatcar AMI in the worker nodes
2. **Task**: SSH into the node (probably through a Bastion)
3. **Action(s)**:  No actions needed
4. **Error**: kubelet.service fails because the download-kubelet.sh doesn't have download locations for kubernetes version above 1.21

## Expected behavior

Download locations for kubernetes versions 1.22 and 1.23 (EKS doesn't have support for 1.24 yet it seems) should be located inside the download-kubelet.sh

## Additional information

By running `aws s3 ls s3://amazon-eks/` you can list the available locations of the other versions, so for it should result in this:

``` sh
case $CLUSTER_VERSION in
  1.23)
    S3_PATH="1.23.9/2022-07-27/"
    ;;
  1.22)
    S3_PATH="1.22.12/2022-07-27/"
    ;;
  1.21)
    S3_PATH="1.21.2/2021-07-05"
    ;;
  1.20)
    S3_PATH="1.20.4/2021-04-12"
    ;;
  1.19)
    S3_PATH="1.19.6/2021-01-05"
    ;;
  1.18)
    S3_PATH="1.18.9/2020-11-02"
    ;;
  1.17)
    S3_PATH="1.17.12/2020-11-02"
    ;;
  1.16)
    S3_PATH="1.16.15/2020-11-02"
    ;;
  1.15)
    S3_PATH="1.15.12/2020-11-02"
    ;;
  *)
    echo "Unsupported Kubernetes version"
    exit 1
    ;;
esac
```
2022-08-22 13:27:25 +02:00
Flatcar Buildbot
eb7632d2d3 app-misc: Upgrade ca-certificates 3.81 to 3.82 2022-08-22 07:22:53 +00:00
Flatcar Buildbot
133b75c5c5 sys-kernel: Upgrade Kernel 5.15.61 to 5.15.62 2022-08-22 07:22:28 +00:00
Krzesimir Nowak
6209071399 Merge pull request #2097 from flatcar-linux/krnowak/mirror-calico
.github: find latest calico tag from tigera operator using github API
2022-08-19 14:46:55 +02:00
Krzesimir Nowak
5e26cf2807 Merge pull request #2090 from flatcar-linux/rust-1.63.0-main
Upgrade dev-lang/rust and virtual/rust in main from 1.62.1 to 1.63.0
2022-08-19 11:39:25 +02:00
Krzesimir Nowak
645da379e6 .github: Find latest calico release using github API
We fetch the latest release of calico from calicoproject/calico
releases instead of from calico-version.yaml file in tigera/operator
repo. This is because we download the Tigera Operator manifest from
the calico repository, so we can expect that when the release happens,
both calico and the operator agree on versions used (so we expect that
calico 3.24.0 is using operator version 1.28.0, and the operator
1.28.0 is using calico 3.24.0).
2022-08-19 11:15:18 +02:00
Krzesimir Nowak
127de15c9b sys-kernel/coreos-firmware: Sync intel ice firmware version
The firmware got updated to version 1.3.30.0. Reflect this in the
ebuild.
2022-08-18 16:56:10 +02:00
Flatcar Buildbot
27073a3eb0 sys-kernel: Upgrade Linux Firmware 20220708 to 20220815 2022-08-18 16:56:10 +02:00
Krzesimir Nowak
4c225455f1 Merge pull request #2095 from flatcar-linux/linux-5.15.61-main
Upgrade Linux Kernel in main from 5.15.60 to 5.15.61
2022-08-18 16:55:19 +02:00
Flatcar Buildbot
a74828991c dev-lang: Upgrade dev-lang/rust 1.62.1 to 1.63.0 2022-08-18 15:01:52 +02:00
Krzesimir Nowak
4860ed8ae8 changelog: Fix a link 2022-08-18 13:27:06 +02:00
Krzesimir Nowak
1217d6c0fa coreos/config: Add a fix for dev-libs/cyrus-sasl cross-compilation 2022-08-18 10:43:35 +02:00
Krzesimir Nowak
723745befc profiles: Drop redundant entry in package.provides in target profile
It's already a part of a base profile.
2022-08-18 10:42:07 +02:00
Krzesimir Nowak
6c60feb9a7 dev-libs/cyrus-sasl: Move to portage-stable 2022-08-18 10:34:49 +02:00
Flatcar Buildbot
7d5371aee8 sys-kernel: Upgrade Kernel 5.15.60 to 5.15.61 2022-08-18 07:22:54 +00:00
Flatcar Buildbot
e44aacf2d5 sys-kernel: Upgrade Kernel 5.15.59 to 5.15.60 2022-08-16 21:16:34 +02:00
Jeremi Piotrowski
39a5eddec4 Merge pull request #2027 from flatcar-linux/t-lo/slsa-record-provenance-main
Record SLSA provenance data by extending profile bashrc with phase hooks.
2022-08-15 13:38:21 +02:00
Flatcar Buildbot
f87b7996f0 app-emulation: Upgrade Containerd 1.6.7 to 1.6.8 2022-08-12 13:04:27 +02:00
Sayan Chowdhury
046403e71d app-editors/vim,vim-core: Add accept_keywords for vim & vim-core
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-08-12 14:53:32 +05:30
Kai Lueke
a3e20e8bc5 coreos-base/coreos-init: Add new image signing key to flatcar-install
This pulls in
https://github.com/flatcar-linux/init/pull/79
to updated the embedded pub key in flatcar-install to include the new
subkey that is used for signing new releases.
2022-08-11 15:27:24 +02:00
Dongsu Park
e5dc9fac33 profiles: enable dev-vcs/git 2.37.1
To be able to address CVE-2022-29187, we need to accept keywords
and unmask dev-vcs/git 2.37.1.
2022-08-09 16:25:19 +02:00
Dongsu Park
9d1c45fc11 changelog: add changelog for Go 1.18.5 2022-08-08 14:39:51 +02:00
Flatcar Buildbot
110a8c0b0c dev-lang: Upgrade Go 1.18.4 to 1.18.5 2022-08-08 07:31:17 +00:00
Flatcar Buildbot
cac72c0f5a dev-lang: Upgrade Go 1.17.12 to 1.17.13 2022-08-08 07:31:17 +00:00
Krzesimir Nowak
1315e7e8bd Merge pull request #2076 from flatcar-linux/linux-5.15.59-main
Upgrade Linux Kernel in main from 5.15.58 to 5.15.59
2022-08-05 19:09:26 +02:00
Dongsu Park
3e41b06e26 Merge pull request #2079 from flatcar-linux/containerd-1.6.7-main
Upgrade Containerd in main from 1.6.6 to 1.6.7
2022-08-05 14:40:08 +02:00
Flatcar Buildbot
f8020786b7 app-emulation: Upgrade Containerd 1.6.6 to 1.6.7 2022-08-05 08:25:17 +00:00
Dongsu Park
e739f9bfa4 changelog: add changelog for libtirpc 1.3.2-r1 2022-08-04 18:04:07 +02:00
Dongsu Park
a729ef7c9a net-libs/libtirpc: Apply Flatcar modifications
Update keywords to stable amd64 and arm64.

Note, fix-dos patch is not necessary any more, because 1.3.2-r1 from
upstream Gentoo already has the patch.

Based on commit f3150e4b458e8d8979a37a91e44a7e1d2334d2aa.
2022-08-04 18:04:07 +02:00
Dongsu Park
382a18c125 net-libs/libtirpc: update to 1.3.2-r1
Update net-libs/libtirpc to 1.3.2-r1 mainly to address CVE-2021-46828.
2022-08-04 18:04:07 +02:00
Jeremi Piotrowski
1da35c897e Merge pull request #2070 from flatcar-linux/jepio/coreos-cloudinit-update
coreos-base/coreos-cloudinit: bump commit for imdsv2 and go.mod support
2022-08-04 15:43:40 +02:00
Jeremi Piotrowski
cd37e46bb8 changelog: add entry for coreos-cloudinit update 2022-08-04 14:47:13 +02:00
Jeremi Piotrowski
f2c0730ab7 coreos-base/coreos-cloudinit: pull in AWS IMDSv2 and go-module support
This pulls in these PRs:
- https://github.com/flatcar-linux/coreos-cloudinit/pull/13 (imdsv2)
- https://github.com/flatcar-linux/coreos-cloudinit/pull/14 (go.mod)

Since go.mod is now present, rework the ebuild to remove unused bits and
enable go module support.
2022-08-04 10:30:09 +02:00
Flatcar Buildbot
43279010b9 sys-kernel: Upgrade Kernel 5.15.58 to 5.15.59 2022-08-04 07:23:00 +00:00
Mathieu Tortuyaux
988523a4b2 changelog: add entries
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-03 18:35:29 +02:00
Mathieu Tortuyaux
0924a6d486 coreos-base/coreos-init: bump commit ID
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-03 18:27:13 +02:00
Jeremi Piotrowski
4c6debc989 sys-kernel/coreos-sources: backport 2 more patches
and refresh other patches. The changes in PCI irq masking on hyperv resulted in
the previous set of patches not building on arm64. Resolve this by taking
another 2 patches. Patch z0006 makes the non-compiling code x86 specific
(fixing the build failure on arm64) and patch z0007 fixes a subsequent "not
used function" error.
2022-08-03 12:15:50 +02:00
Krzesimir Nowak
45268f7e02 sys-kernel/coreos-sources: Regenerate patches
The changes made to drivers/pci/controller/pci-hyperv.c by upstream
resulted in the first hyperv patch failing to apply.
2022-08-02 17:51:47 +02:00
Jeremi Piotrowski
10cde6a11a profiles/coreos/base: slsa: format report before compression 2022-08-02 17:04:23 +02:00
Krzesimir Nowak
9fc609c834 Merge pull request #2068 from flatcar-linux/linux-5.15.58-main
Upgrade Linux Kernel in main from 5.15.56 to 5.15.58
2022-08-02 09:55:03 +02:00
Mathieu Tortuyaux
f6628428ea changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-01 10:40:05 +02:00
Mathieu Tortuyaux
85fe7d9c1d coreos-base/init: keep static network configuration
this pulls: https://github.com/flatcar-linux/init/pull/77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-08-01 10:40:05 +02:00
Flatcar Buildbot
4d6fefdcee sys-kernel: Upgrade Kernel 5.15.56 to 5.15.58 2022-07-30 07:21:57 +00:00
Mathieu Tortuyaux
78f76d45fd coreos-base/hard-host-depends: add syft
Otherwise it's not pulled in the SDK

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-28 12:36:20 +02:00
Mathieu Tortuyaux
372a75bdf9 Merge pull request #2060 from flatcar-linux/tormath1/ignition
sys-apps/ignition: add networkd translate fix
2022-07-28 10:05:02 +02:00
Mathieu Tortuyaux
8f0354c2f3 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-28 10:03:57 +02:00
Mathieu Tortuyaux
669a944e8d sys-apps/ignition: add networkd translate fix
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-28 10:03:57 +02:00
Jeremi Piotrowski
ef48877b47 Merge pull request #2030 from flatcar-linux/jepio/spdx-sbom
app-containers/syft: add v0.51.0 to sdk
2022-07-27 13:51:24 +02:00
jenkins
d6077e9286 profiles/coreos/base: slsa: use .git/HEAD file to fetch scripts hash
ORIG_HEAD is the previous HEAD, so it is not what we are after. HEAD
only contains the hash if we are in a detached head situation, otherwise
it will contain a ref and we need to resolve it. `git rev-parse HEAD`
should work as well but hits an issue with git's new `safe.directory`
setting, I have not found a way to set this parameter for a signle call.

For toolchain packages are built with catalyst, and the HEAD value needs
to pre-resolved because we do not have access to the whole git
repository. So build_toolchains will need to inject the correct HEAD
file contents.
2022-07-27 13:02:22 +02:00
jenkins
113de2ac75 profiles/coreos/base: slsa: compute ebuild file checksum for materials entry 2022-07-27 13:02:22 +02:00
Jeremi Piotrowski
fbdbd1ac19 profiles/coreos/base: slsa: revise material uri to match SPDXDownloadLocation spec
If the uri points to a path within the repo then the format is
git+https://repo@ref#path. ORIG_HEAD is actually the previous HEAD, so read
use that to extract the correct ref.
2022-07-27 13:02:22 +02:00
Jeremi Piotrowski
b1ce3800a5 profiles/coreos/base: slsa: sort file checksums by name 2022-07-27 13:02:22 +02:00
Jeremi Piotrowski
1a0f396be4 profile/coreos/base: slsa: switch to bz2 compression for consistency
...and remove redundant mkdir. Mkdir is already called with the same argument a
couple of lines lower.
2022-07-27 13:02:22 +02:00
Jeremi Piotrowski
d211a2b168 profile/core/base: slsa: use nproc instead of parsing /proc/cpuinfo 2022-07-27 13:02:22 +02:00
Jeremi Piotrowski
91b64a5587 profile/coreos/base: slsa: remove name collision between variable and function
__slsa_provenance_report is both a variable and a function, which is confusing.
Rename the variable.
2022-07-27 13:02:22 +02:00
jenkins
39f1d45dff profiles/coreos/base: slsa: return when disabled and use die() 2022-07-27 13:02:22 +02:00
jenkins
7bd2f19fac profiles/coreos/base: slsa: use portageq to find repository path
This makes the lookup work within the catalyst chroot, as well as in the
SDK.
2022-07-27 13:02:22 +02:00
Thilo Fromm
d86d5ebe3f slsa-provenance: make generation optional 2022-07-27 13:02:22 +02:00
Thilo Fromm
be46ed7bb0 profiles/coreos/base/profile.bashrc: SLSA provenance reports
This change adds initial support for SLSA provenance report generation.
Reports are generated in package build post-install hooks after
compilation.

See https://slsa.dev/ for SLSA and https://slsa.dev/provenance/v0.2 for
the provenance report syntax.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-07-27 13:02:22 +02:00
Dongsu Park
0d2a3f29fb Merge pull request #2059 from flatcar-linux/rust-1.62.1-main
Upgrade dev-lang/rust and virtual/rust in main from 1.62.0 to 1.62.1
2022-07-26 16:58:05 +02:00
Jeremi Piotrowski
c2c7f0d504 Merge pull request #2057 from flatcar-linux/jepio/systemd-resolve.conf
sys-apps/systemd: fix tmpfile entry for resolv.conf link
2022-07-26 11:07:09 +02:00
Jeremi Piotrowski
36ecad566a changelog: add entry for resolv.conf bugfix 2022-07-26 11:06:27 +02:00
Jeremi Piotrowski
d9972d4ad1 sys-apps/systemd: fix tmpfile entry for resolv.conf link
Our ebuild modifies the systemd owned tmpfiles.d entry that creates the
/etc/resolv.conf symlink to point to resolv.conf instead of stub-resolv.conf.
The file that contains that entry changed from etc.conf.in to
systemd-resolve.conf, so update the ebuild to touch that file.
2022-07-26 10:03:13 +02:00
Flatcar Buildbot
5acb31cbab dev-lang: Upgrade dev-lang/rust 1.62.0 to 1.62.1 2022-07-26 07:37:28 +00:00
Flatcar Buildbot
6058ad50fc app-misc: Upgrade ca-certificates 3.80 to 3.81 2022-07-25 07:24:01 +00:00
Dongsu Park
cd80387051 Merge pull request #2040 from flatcar-linux/dongsu/add-Go-CVE-2022-32148
changelog: add missing CVE for Go 1.18.4, 1.17.12
2022-07-22 15:04:15 +02:00
Flatcar Buildbot
2568802c6e sys-kernel: Upgrade Kernel 5.15.55 to 5.15.56 2022-07-22 07:24:26 +00:00
Dongsu Park
1e1c30264e changelog: add missing CVE for Go 1.18.4, 1.17.12
Add missing CVE-2022-32148 for Go 1.18.4, 1.17.12.
2022-07-21 13:39:12 +02:00
Mathieu Tortuyaux
ace84f7d4f Merge pull request #2038 from flatcar-linux/tormath1/nmap
profiles: enable symlink for nmap
2022-07-19 14:11:09 +02:00
Mathieu Tortuyaux
f334da4fb5 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-19 08:45:57 +02:00
Mathieu Tortuyaux
606ba61447 profiles: enable symlink for nmap
For compatiblity, it's good to have `nc` in the PATH too.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-07-18 11:23:09 +02:00
jenkins
a938fb9b5c app-containers/syft: apply downstream changes
* pass additional ldflags so that `syft version` prints the package
  version.
* keyword stable for amd64 and arm64 (to reduce differences between the
  two).
2022-07-18 07:49:27 +00:00
jenkins
e995d9a4b1 app-containers/syft: Import from Gentoo
Upstream commit c691680319ac2f00f203533c3dca0b21ecf77f80
2022-07-18 07:49:22 +00:00
Flatcar Buildbot
d68ffc61cc sys-kernel: Upgrade Kernel 5.15.54 to 5.15.55 2022-07-16 07:22:06 +00:00
Krzesimir Nowak
6dea2f8ae7 Merge pull request #2024 from flatcar-linux/linux-5.15.54-main
Upgrade Linux Kernel in main from 5.15.52 to 5.15.54
2022-07-15 16:03:41 +02:00
Sayan Chowdhury
2959870601 Merge pull request #2018 from flatcar-linux/sayan/update-sudo-1.9.10-r1
app-admin/sudo: Sync with Gentoo upstream; updates to 1.9.10-r1
2022-07-15 16:11:46 +05:30
Sayan Chowdhury
c605e33d23 app-admin/sudo: Add the changelog for sudo-1.9.10-r1 release
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-07-15 15:33:39 +05:30
Sayan Chowdhury
c0afb3e982 app-admin/sudo: Apply Flatcar patches
- Remove Perl Runtime Dependency
- Remove OpenLDAP schema files for sudo
- Remove sudo.conf file as it is shipped via baselayout

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-07-15 15:33:39 +05:30
Sayan Chowdhury
46ef576243 Merge pull request #2029 from flatcar-linux/sayan/update-curl-7.84.0
profiles: remove outdated arm64 accept_keywords for curl
2022-07-15 15:28:28 +05:30
Dongsu Park
2ad4c0c632 Merge pull request #2028 from flatcar-linux/firmware-20220708-main
Upgrade Linux Firmware in main from 20220610 to 20220708
2022-07-14 13:42:34 +02:00
Kai Lüke
9d8e918968 Merge pull request #2026 from flatcar-linux/kai/kargs-nonexisting-grubcfg
sys-kernel/bootengine: Fix ignition kargs support by creating grub.cfg
2022-07-14 10:30:48 +02:00
Kai Lueke
b9ee2d9c4f sys-kernel/bootengine: Fix ignition kargs support by creating grub.cfg
This pulls in
https://github.com/flatcar-linux/bootengine/pull/47
which creates the grub.cfg file if it does not exist when the Ignition
kargs directive is used, preventing an error when it tried to read the
current settings from it.
2022-07-14 10:30:25 +02:00
Flatcar Buildbot
74073529a9 sys-kernel: Upgrade Linux Firmware 20220610 to 20220708 2022-07-14 07:11:33 +00:00
Dongsu Park
62a5dcf69b Merge pull request #2025 from flatcar-linux/go-1.17.12-and-1.18.4-main
Upgrade Go from 1.17.11 and 1.18.3 to 1.17.12 and 1.18.4
2022-07-13 16:37:04 +02:00
Dongsu Park
e9cf245cff changelog: add changelog for Go 1.18.4 2022-07-13 11:39:49 +02:00
Sayan Chowdhury
520b9975d9 Merge pull request #2017 from flatcar-linux/sayan/update-cifs-utils-6.15
net-fs/cifs-utils: Add the package.accept_keywords for cifs-utils
2022-07-13 14:30:59 +05:30
Flatcar Buildbot
224d98c21d dev-lang: Upgrade Go 1.18.3 to 1.18.4 2022-07-13 08:47:35 +00:00
Flatcar Buildbot
acf8ee4e2a dev-lang: Upgrade Go 1.17.11 to 1.17.12 2022-07-13 08:47:35 +00:00
Jeremi Piotrowski
759df3dee2 Merge pull request #1840 from flatcar-linux/jepio/nvidia-service-improvement
nvidia driver build improvements
2022-07-13 10:40:50 +02:00
Flatcar Buildbot
f19e737de9 sys-kernel: Upgrade Kernel 5.15.52 to 5.15.54 2022-07-13 07:22:41 +00:00
Sayan Chowdhury
18299dc636 profiles: remove outdated arm64 accept_keywords for curl
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-07-12 20:34:02 +05:30
Sayan Chowdhury
c0204785ec app-admin/sudo: Sync with Gentoo upstream; updates to 1.9.10-r1
gentoo sync ref: 6e69c00ebc

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-07-12 19:38:59 +05:30
Dongsu Park
a023d537fe changelog: add changelog for gnupg 2.2.35 2022-07-12 11:20:56 +02:00
Dongsu Park
5725e318b5 app-crypt/gnupg: add patches for accepting without UIDs
When the GnuPG keyserver is set to `keys.openpgp.org`, `gpg --recv-keys`
occasionally fails with the following error:

```
gpg: key E52F0DB391453C45: no user ID
```

We need to make GnuPG accept keys even without UIDs.
Original patches come from
f292beac11/debian/patches/import-merge-without-userid .
See also https://dev.gnupg.org/T4393 .

Based on commit ff9200d8d3fce1feaa1eaa751a0dd2a50acbaae0 .
2022-07-12 11:20:53 +02:00
Sayan Chowdhury
926e4501d4 net-fs/cifs-utils: Add the package.accept_keywords for cifs-utils
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-07-12 14:14:44 +05:30
Dongsu Park
eb108906b6 app-crypt/gnupg: update to 2.2.35-r1
Update to gnupg 2.2.35-r1, mainly to address CVE-2022-34903.

Gentoo commit: 2b8f76c36b848ee02b57c00b29fa293d0c0dfc02
2022-07-11 13:22:20 +02:00
Krzesimir Nowak
f50d2cbb4e Merge pull request #2007 from flatcar-linux/linux-5.15.52-main
Upgrade Linux Kernel in main from 5.15.51 to 5.15.52
2022-07-06 15:19:28 +02:00
Flatcar Buildbot
40beab1df7 dev-lang: Upgrade dev-lang/rust 1.61.0 to 1.62.0 2022-07-05 07:39:35 +00:00
Flatcar Buildbot
5e445140e7 sys-kernel: Upgrade Kernel 5.15.51 to 5.15.52 2022-07-03 07:21:56 +00:00
Dongsu Park
edb6d2e7d0 Merge pull request #2001 from flatcar-linux/dongsu/glibc-2.34-p1
preparation for glibc 2.34
2022-07-01 15:05:25 +02:00
Dongsu Park
0d64fd726d changelog: add changelog for gdb 11.2 2022-07-01 15:02:31 +02:00
Dongsu Park
47e5c0d929 sys-devel/gdb: fix cross build issues with configuring gmp libs
As gdb 11 or newer requires gmp libs as dependency, a cross build of
gdb 11.2 started to fail when its configure scripts try to detect if
gmp exists.  The failure occurs mainly because the build still passes
'-L/usr/lib64` to LDFLAGS. Let's say, for example, host toolchains
outside of sysroot have amd64 libs, while the target inside of
sysroot should have arm64 libs. However, configure scripts of gdb 11.2
still try to find its libs outside of sysroot, /usr/lib64, although it
should find its libs inside of sysroot, e.g. /build/arm64/usr/lib64.

To fix the cross build issues, pass --with-sysroot as well as --libdir,
correctly with ${ESYSROOT}.

As a side note, for some reason, upstream gdb configure scripts are not
able to correctly make use of its gmp-specific options like --with-gmp
or --with-gmp-lib. Passing those options does not bring anything.
Also configure must have both --with-sysroot and --libdir, to make the
build work.
2022-06-30 17:46:19 +02:00
Dongsu Park
416e41b2c3 sys-devel/gdb: sync with Gentoo for gdb 11.2
Update sys-devel/gdb to 11.2, as gdb 9 is not compatible with glibc 2.34
any more.
2022-06-30 17:46:19 +02:00
Dongsu Park
c4316b1bbc profiles: accept keywords for app-crypt/adcli 0.9.1-r2
To install app-crypt/adcli 0.9.1-r2, accept keywords for ~amd64 and
~arm64.
2022-06-30 17:46:19 +02:00
Dongsu Park
014ef063bf app-admin/adcli: move adcli to portage-stable
To fix build issues that happen in adcli 0.9 with glibc 2.34, we should
sync adcli with upstream Gentoo, where the build issue is already fixed.
As Gentoo has the ebuild under the category `app-crypt`, we simply move
from adcli from coreos-overlay to portage-stable, move adcli to the
app-crypt category, and update the version to 0.9.1-r2.
2022-06-30 17:46:19 +02:00
Dongsu Park
994ae65e71 coreos-base/coreos: rename app-admin/adcli to app-crypt/adcli
Since app-admin/adcli was moved to app-crypt/adcli, being consistent
with upstream Gentoo, update it also in coreos-base/coreos ebuild.
2022-06-30 17:46:19 +02:00
Kai Lueke
86dec4e1df coreos-base/coreos-init: Remove outdated LTS motd information
This pulls in
https://github.com/flatcar-linux/init/pull/75
to update the LTS info that is printed on login.
2022-06-30 12:05:48 +02:00
Krzesimir Nowak
375f634187 changelog: Fix link 2022-06-29 17:23:46 +02:00
Flatcar Buildbot
ed5a5c6b2d sys-kernel: Upgrade Kernel 5.15.50 to 5.15.51 2022-06-29 07:23:13 +00:00
Krzesimir Nowak
7550545520 Merge pull request #1990 from flatcar-linux/cacerts-3.80-main
Upgrade ca-certificates in main from 3.79 to 3.80
2022-06-28 08:27:56 +02:00
Krzesimir Nowak
911586b472 changelog: Fix link 2022-06-27 17:27:33 +02:00
Flatcar Buildbot
fd64754ec2 app-misc: Upgrade ca-certificates 3.79 to 3.80 2022-06-27 07:22:39 +00:00
Flatcar Buildbot
e639b65a2c sys-kernel: Upgrade Kernel 5.15.48 to 5.15.50 2022-06-26 07:21:29 +00:00
Sayan Chowdhury
72e2e368c4 Merge pull request #1972 from flatcar-linux/linux-5.15.48-main
Upgrade Linux Kernel in main from 5.15.47 to 5.15.48
2022-06-21 02:45:55 +05:30
Sayan Chowdhury
c72393a02b changelog: Add updates, security for the intel-microcode
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-06-17 16:16:50 +05:30
Sayan Chowdhury
e2159d417e sys-firmware/intel-microcode: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-06-17 16:08:04 +05:30
Sayan Chowdhury
26ef0721a8 sys-firmware/intel-microcode: Sync with Gentoo upstream; updates to 20220510
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-06-17 16:08:04 +05:30
Flatcar Buildbot
230cf32499 sys-kernel: Upgrade Kernel 5.15.47 to 5.15.48 2022-06-17 07:22:23 +00:00
Mathieu Tortuyaux
9d2c123978 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-16 17:51:43 +02:00
Mathieu Tortuyaux
506403adf4 app-emulation/containerd: remove overlay module loading
This is now handled in `flatcar-linux/init` repo in the `modules-load.d`
config directory.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-16 17:51:42 +02:00
Mathieu Tortuyaux
250760a51b app-emulation/containerd: enable containerd
`docker.service` has a dependency to `containerd.service`:
```
$ systemctl list-dependencies docker.service
docker.service
  containerd.service
  ...
```

If `docker.service` is not started (explicitly or via socket activation)
`containerd.service` won't start.

To ensure a seamless transition to kubernetes-1.24 let's enable by
default `containerd.service`.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-16 17:51:42 +02:00
Mathieu Tortuyaux
6ff3675810 coreos-base/coreos-init: bump commit ID
this pulls kubernetes module configuration.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-16 17:51:41 +02:00
Flatcar Buildbot
6d1e7a498c sys-kernel: Upgrade Linux Firmware 20220509 to 20220610 2022-06-16 07:12:04 +00:00
Flatcar Buildbot
06ce732702 sys-kernel: Upgrade Kernel 5.15.44 to 5.15.47 2022-06-15 07:23:33 +00:00
Mathieu Tortuyaux
23fc9679b2 coreos-base/coreos-init: pull "delete-config" service
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-14 13:54:31 +02:00
Mathieu Tortuyaux
66733328c6 base/coreos: add ignition as a Flatcar dependency
We add `sys-apps/ignition` as a `coreos-base/coreos` dependency to get
`/usr/libexec/ignition-rmcfg` available on the _real_ root.
Now we want `/usr/bin/ignition` to be in the chroot until it's being copied
to the initramfs but we don't want it on the actual root.

With `PKG_INSTALL_MASK`, we'll prevent `/usr/bin/ignition` to be added
to the image in the `./build_image` - at this time, initramfs is already
created and `sys-apps/ignition` is a binary package.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-14 13:54:31 +02:00
Mathieu Tortuyaux
134c67aea8 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-14 13:54:31 +02:00
Mathieu Tortuyaux
607f9b434f sys-apps/ignition: add "ignition-rmcfg" binary
this helper removes config from VMWare and Virtualbox and should not be
directly used by the user.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-14 13:39:53 +02:00
Mathieu Tortuyaux
c1c6fa7df5 sys-apps/ignition: bump ebuild release
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-14 13:39:53 +02:00
Kai Lüke
3d642b9cb7 Merge pull request #1956 from jbguerraz/init-bump
Init bump
2022-06-14 12:52:46 +02:00
Jean-Baptiste Guerraz
b228dbcc31 flatcar-install: added option to create uefi boot entry 2022-06-14 10:44:23 +00:00
Jean-Baptiste Guerraz
53b5aad92b Add sys-boot/efibootmgr 2022-06-13 23:55:21 +00:00
Thilo Fromm
8202ed8bc9 Merge pull request #1954 from flatcar-linux/t-lo/arm64-cifs-realmd-sssd-adcli-go-tspi
Add ARM64 support for cifs-utils, realmd, sssd, adcli, go-tspi
2022-06-13 14:22:27 +02:00
Thilo Fromm
8d01613b1f cifs-utils, realmd, sssd, adcli, go-tspi: add ARM64
This change adds multiple tools to ARM64 which were formerly only
present in the X86-64 image.

Added for ARM64:

        net-fs/cifs-utils
        sys-auth/realmd
        app-admin/adcli
        app-crypt/go-tspi

This leaves only the xenserver-pv-version and xenstore packages
exclusively on X86-64.

The change un-masks keywords amd64 and arm64 for sys-libs/liburing-2.1-r2
and keyword arm64 for dev-libs/ding-libs-0.6.1-r1, overwriting Gentoo
upstream defaults in portage-stable.

Partially fixes https://github.com/flatcar-linux/Flatcar/issues/689.
Fixes https://github.com/flatcar-linux/Flatcar/issues/690.
2022-06-13 14:15:52 +02:00
Mike Tougeron
ee276c701f Enable arm64 version of sssd 2022-06-13 14:13:16 +02:00
Dongsu Park
177396dc3c Merge pull request #1947 from flatcar-linux/containerd-1.6.6-main
Upgrade Containerd in main from 1.6.4 to 1.6.6
2022-06-10 15:04:37 +02:00
Dongsu Park
3772750263 Merge pull request #1946 from flatcar-linux/runc-1.1.3-main
Upgrade Runc in main from 1.1.2 to 1.1.3
2022-06-10 14:16:49 +02:00
Dongsu Park
278ee0e58d changelog: add changelog for containerd 1.6.6 2022-06-10 11:42:28 +02:00
Flatcar Buildbot
d29b01fe18 app-emulation: Upgrade Containerd 1.6.4 to 1.6.6 2022-06-10 11:32:03 +02:00
Dongsu Park
7b4448ba00 Merge pull request #1943 from flatcar-linux/docker-20.10.17-main
Upgrade Docker in main from 20.10.16 to 20.10.17
2022-06-09 16:12:25 +02:00
Dongsu Park
7a027e532c Merge pull request #1945 from flatcar-linux/dongsu/libxml2-2.9.14
profiles: delete libxml2 keywords
2022-06-09 12:40:34 +02:00
Flatcar Buildbot
f80bf9be86 app-emulation: Upgrade Runc 1.1.2 to 1.1.3 2022-06-09 07:54:27 +00:00
Dongsu Park
928b1a0ba5 profiles: delete libxml2 keywords
Now that dev-libs/libxml2 2.9.14 is stable, we do not need to accept
keywords for that.
2022-06-08 11:58:34 +02:00
Flatcar Buildbot
d72d1f0e66 app-emulation: Upgrade Docker 20.10.16 to 20.10.17 2022-06-08 07:46:01 +00:00
Flatcar Buildbot
6772cfeba8 dev-lang: Upgrade Go 1.18.2 to 1.18.3 2022-06-06 07:29:12 +00:00
Flatcar Buildbot
16d461c7e0 dev-lang: Upgrade Go 1.17.10 to 1.17.11 2022-06-06 07:29:12 +00:00
Dongsu Park
80f9ea5246 Merge pull request #1933 from flatcar-linux/cacerts-3.79-main
Upgrade ca-certificates in main from 3.78 to 3.79
2022-06-03 09:04:14 +02:00
Krzesimir Nowak
56f34184df Merge pull request #1927 from flatcar-linux/linux-5.15.44-main
Upgrade Linux Kernel in main from 5.15.43 to 5.15.44
2022-06-02 18:48:26 +02:00
Flatcar Buildbot
8c1d28ec92 app-misc: Upgrade ca-certificates 3.78 to 3.79 2022-06-02 08:55:09 +00:00
Mathieu Tortuyaux
1f2f92dbe4 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-02 09:41:56 +02:00
Mathieu Tortuyaux
af5c44da11 sys-apps/ignition: bump commit ID
this pulls release 2.14.0

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-06-02 09:41:51 +02:00
Flatcar Buildbot
f407b7fc05 sys-kernel: Upgrade Kernel 5.15.43 to 5.15.44 2022-05-31 07:24:47 +00:00
Flatcar Buildbot
2a605a23e8 sys-kernel: Upgrade Kernel 5.15.41 to 5.15.43 2022-05-26 07:24:02 +00:00
Dongsu Park
8356f598b1 Merge pull request #1913 from flatcar-linux/rust-1.61.0-main
Upgrade dev-lang/rust and virtual/rust in main from 1.60.0 to 1.61.0
2022-05-25 16:31:31 +02:00
Krzesimir Nowak
d30c97f462 Merge pull request #1900 from flatcar-linux/krnowak/pkg-updates-2021-part-2-python
Package updates, 2021 edition, part 2 - python update
2022-05-25 15:49:02 +02:00
Krzesimir Nowak
c070fd41c4 changelog: Add an entry 2022-05-25 15:47:12 +02:00
Krzesimir Nowak
f67e139a2b profiles: Clean up berkdb USE flags
Disabling it per-package is a no-op since we disable berkdb globally
through the make.defaults file.

Also drop redundant enabling of berkdb in sys-libs/gdbm in target
profile, because we already do it in the base profile.
2022-05-25 15:47:00 +02:00
Krzesimir Nowak
d5c18a906f profiles: Clean up python USE flags
The berkdb flag is gone, sqlite flag is already enabled by default.
2022-05-25 15:43:17 +02:00
Krzesimir Nowak
ce54fe641d dev-python/boto: Apply Flatcar modifications 2022-05-25 15:43:17 +02:00
Krzesimir Nowak
650892196a dev-python/boto: Sync with Gentoo
It's from gentoo commit 99e8a93d029cb2370fb08397cdb6cd7b459b2353.
2022-05-25 15:43:17 +02:00
Krzesimir Nowak
a7339931a4 dev-python/distro-oem: Bump to 1.7.0 2022-05-25 15:43:17 +02:00
Krzesimir Nowak
23041be4c2 profiles: Mask python 3.10
It seems to be picked up for some reason during SDK build, instead of
using python 3.9.9:

emerge: there are no ebuilds to satisfy "dev-lang/python-exec[python_targets_python3_10(-)]".
(dependency required by "dev-lang/python-3.10.2_p1::portage-stable" [ebuild])
(dependency required by "sec-policy/selinux-base-2.20200818-r2::coreos" [ebuild])
(dependency required by "sec-policy/selinux-base-policy-2.20200818-r2::coreos" [ebuild])
(dependency required by "sec-policy/selinux-unconfined-2.20200818-r2::portage-stable" [ebuild])
2022-05-25 15:43:17 +02:00
Krzesimir Nowak
4bc01c9201 dev-lang/python-oem: Apply Flatcar modifications 2022-05-25 15:43:17 +02:00
Krzesimir Nowak
d793efce8b dev-lang/python-oem: Copy from Gentoo 2022-05-25 15:43:17 +02:00
Krzesimir Nowak
4e38d17efa sec-policy/selinux-base: Depend on python properly
Otherwise it was trying to pull in the latest stable python version,
which currently is 3.10, while we still are using 3.9.
2022-05-25 15:43:17 +02:00
Krzesimir Nowak
cc5f4ce2e5 coreos-base/hard-host-depends: Add packages pulled in by distutils eclass 2022-05-25 15:43:17 +02:00
Dongsu Park
6314760a57 dev-lang/rust: fix build issue with Rust 1.61.0
Fix build issues with Rust 1.61.0 when applying
gentoo-musl-target-specs.patch.

```
error[E0308]: mismatched types
 -->
 compiler/rustc_target/src/spec/aarch64_gentoo_linux_musl.rs:6:24
  |
6 |     base.llvm_target =
   "aarch64-gentoo-linux-musl".to_string();
  |     ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  expected enum `Cow`, found struct `std::string::String`
  |     |
  |     expected due to the type of this binding
  |
  = note: expected enum `Cow<'static, str>`
           found struct `std::string::String`
```

Replace `to_string` with `into`.

Based on Gentoo commit 445f23597c942b087145b869ac588fc1c1eac759.
2022-05-25 09:40:19 +02:00
Flatcar Buildbot
6dac22bbfd app-emulation: Upgrade open-vm-tools 12.0.0 to 12.0.5 2022-05-25 07:20:32 +00:00
Mathieu Tortuyaux
72c01651a5 profiles: exclude acpi files from install step
they are not really suited for Flatcar usage.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-24 11:46:04 +02:00
Mathieu Tortuyaux
1465916f5a coreos-base/coreos: add explicit sys-power/acpid dependency
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-24 11:46:04 +02:00
Mathieu Tortuyaux
724002d665 profiles: accept acpid 2.0.33
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-24 11:46:04 +02:00
Flatcar Buildbot
4de751cb1a dev-lang: Upgrade dev-lang/rust 1.60.0 to 1.61.0 2022-05-24 07:47:23 +00:00
Mathieu Tortuyaux
7b7b935f80 Merge pull request #1912 from flatcar-linux/tormath1/gcp
coreos-base/oem-gce: bring back shutdown scripts
2022-05-24 09:27:36 +02:00
Krzesimir Nowak
8d9662a9a0 Merge pull request #1909 from flatcar-linux/krnowak/drop-pylint
coreos-base/hard-host-depends: Drop dev-python/pylint
2022-05-23 18:38:13 +02:00
Mathieu Tortuyaux
20cf9804d7 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-23 18:07:42 +02:00
Mathieu Tortuyaux
ebb6f281e7 coreos-base/oem-gce: bring back shutdown scripts
In the `init.sh` of the OEM GCE container, we have the following
section:

```bash
wait -n "${daemon_pids[@]}" || :
kill "${daemon_pids[@]}" || :

test -n "$stopping" || exit 1

exec /usr/bin/google_metadata_script_runner --script-type shutdown
```

`shutdown` script was not executed because container was receiving a
`SIGKILL`, the started processes was not properly terminated.

According to the `systemd-nspawn` manual:
```bash
If --boot is not used and this option is not specified
the container's processes are terminated abruptly via SIGKILL
```

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-23 17:54:48 +02:00
Mathieu Tortuyaux
bae75b9665 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-20 16:19:18 +02:00
Mathieu Tortuyaux
63da5d5de0 sys-kernel/bootengine: pull network kargs
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-20 16:19:18 +02:00
Mathieu Tortuyaux
ce17153093 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-20 15:28:42 +02:00
Mathieu Tortuyaux
8afe6bc7a9 sys-apps/ignition: upgrade ign-converter dependency
this pulls networkd conversion support.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-20 15:25:41 +02:00
Dongsu Park
6be5de6b4a Merge pull request #1908 from flatcar-linux/dongsu/nvidia-drivers-510.73.05
x11-drivers/nvidia-{drivers,metadata}: update to 510.73.05
2022-05-20 09:42:40 +02:00
Krzesimir Nowak
31797e602b Merge pull request #1906 from flatcar-linux/linux-5.15.41-main
Upgrade Linux Kernel in main from 5.15.40 to 5.15.41
2022-05-19 19:22:00 +02:00
Krzesimir Nowak
6b1d443f58 coreos-base/hard-host-depends: Drop dev-python/pylint
It does not seem to be a build dependency of python.
2022-05-19 18:08:13 +02:00
Dongsu Park
42e40811b5 changelog: add changelog for nvidia-drivers 2022-05-19 11:31:06 +02:00
Dongsu Park
61129fb1a5 x11-drivers/nvidia-{drivers,metadata}: update to 510.73.05
Update x11-drivers/nvidia-drivers to 510.73.05, mainly to address
CVE-2022-28181, CVE-2022-28183, CVE-2022-28184, CVE-2022-28185.
2022-05-19 11:31:06 +02:00
Flatcar Buildbot
64e54be113 sys-kernel: Upgrade Kernel 5.15.40 to 5.15.41 2022-05-19 07:23:49 +00:00
Dongsu Park
97195f9fec profiles: accept keywords ~arm64 for curl 7.83.1
To be able to build curl 7.83.1 for arm64, we need to accept keywords
for ~arm64.
2022-05-18 17:29:35 +02:00
Dongsu Park
72b8fe9c89 Merge pull request #1899 from flatcar-linux/dongsu/ncurses-6.3_p20220423
sys-libs/ncurses: update to 6.3_p20220423
2022-05-18 17:07:51 +02:00
Dongsu Park
fb60e123c7 Merge pull request #1898 from flatcar-linux/dongsu/openssl-3.0.3
dev-libs/openssl: update to 3.0.3
2022-05-18 15:28:46 +02:00
Dongsu Park
0ceca8b3be changelog: add security changelog for Docker 20.10.16 2022-05-18 14:59:58 +02:00
Dongsu Park
f02226d4dd changelog: add changelog for ncurses 2022-05-18 11:35:38 +02:00
Dongsu Park
53ff903403 sys-libs/ncurses: Apply Flatcar patches
Add a symlink-usr USE flag for keeping a minimal set of terminfo
files in /usr/share/terminfo.

Also allow writes to /dev/ptmx, which sometimes causes the sandbox
to fail Jenkins builds.

Based on 09951dc3db0f79294eb223a9154f372e24c1d99d.
2022-05-18 11:35:38 +02:00
Dongsu Park
7be073fa5c sys-libs/ncurses: update to 6.3_p20220423
Update sys-libs/ncurses to 6.3_p20220423, mainly to address
CVE-2022-29458.

Commit-Ref: https://github.com/gentoo/gentoo/commit/a59133147f7a
2022-05-18 11:35:30 +02:00
Dongsu Park
37f1ea2b37 changelog: add changelog for openssl 3.0.3 2022-05-18 11:10:42 +02:00
Flatcar Buildbot
46ee7963d2 app-emulation: Upgrade Docker 20.10.15 to 20.10.16 2022-05-18 07:45:34 +00:00
Krzesimir Nowak
df1f0b3e28 Merge pull request #1895 from flatcar-linux/linux-5.15.40-main
Upgrade Linux Kernel in main from 5.15.38 to 5.15.40
2022-05-17 17:41:00 +02:00
Mathieu Tortuyaux
4cad012bba dev-libs/openssl: Apply Flatcar modifications
- remove unecessary files
- drop `pkg_postint`
- create `/etc/ssl` with tmpfiles
- mark openssl as stable for arm64 and amd64

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-17 11:36:27 +02:00
Dongsu Park
b8a65b0959 dev-libs/openssl: update to 3.0.3
Update dev-libs/openssl to 3.0.3, mainly to address CVE-2022-1292,
CVE-2022-1473.

Commit-Ref: https://github.com/gentoo/gentoo/commit/296c0f547c51
2022-05-17 11:35:14 +02:00
Flatcar Buildbot
d2dcb42d13 dev-lang: Upgrade Go 1.17.9 to 1.17.10 2022-05-16 07:37:22 +00:00
Flatcar Buildbot
b6177ccbcf sys-kernel: Upgrade Kernel 5.15.38 to 5.15.40 2022-05-16 07:30:00 +00:00
Dongsu Park
b30eb994e1 Merge pull request #1879 from flatcar-linux/firmware-20220509-main
Upgrade Linux Firmware in main from 20220411 to 20220509
2022-05-13 15:53:23 +02:00
Krzesimir Nowak
c5d6280026 changelog: Add an entry 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
5efb559382 profiles: Do not install the e2fsprogs devel tools 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
35ac1a04a4 profiles: Drop accept_keywords for sys-libs/talloc
We updated to 2.3.3, which is stable for both amd64 and arm64. Also,
we have the new enough python version now.
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
86c1c65b84 coreos/config: Drop env overrides for dead package 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
4a13a5f869 sys-libs/ldb: Move to portage-stable
We have updated pythong and the related eclasses some time ago, so I
think this ebuild should be working fine now. Also, it needs updating,
because net-fs/samba started to require a newer version of it.
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
6133cc6d8a profiles: Drop accept_keywords for net-nds/openldap
The updated package became stable for both amd64 and arm64.
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
5de6530bbe coreos/config: Drop some env var overrides for net-nds/openldap 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
92e5b6774c profiles: Drop outdated unmasks 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
1e9c554554 profiles: Cleanup use flags for dev-vcs/git 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
56c7e98967 profiles: Cleanup use flags for app-emulation/qemu
Move them to targets/sdk as qemu is only built for SDK. Drop all the
enabled-by-default USE flags.
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
7295c3113d net-fs/samba: Apply Flatcar modifications
- Add a minimal USE flag for only installing libraries
  - Change the Perl run-time dep to build-time only
  - Disable building libraries requiring Python
  - Limit the size of bundled libraries
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
6a2d7bc673 net-fs/samba: Sync with Gentoo
It's from Gentoo commit d33672fa71f0223f90aca9d85d52d916f05de354.
2022-05-13 14:08:43 +02:00
Krzesimir Nowak
3c92acec07 profiles: Update app-emulation/qemu accept_keywords 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
ab6119aa8b sys-apps/dbus: Apply Flatcar modifications 2022-05-13 14:08:43 +02:00
Krzesimir Nowak
971bfb47ae sys-apps/dbus: Sync with Gentoo
It's from Gentoo commit 036bc045b998a68b4da32a023cc544e33e7080e1.
2022-05-13 14:08:43 +02:00
Dongsu Park
d8f726d0d7 sys-kernel/coreos-firmware: fix build issue with intel/ice/ddp/ice.pkg
Since linux-firmware 20220509, intel/ice/ddp/ice-1.3.26.0.pkg was
updated to ice-1.3.28.0.pkg. As a result the symlink ice.pkg needs to be
also updated so it points to the correct version of the file.
Create a variable for the ICE DDP version for better maintenance.
2022-05-13 11:30:51 +02:00
Dongsu Park
14761dc4da changelog: add security changelog for runc 1.1.2 2022-05-12 17:35:53 +02:00
Flatcar Buildbot
54b6479bb0 app-emulation: Upgrade Runc 1.1.1 to 1.1.2 2022-05-12 17:34:36 +02:00
Krzesimir Nowak
c7c189e7ae profiles: Work around the build-id collisions 2022-05-12 16:14:31 +02:00
Jeremi Piotrowski
d675d2f74a Merge pull request #1876 from flatcar-linux/jepio/remove-xen-pci-patch
sys-kernel/coreos-sources: remove Xen-PCI-revert patch
2022-05-12 14:06:47 +02:00
Flatcar Buildbot
d7d50d5444 sys-kernel: Upgrade Linux Firmware 20220411 to 20220509 2022-05-12 07:11:57 +00:00
Dongsu Park
961dd018a9 changelog: add changelog for Go 1.18.2 2022-05-11 14:34:02 +02:00
Dongsu Park
8a19d74c15 .github: remove unnecessary version Go 1.16
Go 1.16 was deprecated some time ago, so we do not need that in Github
Actions.
2022-05-11 14:34:02 +02:00
Dongsu Park
601cbca305 *: Use Go 1.18 instead of 1.17
Use Go 1.18 instead of 1.17 by default in all ebuilds.
Note, we still keep building app-emulation/docker{,-cli} with Go 1.17,
to be consistent with upstream Docker 20.10.x, which still builds with
Go 1.17. That should avoid potential unexpected regressions that
happened in the past.
2022-05-11 14:34:02 +02:00
Dongsu Park
2ef1472e32 dev-lang/go: add 1.18.2
Update the default version of dev-lang/go to 1.18.2.
Keep go1.17 as well to build docker{,-cli} with Go 1.17.
Use EAPI=7 for all versions.
See also https://go.dev/doc/go1.18.
2022-05-11 14:34:02 +02:00
Dongsu Park
7619b554b8 eclass: use ver_cut instead of get_version_component_range
We should update EAPI from 6 to 7, to deprecate old EAPIs in general.
To make it work with EAPI=7, replace get_version_component_range with
ver_cut, as get_version_component_range does not work any more with EAPI
7. As a result, the versionator eclass is not needed any more.
2022-05-11 14:34:02 +02:00
Dongsu Park
0bd7c888f2 Merge pull request #1877 from flatcar-linux/docker-20.10.15-main
Upgrade Docker in main from 20.10.14 to 20.10.15
2022-05-11 14:32:43 +02:00
Jeremi Piotrowski
a71094c33b sys-kernel/coreos-sources: remove Xen-PCI-revert patch
There was a kernel regression on Xen HVM with regard to MSI interrupts that
affected certain AWS instances (m4 and similar). We reverted the patch that
broke networking, but in the meantime upstream found the actual cause and
provided a proper fix which is part of 5.15.38. Remove the obsolete patch.

Link: https://lore.kernel.org/all/20220504153056.686401990@linuxfoundation.org/
2022-05-11 12:51:58 +02:00
Mathieu Tortuyaux
75f1725a0f Merge pull request #1874 from flatcar-linux/tormath1/bootengine
sys-kernel/bootengine: bump commit ID
2022-05-11 09:49:01 +02:00
Flatcar Buildbot
41c7dcd724 app-emulation: Upgrade Docker 20.10.14 to 20.10.15 2022-05-11 07:46:12 +00:00
Kai Lueke
96b90f616f coreos-base/coreos-init: Ensure /etc/flatcar/update.conf exists
This pulls in
https://github.com/flatcar-linux/init/pull/71
to create /etc/flatcar/update.conf if missing.
2022-05-11 15:23:05 +09:00
Krzesimir Nowak
0c52e4f3fd Merge pull request #1873 from flatcar-linux/linux-5.15.38-main
Upgrade Linux Kernel in main from 5.15.37 to 5.15.38
2022-05-10 15:52:10 +02:00
Mathieu Tortuyaux
0b3cbd519d changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-10 13:52:09 +02:00
Dongsu Park
4cc38f04c5 Merge pull request #1865 from flatcar-linux/dongsu/changelog-example
changelog: use a specific project name in the example
2022-05-10 11:25:18 +02:00
Jeremi Piotrowski
1c2e75e940 Merge pull request #1838 from flatcar-linux/jepio/cross-binutils-keywords
profiles: add keywords to cross-*/binutils as well
2022-05-10 09:55:09 +02:00
Mathieu Tortuyaux
2edfc016e9 sys-kernel/bootengine: bump commit ID
this pulls:
* https://github.com/flatcar-linux/bootengine/pull/45

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-05-10 09:32:37 +02:00
Flatcar Buildbot
d4f751a8b3 sys-kernel: Upgrade Kernel 5.15.37 to 5.15.38 2022-05-10 07:23:47 +00:00
Dongsu Park
eb0cf00c5e changelog: add changelog for torcx 2022-05-06 15:21:46 +02:00
Dongsu Park
431c87c98e app-arch/torcx: update golang.org/x/crypto
Update golang.org/x/crypto to v0.0.0-20220314234659-1baeb1ce4c0b mainly
to address CVE-2022-27191.

Pulls in https://github.com/flatcar-linux/torcx/pull/12 .
2022-05-06 15:21:46 +02:00
Dongsu Park
d18978d5e6 Merge pull request #1864 from flatcar-linux/containerd-1.6.4-main
Upgrade Containerd in main from 1.6.3 to 1.6.4
2022-05-06 15:19:29 +02:00
Dongsu Park
6bd35179ce changelog: use a specific project name in the example
To be able to distinguish changelog entries from each other, we should
write a specific project name, e.g. coreos-overlay, instead of `PR`.
Changelog entries with a simple `PR` usually cause so much additional
rework when doing actual releases.
2022-05-06 12:19:02 +02:00
Dongsu Park
89db3c0785 Merge pull request #1861 from flatcar-linux/dongsu/rsync-3.2.4
profiles: accept keywords for net-misc/rsync
2022-05-06 10:59:58 +02:00
Dongsu Park
4cff4fb85e Merge pull request #1860 from flatcar-linux/dongsu/git-2.35.3
profiles: accept keywords for git 2.35.3
2022-05-06 10:57:22 +02:00
Flatcar Buildbot
bed28648f6 app-emulation: Upgrade Containerd 1.6.3 to 1.6.4 2022-05-06 08:29:08 +00:00
Dongsu Park
6159fa199b profiles: accept keywords for git 2.35.3
We need to build 2.35.3 to address CVE-2022-24765.
2022-05-06 08:27:25 +02:00
Dongsu Park
164bdd524b profiles: accept keywords for net-misc/rsync
We need to allow net-misc/rsync 3.2.4-r1, to address security issues
in its bundled zlib.
2022-05-05 17:17:55 +02:00
Kai Lueke
26432fe63c .github: add cacerts/kernel actions for current LTS
The GitHub Actions were defined for the LTS stream directly but we can
now follow the approach used for the other channels. This means that
in the future we could decide to create new Actions for 2022 by copying
the current one and modifying it when 2023 gets the new current LTS -
anyway some manual work would be required to set up Actions for both
old and new at the same time (we have no "previous" symlink on Origin).
We could retire the old LTS Actions immediately because the releases
don't occur on a fixed schedule but I think the automation is nice to
keep.
2022-05-04 14:24:37 +09:00
Dongsu Park
48f7788853 Merge pull request #1857 from flatcar-linux/linux-5.15.37-main
Upgrade Linux Kernel in main from 5.15.35 to 5.15.37
2022-05-03 16:44:55 +02:00
Dongsu Park
24f5e0f1a4 Merge pull request #1858 from flatcar-linux/cacerts-3.78-main
Upgrade ca-certificates in main from 3.77 to 3.78
2022-05-02 19:19:20 +02:00
Flatcar Buildbot
2c01f8e685 app-misc: Upgrade ca-certificates 3.77 to 3.78 2022-05-02 07:24:12 +00:00
Flatcar Buildbot
fde16102ed sys-kernel: Upgrade Kernel 5.15.35 to 5.15.37 2022-05-02 07:24:00 +00:00
Flatcar Buildbot
59b3d4bacc app-emulation: Upgrade Containerd 1.6.2 to 1.6.3 2022-04-29 08:30:47 +00:00
Mathieu Tortuyaux
909f276006 Merge pull request #1842 from flatcar-linux/tormath1/ignition
sys-apps/ignition: use upstream
2022-04-27 10:08:54 +02:00
Mathieu Tortuyaux
208574039c sys-apps/ignition: use upstream
use upstream ignition (coreos/ignition) and apply our patches on top of
it.

It's currently done in the same way with coreos/afterburn.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-26 15:27:23 +02:00
Kai Lueke
8ee228d5ce Move mantle's dnsmasq dependency to the SDK dependencies
The removal of the mantle ebuild file also meant that dnsmasq isn't
installed into the SDK anymore, yet we actually need it to run kola
QEMU tests in the SDK on the original CI pipeline. As long as the
original CI pipeline is kept, we have to keep kola's dependencies
like QEMU and dnsmasq around.
2022-04-26 15:09:13 +09:00
Jeremi Piotrowski
c5e7ff8c9e Add missing pahole dependencies
pahole is a build-time dependency of our kernel build, due to us setting
CONFIG_BTF_DEBUG_INFO. If pahole is missing, a `make modules_prepare` with our
kernel config results in symbols in the config changing. This will affect
people building kernel modules against coreos-sources in the developer
container, but not the SDK because pahole is already in sdk-depends.

pahole is now an (explicit) BDEPEND of all the coreos-kernel/coreos-modules
packages, and we'll make it an RDEPEND of coreos-sources so that it is pulled
in whenever it might be necessary.  Also add it to the coreos-dev package so
that it is included in developer container by default, uncompressed size
increase is <1MB.
2022-04-25 14:28:02 +02:00
Jeremi Piotrowski
76c3130791 x11-drivers/nvidia-drivers: add more device node creation
This is the fallback path that nvidia publishes for verifying device node
creation was successful. It now handles multiple gpus and creating the
nvidia-uvm node, with a dynamic major.

The weird thing is that nvidia-smi and nvidia-modprobe also create some device
nodes and files under /dev, but this does not appear to be well documented. So
keep the static creation.
2022-04-25 14:24:22 +02:00
Jeremi Piotrowski
a6c4454b36 x11-drivers/nvidia-drivers: rework install paths of files to match OS
This involves putting libraries under /usr/lib64 and kernel modules under
/usr/lib/module. This is an experiment at making the nvidia installation work
as a sysext as well, but there are still some issues around that. The major
issue was that `systemd-sysext refresh` would remove the OEM symlink and I
don't feel comfortable with `systemctl restart systemd-sysext` from within
another unit.

If anyone wants to try it, it's now a matter of:

  ln -s /opt/nvidia/current /run/extensions/nvidia-driver

Bonus points for moving nvidia binaries from /opt/bin to
/opt/nvidia/current/usr/bin.
2022-04-25 14:00:09 +02:00
Jeremi Piotrowski
08b86ad7dd x11-drivers/nvidia-drivers: keep developer container image read-only
Since we no longer need to run emerge in the developer container, we can as
well just treat the developer container more like a container image and use an
ephemeral overlay.
2022-04-25 13:54:51 +02:00
Jeremi Piotrowski
d01ecae74c x11-drivers/nvidia-drivers: make service re-entrant
Currently the setup-nvidia script fails when re-executed. It should work in
cases when the driver is already built and just needs to be loaded, or when it
needs to be rebuilt for a new kernel (but driver version may not have changed).

To make this work, several changes where necessary:

* `./nvidia*.run -x -s` fails when already unpacked. Allow it so that we can
  rebuild
* there are several module dependencies for nvidia modules that are implicit,
  related to i2c/ipmi. Probe those explicitly.
* `[ -f /dev/nvidia* ]` fails because those are character devices, so need a
  `[ -c ...]` check.
* `nvidia-modprobe` previously always failed, because it doesn't actually know
  the location of the modules and can only call modprobe (modprobe looks into
  /lib/modules/). We now explicitly probe the important modules, at that point
  nvidia-modprobe just creates additional device nodes.
* `is_nvidia_installation_required` checks whether building and loading is needed.
  Factor out the loading check so that we can reload the module after an update.
2022-04-25 12:35:29 +02:00
Jeremi Piotrowski
67bf5476c3 x11-drivers/nvidia-drivers: use versioned developer container filenames
Currently the script will reuse a developer container that was downloaded once,
without ensuring that the same version is used as the running image. This works
on the first boot, but wouldn't be correct after an OS update.

To resolve this, add a version number to the downloaded filename, and check for
the versioned dev container file. When the file is missing we also cleanup all
other dev container files via glob remove.
2022-04-25 10:34:43 +02:00
Jeremi Piotrowski
a4ac14c66c x11-drivers/nvidia-drivers: use lbzip2 to speed up developer container decompression 2022-04-25 10:26:36 +02:00
Jeremi Piotrowski
d6ea20ddd6 x11-drivers/nvidia-drivers: allow user to override nvidia-metadata
...by providing /etc/flatcar/nvidia-metadata. Newer driver packages do not
support some older Nvidia cards. An example is the Tesla K80 cards in
Standard_NC6 VMs on Azure, which are only supported up to the 470.x driver
version. To allow users to continue using those, give them a way to override
the driver version through /etc/flatcar/nvidia-metadata. For example, this
entry could be used to pin a specific driver version:

NVIDIA_DRIVER_VERSION=470.103.01
2022-04-25 10:22:45 +02:00
Jeremi Piotrowski
85f7b86c00 x11-drivers/nvidia-drivers: build driver against /lib/modules
There are two ways to build the nvidia-driver - either against a full kernel
source tree in /usr/src/linux, or against a slim kernel-devel equivalent in
/lib/modules/*/build. The /lib/modules/*/build is provided by
sys-kernel/coreos-module, see `install_build_source`. The interesting thing is
that in absence of --kernel-source-path, nvidia-installer will autodetect which
to use and already builds against /lib/modules/*/build on Flatcar right now. By
passing --kernel-name, we make that choice explicit and this allows us to skip
the emerge steps of the build.

Since this runs in the developer container, there is also no point in trying to
execute systemctl or depmod, so pass the flags to disable usage of those.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-04-25 09:53:24 +02:00
Kai Lüke
b9f2da8566 Merge pull request #1820 from flatcar-linux/kai/sysext-oem-partition
coreos-base/coreos-init: add systemd-sysext.service for OEM mount
2022-04-25 13:12:45 +09:00
Kai Lueke
a2c5b52dec coreos-base/coreos-init: add systemd-sysext.service for OEM mount
This pulls in https://github.com/flatcar-linux/init/pull/69
to restore the OEM partition mount point after the /usr overlay is
done.
2022-04-25 13:10:51 +09:00
Jeremi Piotrowski
f45b654daf Merge pull request #1837 from flatcar-linux/jepio/portage-fix-patches
sys-apps/portage: refresh patches and ensure they are applied
2022-04-22 09:15:14 +02:00
Jeremi Piotrowski
bd05d92a27 sys-apps/portage: bump revision to allow package to be automatically updated 2022-04-22 09:14:25 +02:00
Jeremi Piotrowski
b6a68c8ee7 Merge pull request #1836 from flatcar-linux/linux-5.15.35-main
Upgrade Linux Kernel in main from 5.15.34 to 5.15.35
2022-04-21 17:20:52 +02:00
Jeremi Piotrowski
cea47bb606 sys-kernel/coreos-sources: drop vmbus patch that is included in 5.15.35
Patch z0007 has been released in 5.15.35 as this commit:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.15.y&id=92a3499933c17b25b7c59658183bc7d23a581f5b
2022-04-21 13:37:15 +02:00
Kai Lüke
425837d4f0 Merge pull request #1827 from flatcar-linux/kai/drop-kola-from-sdk
Drop mantle and kola-data from the SDK
2022-04-21 17:20:55 +09:00
Kai Lueke
87a18b79b3 Drop mantle and kola-data from the SDK
With the new mantle container image referenced by the scripts repo we
don't need the mantle copy in the SDK anymore.
Drop the mantle package and the unused kola-data package.
2022-04-21 17:14:38 +09:00
Jeremi Piotrowski
ab6ac4d0fd sys-apps/portage: refresh patches and ensure they are applied
Found this while checking why I was still seeing lots of

  !!! Section 'gentoo' in repos.conf is missing location attribute

messages while building. Turns out that after the last sync of portage we
stopped applying patches from files/. This was caused by a local variable
definition of PATCHES that was overriding the global one.

This might be a sign to drop them or we can refresh them, as they do fix bugs
that have been hit in CoreOS in the past. I opted to refresh them, and inject
them into the local variable.
2022-04-21 10:07:19 +02:00
Flatcar Buildbot
e840dc7367 sys-kernel: Upgrade Kernel 5.15.34 to 5.15.35 2022-04-21 07:22:37 +00:00
Jeremi Piotrowski
1a5796ea4f profiles: add keywords to cross-*/binutils as well
Crossdev currently uses binutils 2.36 (stable), while the SDK and sysroot both
build binutils 2.37 due to keywording. Kernel modules built within the
developer container fail to load due to relocation errors. Add the same
keywords to cross-*/binutils packages so that the versions match.
2022-04-21 09:03:25 +02:00
Jeremi Piotrowski
b60542c997 coreos-base/coreos-init: add gve driver to existing gcp network link rules
Pulls in https://github.com/flatcar-linux/init/pull/67
2022-04-20 13:13:00 +02:00
Jeremi Piotrowski
c2ff0100ad sys-kernel/coreos-modules: enable GVE NIC support for GCP
If a GCP image is tagged with GVNIC support, GCP will replace the default
virtio nic with the more optimized GVE NIC. Enable building the kernel module
for that.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-04-20 13:13:00 +02:00
Jeremi Piotrowski
9951fc5781 Merge pull request #1813 from flatcar-linux/jepio/fix-gcp-oem
Fix GCP OEM functionality
2022-04-20 12:16:00 +02:00
Jeremi Piotrowski
5b34732d2c changelog: add entry for GCP OEM bugfix/upate 2022-04-20 12:14:38 +02:00
Dongsu Park
738af036e5 changelog: add changelog for Go 1.17.9 2022-04-14 17:08:58 +02:00
Dongsu Park
24b1c088c9 Merge pull request #1818 from flatcar-linux/go-1.16.15-and-1.17.9-and-1.18.1-main
Upgrade Go from 1.17.8 to 1.17.9
2022-04-14 17:06:26 +02:00
Dongsu Park
651164c839 Merge pull request #1816 from flatcar-linux/dongsu/libarchive-3.6.1
profiles: accept keywords ~arm64 for app-arch/libarchive 3.6.1
2022-04-14 17:01:10 +02:00
Krzesimir Nowak
4c115bcd25 Merge pull request #1821 from flatcar-linux/firmware-20220411-main
Upgrade Linux Firmware in main from 20220310 to 20220411
2022-04-14 12:56:14 +02:00
Krzesimir Nowak
5493bd6b23 Merge pull request #1825 from flatcar-linux/linux-5.15.34-main
Upgrade Linux Kernel in main from 5.15.33 to 5.15.34
2022-04-14 12:55:45 +02:00
Kai Lüke
6d623e5f14 Merge pull request #1817 from flatcar-linux/kai/afterburn-hostname
sys-kernel/bootengine: rework afterburn hostname setup
2022-04-14 17:50:44 +09:00
Kai Lueke
487d57c175 sys-kernel/bootengine: rework afterburn hostname setup
This pulls in https://github.com/flatcar-linux/bootengine/pull/43
to remove the afterburn /etc/hostname setup for EC2 and align the
afterburn /etc/hostname setup with upstream.
2022-04-14 17:30:44 +09:00
Flatcar Buildbot
65addced73 sys-kernel: Upgrade Kernel 5.15.33 to 5.15.34 2022-04-14 09:34:25 +02:00
Flatcar Buildbot
330277e486 sys-kernel: Upgrade Linux Firmware 20220310 to 20220411 2022-04-14 07:11:22 +00:00
Kai Lüke
b62996069f Merge pull request #1812 from flatcar-linux/kai/skip-ensure-sysext
coreos-base/coreos-init: skip ensure-sysext unit
2022-04-13 20:43:17 +09:00
Kai Lueke
aab279e546 sys-apps/systemd: add update checklist file for other repos
The "init" repo has a systemd unit with lines that should be kept in
sync with upstream. Normally changes are not expected but in case there
are some, it may be good to be aware.
2022-04-13 20:42:45 +09:00
Kai Lueke
b72f6270ae coreos-base/coreos-init: skip ensure-sysext unit
This pulls in https://github.com/flatcar-linux/init/pull/68 to skip
the ensure-sysext unit when systemd-sysext is skipped to prevent a
dependency failure being reported.

Closes: https://github.com/flatcar-linux/Flatcar/issues/710
2022-04-13 20:42:45 +09:00
Krzesimir Nowak
004eb51116 Merge pull request #1806 from flatcar-linux/linux-5.15.33-main
Upgrade Linux Kernel in main from 5.15.32 to 5.15.33
2022-04-13 13:14:04 +02:00
Flatcar Buildbot
1b0798a8cf dev-lang: Upgrade Go 1.17.8 to 1.17.9 2022-04-13 08:49:29 +00:00
Dongsu Park
3f9e8fe33d profiles: accept keywords ~arm64 for app-arch/libarchive 3.6.1
Accept keywords ~arm64 for app-arch/libarchive 3.6.1.
2022-04-13 10:24:47 +02:00
Jeremi Piotrowski
8127e67ec7 coreos-base/oem-gce: allow container to mess with /sys and /proc/irq
The container performs multi-queue optimizations for ssd and network devices
which requires touching /proc and /sys/ mounts which systemd-nspawn usually
mounts readonly. Allow the container to modify those by setting the appropriate
environment variable (found via https://systemd.io/ENVIRONMENT/).
2022-04-12 15:38:23 +02:00
Jeremi Piotrowski
2a3c23cd62 app-emulation/google-compute-engine: update to 20190124
and add missing dependencies on dev-python/distro and sys-apps/coreutils. We
need to bump the version to 20190124 because:

* 20180611 is not compatible with python 3.9 because of missing distro module and
  trying to access os.errno (instead of importing the errno module). Also why we
  need the dependency on dev-python/distro

* 20190124 is the last version before the repo was split and reorganized which
  would require more work to the ebuilds

The coreutils dependency is necessary because the scripts call basename/nproc/cat
but previously coreutils was pulled in by the following dependency chain:

(dependency required by "app-admin/eselect-1.4.16::portage-stable" [binary])
(dependency required by "app-eselect/eselect-python-20160516::portage-stable" [binary])
(dependency required by "dev-lang/python-2.7.15::portage-stable" [binary])
(dependency required by "dev-python/boto-2.48.0::portage-stable" [binary])
(dependency required by "app-emulation/google-compute-engine-20180611::coreos" [binary])
(dependency required by "coreos-base/coreos-oem-gce-0.0.1-r5::coreos" [binary])
(dependency required by "coreos-base/coreos-oem-gce" [argument])

This chain seems to not hold any longer and we should be explicit about
dependencies.
2022-04-12 15:34:32 +02:00
Jeremi Piotrowski
5a5e01afff profiles/.../oem-aci: allow python3 in oem-aci images
The oem-aci profile previously removed python3 from the produced oem
images by having an entry saying dev-lang/python-3.X is provided and
removing all python3 files. This only worked as long as python2 was
available and installed instead, but since python2 was removed from the
tree these entries in the profile resulted in oem-aci having no python
at all. This prevents the oem-gce service from working, since a lot of
what it does is python.

Remove the INSTALL_MASK and package.provided entries for python3 to
allow python3 into oem-aci images.
2022-04-12 15:32:57 +02:00
Flatcar Buildbot
cadfeeaa21 dev-lang: Upgrade dev-lang/rust 1.59.0 to 1.60.0 2022-04-11 08:32:12 +00:00
Flatcar Buildbot
d036d79ec9 sys-kernel: Upgrade Kernel 5.15.32 to 5.15.33 2022-04-09 07:22:27 +00:00
Mathieu Tortuyaux
8d414910a4 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 15:28:07 +02:00
Mathieu Tortuyaux
78aaf24880 sys-kernel/coreos-modules: build RAPL module
This enables support for the Intel Running Average Power Limit (RAPL)
technology via MSR interface, which allows power limits to be enforced
and monitored on modern Intel processors.

It can be useful for energy consumption monitoring tools.

src: https://github.com/torvalds/linux/blob/master/drivers/powercap/Kconfig

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 15:27:46 +02:00
Mathieu Tortuyaux
3dcf25a213 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 11:22:44 +02:00
Mathieu Tortuyaux
fc0098caf4 coreos-base/afterburn: apply flatcar changes
* partially revert cl-legacy feature (without update-ssh-keys dependency)
  to bring back `vagrant_virtualbox` provider and ec2, gce
  cmdline support
* backport kernel parameters patch
* backport systemd-networkd-wait-online patch
* add Alias= to services
* sed AFTERBURN -> COREOS, AWS -> EC2, GCP -> GCE
* use update-ssh-keys to generate .ssh/authorized_keys

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 11:22:41 +02:00
Mathieu Tortuyaux
60441ac4ea coreos-base/afterburn: sync with the upstream
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-06 16:58:15 +02:00
Krzesimir Nowak
80a6408ba5 Merge pull request #1178 from flatcar-linux/krnowak/update-go
Update golang update job to update multiple golang versions
2022-04-06 16:21:47 +02:00
Flatcar Buildbot
5a78721f2c app-emulation: Upgrade Runc 1.1.0 to 1.1.1 2022-04-05 12:49:16 +02:00
Kai Lüke
fbcc7639e8 Merge pull request #1794 from flatcar-linux/kai/update-ssh-keys-after-ignition
coreos-base/coreos-init: run update-ssh-keys once after Ignition
2022-04-04 20:35:25 +02:00
Kai Lueke
5bc2d57025 coreos-base/coreos-init: run update-ssh-keys once after Ignition
This pulls in
https://github.com/flatcar-linux/init/pull/66
to fix the problem that Ignition keys would be lost as soon as
update-ssh-keys runs. This is done by placing Ignition's keys in as
files in the authorized_keys.d folder and calling update-ssh-keys after
Ignition ran.
2022-04-04 20:35:07 +02:00
Krzesimir Nowak
f0240c5530 Merge pull request #1799 from flatcar-linux/cacerts-3.77-main
Upgrade ca-certificates in main from 3.76 to 3.77
2022-04-04 17:56:08 +02:00
Krzesimir Nowak
809e511e67 Merge pull request #1783 from flatcar-linux/krnowak/pkg-updates-2020
Profile cleanups for package updates, 2020 edition
2022-04-04 17:31:13 +02:00
Flatcar Buildbot
da81edf384 app-misc: Upgrade ca-certificates 3.76 to 3.77 2022-04-04 07:23:34 +00:00
Krzesimir Nowak
69ef222c6f .github: Update multiple golang versions
Usually last two versions are supported, so make sure we keep them
both updated, not only just the latest. But try to also update the
newest unsupported version in case there was a window where the update
happened and then new major version was released.
2022-04-01 22:25:06 +02:00
Krzesimir Nowak
5daf5eb1ca .github: Allow specifying a start number for generated patches
When an action generates a couple of patches separately, then it might
be a good idea to specify a numbering, so applying the patches is done
in the desired order. Without that, all the generated patches would
start with "0001-" prefix.
2022-04-01 22:15:59 +02:00
Krzesimir Nowak
caf091343a dev-lang/go: Drop the patch for go 1.12
The patch dropped some security changes related to URL parsing in
go-1.12 to avoid breaking rkt. Since rkt is gone, the patch could be
dropped too.
2022-04-01 21:21:35 +02:00
Flatcar Buildbot
002ea4c50e Update mantle commit to latest HEAD 2022-04-01 14:28:37 +00:00
Dongsu Park
3b9a531252 Merge pull request #1793 from flatcar-linux/dongsu/open-vmdk-remove-patch
app-emulation/open-vmdk: remove Flatcar patch for builds with gcc 10
2022-04-01 16:28:13 +02:00
Flatcar Buildbot
633fa3f7e3 app-emulation: Upgrade Docker 20.10.13 to 20.10.14 2022-04-01 09:17:21 +02:00
Dongsu Park
7ea2183789 Merge pull request #1758 from flatcar-linux/containerd-1.6.2-main
Upgrade Containerd in main from 1.6.1 to 1.6.2
2022-04-01 09:11:22 +02:00
Dongsu Park
b5be30abe4 changelog/security: add changelog for containerd 1.6.2 2022-04-01 09:08:41 +02:00
Dongsu Park
588457c6a7 app-emulation/open-vmdk: remove Flatcar patch for builds with gcc 10
Now that the PR https://github.com/vmware/open-vmdk/pull/13 was merged,
we do not have to keep the Flatcar patch for fixing build issues with
gcc 10. Remove the patch.
2022-04-01 08:45:20 +02:00
Sayan Chowdhury
1e84a29c4a Merge pull request #1782 from flatcar-linux/sayan/update-zlib-1.2.12
sys-libs/zlib: Add arches to package.accept_keywords
2022-04-01 08:08:31 +05:30
Krzesimir Nowak
2d6ebc7478 coreos/config: Workaround flaky checks in net-dns/bind-tools
The reasoning is written in the config file. But at the same time drop
the outdated stuff - there is no such flag like --without-ecdsa any
more.
2022-03-31 16:06:58 +02:00
Dongsu Park
dd612f8059 changelog: add changelog for mdadm 4.2 2022-03-31 12:22:59 +02:00
Aniruddha Basak
667fb34b8a mdadm: migrate cron.weekly to systemd.timer (#1244)
Add mdadm timer and service files and remove the unused weekly cron
2022-03-31 12:22:59 +02:00
Dongsu Park
465aad46fe sys-fs/mdadm: update keywords amd64 and arm64 for mdadm 4.2-r1
Update keywords for amd64 and arm64 to be able to build mdadm 4.2-r1.
Update description in README as well.
2022-03-31 12:22:48 +02:00
Dongsu Park
7f7061c829 sys-fs/mdadm: update to 4.2-r1
Update sys-fs/mdadm to 4.2-r1, mainly to remove unnecessary third-party
Flatcar patches that are already included in the latest release 4.2.
2022-03-31 12:14:44 +02:00
Krzesimir Nowak
1dc58fe441 Merge pull request #1761 from flatcar-linux/krnowak/move-rust
Import virtual/rust to from portage-stable and update the rust workflow
2022-03-31 11:28:24 +02:00
Sayan Chowdhury
e8f1e16677 sys-libs/zlib: Add arches to package.accept_keywords
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-03-31 10:43:27 +05:30
Krzesimir Nowak
9eba5de9ae profiles: Disable smi, ssl and samba in net-analyzer/tcpdump
They became enabled by default after an update. We didn't need them
before, we don't need them now. Also, enabling smi pulls in
net-libs/libsmi that does not have a keyword for arm64 even.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
bc7bfe7d01 profiles: Disable pcre16 in dev-libs/libpcre2
It became enabled by default after an update, so revert that change in
our profiles. It was enabled upstream, because it was needed by
dev-qt/qtcore, which we don't have.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
edcdfb51ea profiles: Drop net-libs/libnetfilter_conntrack from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
84673e50f0 profiles: Drop outdated use flag for net-dns/bind-tools 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
fb869eb7a3 profiles: Drop sys-fs/multipath-tools from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
86cb489943 profiles: Drop outdated use flag for net-analyzer/tcpdump 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
770e86a737 profiles: Update accept_keywords for net-firewall/conntrack-tools 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
8b22921049 profiles: Drop net-libs/libnetfilter_queue from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
23e9e04eeb profiles: Drop dev-libs/elfutils from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
54180d667b Merge pull request #1724 from flatcar-linux/krnowak/drop-intltool
coreos-base/hard-host-depends: Stop pulling in intltool
2022-03-30 18:50:21 +02:00
Krzesimir Nowak
17936f64ed .github: Fix base branch of the work branch
We want to base the work branch (like rust-1.59-main) on top of the
base branch from our remote, not from remote that came with SDK. This
will make the work branch creation fork-friendly.
2022-03-30 18:44:02 +02:00
Krzesimir Nowak
482651582d .github: Checkout our base branch in SDK coreos-overlay too 2022-03-30 18:07:06 +02:00
Dongsu Park
74dd64cce9 Merge pull request #1775 from flatcar-linux/dongsu/gnutls-3.7.3
profiles: delete keywords for gnutls
2022-03-30 15:53:45 +02:00
Jeremi Piotrowski
163effa73b Merge pull request #1777 from flatcar-linux/jepio/coreos-sources-hyperv-backport
coreos-sources: backport hyperv coherence fixes
2022-03-30 15:29:52 +02:00
Jeremi Piotrowski
f49c0cfe73 Merge pull request #1765 from flatcar-linux/linux-5.15.32-main
Upgrade Linux Kernel in main from 5.15.31 to 5.15.32
2022-03-30 15:29:20 +02:00
Jeremi Piotrowski
e498f55aaf sys-kernel/coreos-sources: backport kernel patches that fix memory coherence on Hyper-V
This is v3 of the patchset from here:
https://lore.kernel.org/lkml/1648138492-2191-1-git-send-email-mikelley@microsoft.com/T/#u

There was a slight merge conflict because hv_map_memory/hv_unmap_memory don't
exist in 5.15.
2022-03-30 13:13:11 +02:00
Dongsu Park
1aa0a5b4a7 profiles: delete keywords for gnutls
As we update gnutls to 3.7.3-r1 which is already stable, there is
no need to accept keywords for gnutls. Delete.
2022-03-30 10:20:37 +02:00
Flatcar Buildbot
9847794b4f sys-kernel: Upgrade Kernel 5.15.31 to 5.15.32 2022-03-30 08:24:53 +02:00
Flatcar Buildbot
35ecf3f62c Update mantle commit to latest HEAD 2022-03-30 05:42:24 +00:00
Jeremi Piotrowski
cb4c868253 Merge pull request #1768 from flatcar-linux/jepio/mantle-update-action
github/workflows: add mantle update action
2022-03-30 07:42:07 +02:00
Jeremi Piotrowski
f33072ddfb github/workflows: add mantle update action
This action runs over main and the release branches and creates a PR that
updates mantle reference to the latest one. By using a fixed branch name,
rerunning the action will update/close an existing PR if new mantle commits
happen or if the PR becomes obsolete.
2022-03-29 15:59:12 +02:00
Mathieu Tortuyaux
0cbc562928 Merge pull request #1767 from flatcar-linux/tormath1/unconfined
sec-policy/selinux-unconfined: move to ::portage-stable
2022-03-29 15:55:39 +02:00
Krzesimir Nowak
3f07ae6f09 Merge pull request #1708 from flatcar-linux/krnowak/pkg-updates-2019
Profile cleanups for updated packages from 2019
2022-03-29 15:45:09 +02:00
Krzesimir Nowak
44c82bb8c5 coreos-base/hard-host-depends: Stop pulling in intltool
The tool is deprecated, nothing pulls that in any more and it has a
dependency on dev-perl/XML-Parser, an updated version of which would
want to pull a bunch of new packages through dev-perl/libwww-perl.
Avoid the hassle and drop the tool.
2022-03-29 13:21:53 +02:00
Krzesimir Nowak
11917036f8 coreos-base/hard-host-depends: Sort the deps
Otherwise no changes done here.
2022-03-29 13:15:59 +02:00
Krzesimir Nowak
2ed433c6cc sys-auth/realmd: Add new patches, update deps
Realmd didn't have dev-util/intltool listed as a dependency, but it
actually required it during build. Apply a patch from upstream that
converts the project from intltool to gettext in order to get rid of
the dependency on the obsolete tool. To apply the patch without
conflicts, apply also another patch from upstream that modernizes the
configure.ac file.

We also disable the i18n through the --disable-nls flag. The disabling
is not complete though, so we still need to point gettext to the ITS
rules we have installed in ROOT.
2022-03-29 13:14:27 +02:00
Mathieu Tortuyaux
65107a9d0f sec-policy/selinux-unconfined: move to ::portage-stable
There is no Flatcar patches for this package.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-29 10:11:23 +02:00
Krzesimir Nowak
167c1e5ebf Merge pull request #1756 from flatcar-linux/linux-5.15.31-main
Upgrade Linux Kernel in main from 5.15.30 to 5.15.31
2022-03-24 19:34:55 +01:00
Mathieu Tortuyaux
743f7c470f changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-03-24 17:00:10 +01:00