Commit Graph

8740 Commits

Author SHA1 Message Date
Krzesimir Nowak
830d3e424a profiles: Drop redundant package.use.force for net-misc/wget
It already is a part of the base profile in portage-stable.
2022-10-20 15:20:36 +02:00
Krzesimir Nowak
eea6bf76b1 profiles: Drop accept_keywords for net-misc/wget
The updated package is stable for both amd64 and arm64.
2022-10-20 15:20:36 +02:00
Krzesimir Nowak
1d9b15ea3e profiles: Drop obsolete USE flag for net-misc/iputils
The net-misc/iputils package stopped providing traceroute. We are
pulling in a different package instead.
2022-10-20 15:20:36 +02:00
Krzesimir Nowak
d87266cbf0 coreos-base/coreos{,-dev}: Add net-analyzer/traceroute
These packages are pulling in iputils, that used to provide the
traceroute utility. The updated iputils package stopped doing that
altogether, recommending to install net-analyzer/traceroute or
net-analyzer/mtr instead. We are going with the former here.
2022-10-20 15:19:20 +02:00
Krzesimir Nowak
9d5fc0ff03 Merge pull request #2243 from flatcar/krnowak/curl-update
profiles: Accept keywords for curl 7.85
2022-10-20 15:00:53 +02:00
Krzesimir Nowak
7499c24a52 changelog: Add entries 2022-10-20 14:34:18 +02:00
Sayan Chowdhury
1296ae7ef6 Merge pull request #2244 from flatcar/sayan/update-wireguard-tools-1.0.20210914
net-vpn/wireguard-tools: Move to portage-stable
2022-10-20 15:32:36 +05:30
Krzesimir Nowak
e4bda5bbf3 Merge pull request #2242 from flatcar/docker-20.10.20-main
Upgrade Docker in main from 20.10.18 to 20.10.20
2022-10-19 18:53:00 +02:00
Krzesimir Nowak
0f99e5dcf6 Merge pull request #2241 from flatcar/krnowak/weekly
Profile changes for the weekly updates
2022-10-19 18:12:03 +02:00
Krzesimir Nowak
092ae3d567 github: Use recommended way of setting output 2022-10-19 18:06:31 +02:00
Krzesimir Nowak
76cdd99843 github: Bump action versions
This updates checkout and create-pull-request action versions to v3
and v4, respectively, to avoid warnings about deprecated node 12.
2022-10-19 18:04:32 +02:00
Krzesimir Nowak
6f1a2a0cab Merge pull request #2221 from flatcar/krnowak/deduplicate-workflows
github: Deduplicate kernel and ca-certificates workflows
2022-10-19 18:02:32 +02:00
Krzesimir Nowak
3ce9099727 profiles: Remove obsolete USE flag of net-misc/curl
Also drop the comment, it was related to the media-libs/mesa package
that was dropped over 9 years ago in commit
de91081f00a4ab07332759b1bbfc3072d530c9fd.
2022-10-19 10:08:25 +02:00
Krzesimir Nowak
eb2d5da242 profiles: Add accept keywords for net-misc/curl 2022-10-19 10:08:07 +02:00
Flatcar Buildbot
7d7ff9c223 app-emulation: Upgrade Docker 20.10.18 to 20.10.20 2022-10-19 08:07:25 +00:00
Krzesimir Nowak
40e0917023 profiles: Add accept keywords for sys-libs/zlib 2022-10-19 08:51:13 +02:00
jenkins
cee408b4a6 coreos: add qemu-guest-agent to images
Qemu-guest-agent gets activated using a udev rule, and so will only run
when the correct virtio-port name is detected. Qemu-guest-agent is used
across several oems so we include it in the usr partition.
2022-10-18 17:01:44 +00:00
Krzesimir Nowak
9ea66f917a profiles: Drop accept keywords for dev-vcs/git
The updated package became stable on both amd64 and arm64.
2022-10-18 18:18:33 +02:00
Krzesimir Nowak
e7863f5ab1 profiles: Add accept keywords for dev-util/cmake 2022-10-18 18:13:43 +02:00
Krzesimir Nowak
d8f81f4442 profiles: Add accept keywords for dev-libs/libxml2 2022-10-18 18:07:24 +02:00
Krzesimir Nowak
9f7bb31f84 Merge pull request #2228 from flatcar/linux-5.15.74-main
Upgrade Linux Kernel in main from 5.15.73 to 5.15.74
2022-10-18 16:16:58 +02:00
Jeremi Piotrowski
99ff470847 sys-kernel/coreos-modules: make wireguard a module
The wireguard module has some crypto dependencies, we benefit from making them
all modules so that they don't increase the arm64 kernel size.
2022-10-18 13:12:56 +02:00
Jeremi Piotrowski
d3d07fc959 sys-kernel/coreos-modules: disable arm64 board specific kconfig settings
Disable ARCH_QCOM, ARCH_ZYNQMP, ARCH_MEDIATEK which enable other options that
are only relevant on the respective boards, none of which are supported targets
for Flatcar. Since the arm64 kernel does not support compression, these
settings have a significant impact on kernel size. The boot partition size is
only 128MB and needs to fit 2 kernels, so we have set ourselves a target of
60MB per kernel. This commit brings down the arm64 kernel size by 3MB.

At the same time, enable the settings that are actually relevant: ARCH_BCM,
because that one is relevant for Raspberry Pi 4 that runs Linux.
2022-10-18 13:12:01 +02:00
Krzesimir Nowak
053fe006d3 .github: Simplify kernel patch script
No point in setting UPDATE_NEEDED to zero if we exit the script
without doing anything with the just set variable.

Also to avoid mismatches in branch names, export the branch name as a
github workflow step output, so the follow-up steps can pick it up and
use.
2022-10-18 11:37:01 +02:00
Krzesimir Nowak
b15055684e .github: Deduplicate kernel workflows
Also use a newer version of the create pull request action, and apply
correct labels ("alpha" or "stable" instead of "flatcar-XXXX").
2022-10-18 11:37:01 +02:00
Krzesimir Nowak
8d00adc16c .github: Simplify ca-certificates patch script
No point in setting UPDATE_NEEDED to zero if we exit the script
without doing anything with the just set variable.

Also fix the mismatch in branch names - we normally create a branch
like "cacerts-${NSS_VERSION}-${BRANCH}" in the last workflow step
whereas we were checking if a branch like "${NSS_VERSION}-${BRANCH}"
existed in the script. To avoid repetition, export the branch name as
a github workflow step output, so the follow-up steps can pick it up
and use.
2022-10-18 11:37:01 +02:00
Krzesimir Nowak
c1a9aa5a97 .github: Deduplicate ca-certificates workflows
Also use a newer version of the create pull request action, and apply
correct labels ("alpha" or "stable" instead of "flatcar-XXXX").
2022-10-18 11:37:01 +02:00
Krzesimir Nowak
522749197c .github: Add a script for figuring out a branch from channel name
It will be used for deduplicating the github workflows.
2022-10-18 11:32:10 +02:00
Krzesimir Nowak
7c4b588a5c github: Make workflows fork-friendly
This sets up the coreos-overlay submodule inside the SDK container to
use the remote of the fork and the base branch from that fork. That
way, we can test the workflows in the forks too.
2022-10-18 11:32:10 +02:00
Franklin "Snaipe" Mathieu
81a35f0027 sys-kernel: enable IOMMU on arm64
On Gigabyte R152-P31 arm64 servers, the Flatcar PXE images hang during the boot
process, making them unusable, while Fedora CoreOS images work.

The kernel seems to start correctly, however it invariably ends up printing
this message and hanging:

    ata1.00: qc timeout (cmd 0xec)
    ahci 000c:01:00.0: AHCI controller unavailable!
    pcieport 000c:00:01.0: AER: Uncorrected (Non-Fatal) error received: 000c:00:00.0
    ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    pcieport 000c:00:01.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
    pcieport 000c:00:01.0:   device [1def:e101] error status/mask=00004000/00400000
    pcieport 000c:00:01.0:    [14] CmpltTO                (First)
    ahci 000c:01:00.0: AHCI controller unavailable!
    ahci 000c:01:00.0: AER: can't recover (no error_detected callback)
    pcieport 000c:00:01.0: AER: device recovery failed
    pcieport 000c:00:01.0: AER: Multiple Uncorrected (Non-Fatal) error received: 000c:00:00.0

Enabling IOMMU seems to make the problem disappear.
2022-10-17 16:50:07 +02:00
Flatcar Buildbot
1166d236f9 app-misc: Upgrade ca-certificates 3.83 to 3.84 2022-10-17 07:53:26 +00:00
Flatcar Buildbot
c3d3fe075f sys-kernel: Upgrade Kernel 5.15.73 to 5.15.74 2022-10-15 07:31:35 +00:00
Krzesimir Nowak
78429927ca Merge pull request #2209 from flatcar/krnowak/weekly-package-updates
Profile changes for weekly package updates
2022-10-14 13:06:12 +02:00
Sayan Chowdhury
937fac6d07 net-vpn/wireguard-tools: Move to portage-stable 2022-10-14 10:38:46 +00:00
Dongsu Park
4388c058bb Merge pull request #2216 from flatcar/firmware-20221012-main
Upgrade Linux Firmware in main from 20220913 to 20221012
2022-10-13 16:55:12 +02:00
Krzesimir Nowak
977e0affcc changelog: Fix a link 2022-10-13 10:47:34 +02:00
Dongsu Park
75b7a21d40 sys-kernel/coreos-firmware: update cxgb4 version to 1.27.0.0
Fix build issues of coreos-firmware, by bumping the cxgb4 firmware
version to 1.27.0.0.
2022-10-13 09:46:52 +02:00
Flatcar Buildbot
c1c8edd5a0 sys-kernel: Upgrade Kernel 5.15.72 to 5.15.73 2022-10-13 07:40:15 +00:00
Flatcar Buildbot
de054baecd sys-kernel: Upgrade Linux Firmware 20220913 to 20221012 2022-10-13 07:29:55 +00:00
Krzesimir Nowak
13e5c2598f changelog: Add entries 2022-10-12 12:41:49 +02:00
Aniruddha Basak
a1a96c009d app-admin/logrotate: Apply Flatcar modifications 2022-10-12 12:41:49 +02:00
Krzesimir Nowak
40e891505e app-admin/logrotate: Sync with Gentoo
It's from Gentoo commit fef4d6517bb66698022978cd835a56d5701e318a.
2022-10-12 12:24:45 +02:00
Krzesimir Nowak
8a6b90ffc1 Merge pull request #2211 from flatcar/krnowak/dbus-update
sys-apps/dbus: Update to 1.14.4
2022-10-12 12:09:02 +02:00
Dongsu Park
8394036bc7 Merge pull request #2188 from flatcar/rust-1.64.0-main
Upgrade dev-lang/rust and virtual/rust in main from 1.63.0 to 1.64.0
2022-10-12 10:31:17 +02:00
Dongsu Park
835970dc2c coreos-base/update_engine: check ld-linux-*.so.2 for glibc 2.34
While glibc 2.33 has /lib64/ld-2.33.so, glibc 2.34 does not have that,
but only /lib64/ld-linux-x86-64.so.2. So we should also check ld-linux-*
as well.

Pulls in https://github.com/flatcar-linux/update_engine/pull/17.
2022-10-11 17:06:44 +02:00
Dongsu Park
448e9aca9b changelog: add changelog for glibc 2.34 2022-10-11 16:11:53 +02:00
Krzesimir Nowak
176b1cc152 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-10-11 16:11:53 +02:00
Krzesimir Nowak
f2f8da03f9 sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit a3d93f81ed9442703de09b684f309d8e1d596571.
2022-10-11 16:11:52 +02:00
Krzesimir Nowak
0a266b2209 changelog: Add entries 2022-10-11 14:04:55 +02:00
Dongsu Park
8e82ad0b20 changelog: add changelog for Rust 1.64.0 2022-10-11 13:41:32 +02:00
Flatcar Buildbot
0dc33cdd0c dev-lang: Upgrade dev-lang/rust 1.63.0 to 1.64.0 2022-10-11 13:41:32 +02:00
Krzesimir Nowak
9d3024be79 changelog: Add an entry 2022-10-11 13:03:03 +02:00
Krzesimir Nowak
6128c49a80 Merge pull request #2208 from flatcar/go-1.17.13-and-1.18.7-main
Upgrade Go from 1.18.6 to 1.18.7
2022-10-11 12:55:33 +02:00
Kai Lüke
ff185a491c Merge pull request #2207 from genesiscloud/nftables-bridge-conntrack-meta
Enable nf_conntrack_bridge and nft_meta_bridge kernel modules
2022-10-11 11:28:37 +02:00
Lukas Stockner
46ff05ed65 Update changelog
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-10-11 11:23:32 +02:00
Krzesimir Nowak
f3a354c8d1 sys-apps/dbus: Apply Flatcar modifications 2022-10-10 11:59:12 +02:00
Krzesimir Nowak
0d9aaf7b05 sys-apps/dbus: Sync with Gentoo
It's from Gentoo commit 42b645e918ddd5fd999926bc8c0a417a9f8c3be4.
2022-10-10 11:59:12 +02:00
Krzesimir Nowak
5be55ae97d profiles: Add accept keywords for app-editors/{vim,vim-core} 2022-10-10 11:29:55 +02:00
Krzesimir Nowak
48bf9a6645 app-editors/{vim,vim-core}: Move back to portage-stable 2022-10-10 11:29:34 +02:00
Krzesimir Nowak
de55948ac3 profiles: Disable python stuff for dev-libs/libxslt
The libxslt upstream fixed their python bindings, so they are not
python2 only. Gentoo then started to build them. Since we have fared
well so far without the bindings, keep on not building them.
2022-10-10 10:28:26 +02:00
Krzesimir Nowak
1d3daed50a profiles: Update accept keywords for dev-util/bpftool
Bpftool 5.18.11 is gone from portage-stable, 5.19.2 is the new stable
version for amd64. There's still no keyword for arm64, so we need to
keep the entry in the profiles for arm64.
2022-10-10 10:14:20 +02:00
Krzesimir Nowak
501c6ca99c profiles: Drop accept keywords for dev-libs/libxml2
The updated package became stable for both amd64 and arm64.
2022-10-10 10:05:46 +02:00
Flatcar Buildbot
d4ead663b9 dev-lang: Upgrade Go 1.18.6 to 1.18.7 2022-10-10 07:54:23 +00:00
Lukas Stockner
74ee472821 Enable nf_conntrack_bridge and nft_meta_bridge kernel modules
This allows to use conntrack rules for bridges in nftables
and to match on bridge interface names.
2022-10-07 15:56:07 +02:00
Flatcar Buildbot
7294ee7abe sys-kernel: Upgrade Kernel 5.15.71 to 5.15.72 2022-10-06 07:32:31 +00:00
Jeremi Piotrowski
4f01a18c37 profile/coreos/arm64: switch parent profile to 17.0/hardened
This was left as a 'TODO', but finally showed up when building the arm64 SDK.
The generic parent profile caused arm64 SDK (but also production images) to
have several USE flags missing, most importantly acl. Without acl, `usermod -m`
fails to correctly copy skeleton files when creating a new user.

Switch to parent profile to one matching the amd64 parent profile, which brings
the two arches closer together.
2022-10-05 16:40:11 +02:00
Flatcar Buildbot
fd4783ca0a sys-kernel: Upgrade Kernel 5.15.70 to 5.15.71 2022-10-05 14:54:26 +02:00
Krzesimir Nowak
13e9213d84 Merge pull request #2180 from flatcar/krnowak/dev-util-update
Development utilities update
2022-10-05 11:32:37 +02:00
Krzesimir Nowak
aa403ffeea changelog: Add an entry 2022-10-04 16:37:41 +02:00
Krzesimir Nowak
2e726adb32 coreos-base/coreos-init: Bring in the port customization changes 2022-10-04 15:07:17 +02:00
Krzesimir Nowak
ff6227115d coreos-base/hard-host-depends: Drop dev-util/scons
There isn't anything that uses scons, so drop it from SDK.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
ade775850b coreos/config: Drop overrides for dev-util/dialog
It's not packaged in neither in overlay nor in portage-stable.
2022-10-04 14:52:10 +02:00
Dongsu Park
70e0da0687 dev-util/bsdiff: Apply Flatcar modifications
Apply existing Flatcar changes on top of vanilla Gentoo ebuilds:
- add arm64 keyword
- apply the sais patch
- fix a heap overflow vulnerability in bspatch included in bsdiff.

Originally the security issue was published as [FreeBSD-SA-16:29](https://www.freebsd.org/security/advisories/FreeBSD-SA-16:29.bspatch.asc),
which pointed to a FreeBSD [patch](https://security.freebsd.org/patches/SA-16:29/bspatch.patch).
However, the patch was a set of huge changes including other unrelated
changes. That's why it was not simple at all to apply the patch to
bsdiff. Both Gentoo and Flatcar have not included the fix.

Fortunately X41 D-SEC [examined](https://www.x41-dsec.de/security/news/working/research/2020/07/15/bspatch/)
the issue again, and nailed down to a simple patch that can be easily
applied to other trees. We simply take the patch with minimal changes.

See also [CVE-2020-14315](https://nvd.nist.gov/vuln/detail/CVE-2020-14315).

It is based on the following commits:

[4ee6aa895a02](https://github.com/kinvolk/coreos-overlay/commit/4ee6aa895a02) ("Add arm64 keywords")
[60d47e7359d1](https://github.com/kinvolk/coreos-overlay/commit/60d47e7359d1) ("Change suffix sort to sais-lite")
[7d3ac2a049dd](https://github.com/kinvolk/coreos-overlay/commit/7d3ac2a049dd) ("fix heap overflow vulnerability CVE-2020-14315")
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
e358a89307 dev-util/bsdiff: Sync with Gentoo
It's from Gentoo commit 98ef629ba44e42abf5dd75e2e2c44994d85bc409.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
e64412782e profiles: Drop outdated or redundant USE flags for dev-util/perf 2022-10-04 14:52:10 +02:00
Krzesimir Nowak
a8f0638d7f profiles: Drop accept_keywords for dev-util/perf
Updated package is stable for both amd64 and arm64.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
f8fac84130 profiles: Drop accept_keywords for dev-util/pahole
Updated package is stable for both amd64 and arm64.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
0d7e9d0971 profiles: Drop cmake from provided packages
It should cross-compile just fine, but let's see if it ends up being
on the production image.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
0a6a8aa7d4 profiles: Drop keywords for dev-util/checkbashisms
The updated package is stable for both amd64 and arm64.
2022-10-04 14:52:10 +02:00
Krzesimir Nowak
aa36317220 profiles: Update keywords for dev-util/bpftool 2022-10-04 14:52:10 +02:00
Krzesimir Nowak
b22334fd58 coreos/config: Drop fixes for cmake 2022-10-04 14:52:10 +02:00
Krzesimir Nowak
678d0788ef Merge pull request #2189 from flatcar/krnowak/update-and-fill
Profiles and environment overrides for packages refresh
2022-10-04 10:19:42 +02:00
Jeremi Piotrowski
1b3ddd7133 changelog: add entry for coreos-modules strip change 2022-09-30 13:10:04 +02:00
Jeremi Piotrowski
aa7aa7f13c sys-kernel/coreos-module: use strip-debug instead of strip-unneeded
With `--strip-unneeded` some static symbols are also stripped from modules, making stacktraces
incomplete, and making it harder to debug kernel issues. Switch to the default setting of
`--strip-debug`, which keeps symbols intact and does not appear to lead to a measurable
size increase of the /usr partition.
2022-09-29 15:34:40 +02:00
Krzesimir Nowak
d39991c538 coreos/config: Drop linking workarounds for net-misc/curl
Let's see if those are fixed by now.
2022-09-29 11:58:11 +02:00
Krzesimir Nowak
8a0db2516b profiles: Drop accept keywords for net-fs/cifs-utils
The updated package is stable for both amd64 and arm64.
2022-09-29 11:58:11 +02:00
Krzesimir Nowak
5d556e801f profiles: Update keywords and unmask for new version of dev-vcs/git 2022-09-29 11:58:11 +02:00
Krzesimir Nowak
8400b95681 profiles: Drop accept keywords for sys-devel/crossdev
The updated package is stable for both amd64 and arm64.
2022-09-29 11:58:11 +02:00
Krzesimir Nowak
e84867785e Merge pull request #2140 from flatcar/krnowak/vim-update
Update vim to v9.0.0469
2022-09-29 11:18:54 +02:00
Mathieu Tortuyaux
a8a793fa94 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-27 11:48:00 +02:00
Mathieu Tortuyaux
3e50a7fd12 sys-apps/ignition: rework ignition patches
`ign-converter` is now part of the Ignition codebase, it should ease the
maintaining of these patches.

Only the v24tov31 translation (and its tests) has been ported to the codebase.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-27 11:48:00 +02:00
Dongsu Park
5e7729a745 Merge pull request #2185 from flatcar/linux-5.15.70-main
Upgrade Linux Kernel in main from 5.15.67 to 5.15.70
2022-09-27 09:09:07 +02:00
Krzesimir Nowak
610c41bcc5 .github: Partially revert some changes
It partially reverts commits 9ecbd31df40e8cf4361db7f638c089e4df3dc503
and 1b08c65f7b5797dd153898f148b98429feeacd2c. The reverted parts were
workarounds for old LTS, which used to have no run_sdk_container
stuff.
2022-09-26 14:43:36 +02:00
Krzesimir Nowak
4e4d0891e9 Revert ".github: make each apply script take parameters CHECKOUT_SCRIPTS"
This reverts commit f008fb5883afee1d83d636a06cc9c9b192705793.

This was introduced for old LTS that didn't use submodules in
scripts. Now it's backported, so this workaround is not needed.
2022-09-26 14:38:23 +02:00
Flatcar Buildbot
bc5705c6e0 sys-kernel: Upgrade Kernel 5.15.67 to 5.15.70 2022-09-24 07:26:04 +00:00
Krzesimir Nowak
4337abdd9a Merge pull request #2166 from flatcar/krnowak/fix-emerge-gitclone-developer-channel
coreos-base/emerge-gitclone: Bring in a fix for developer channel
2022-09-21 12:26:01 +02:00
Krzesimir Nowak
48b79af088 coreos-base/emerge-gitclone: Bring in a fix for developer channel and builds
For the main branch (so for nightly builds) the group in
`/usr/share/flatcar/update.conf` is not "main", but "developer". This
needs a small translation when turning it into a channel
information. Without that, we are trying to checkout a nonexistent tag
named `developer-3363.0.0-…` instead of `main-3363.0.0-…`, which
fails.

In developer builds version string contains version numbers and a
build ID with plus symbol sitting between them. Git tags are formatted
in similar way, but with a dash, instead of plus. Thus the plus needs
to be replaced to obtain a proper git tag.
2022-09-20 16:34:33 +02:00
Krzesimir Nowak
13b9fa8c06 Merge pull request #2173 from flatcar/krnowak/bump-cloudinit
coreos-base/coreos-cloudinit: Bump to latest commit
2022-09-20 16:27:12 +02:00
Krzesimir Nowak
85fcc77801 changelog: Add entries 2022-09-20 08:40:36 +02:00
Krzesimir Nowak
35b2cbbbba coreos-base/coreos-cloudinit: Bump to latest commit
This brings in a rename of the project.
2022-09-19 15:15:32 +02:00
Flatcar Buildbot
af532ac1c5 app-misc: Upgrade ca-certificates 3.82 to 3.83 2022-09-19 07:46:17 +00:00
Krzesimir Nowak
d6d7f3a190 profiles: Cleanup use flags for vim
Put them into targets/generic profile instead of duplicating them in
amd64/generic and arm64/generic profiles. There's isn't anything
arch-specific in those USE flags.
2022-09-16 11:10:20 +02:00
Krzesimir Nowak
b1dd9916dd profiles: Drop accept keywords for app-editors/vim{,-core}
We will put our version into overlay.
2022-09-16 11:10:20 +02:00
Krzesimir Nowak
ca32170302 app-editors/vim: Apply Flatcar modifications
These are not Flatcar specific modifications per se. We just bump the
version from 9.0.0099 to 9.0.0469 and drop a patch that was already
applied upstream.
2022-09-16 11:09:58 +02:00
Krzesimir Nowak
2cbd77d836 app-editors/vim: Sync with Gentoo
It's from Gentoo commit 9711e66907f463dbafc06d8c3c0605fe44d0dc2e.
2022-09-16 11:09:29 +02:00
Krzesimir Nowak
44a3f1c84d app-editors/vim-core: Apply Flatcar modifications
These are not Flatcar specific modifications per se. We just bump the
version from 9.0.0099 to 9.0.0469 and drop a patch that was already
applied upstream.
2022-09-16 11:08:16 +02:00
Krzesimir Nowak
269f9a1a86 app-editors/vim-core: Sync with Gentoo
It's from Gentoo commit 9a77abf00e3d75523e999e9dae30aed6e30409aa.
2022-09-16 10:57:37 +02:00
Dongsu Park
218157b62d Merge pull request #2157 from flatcar/firmware-20220913-main
Upgrade Linux Firmware in main from 20220815 to 20220913
2022-09-15 16:11:57 +02:00
Dongsu Park
e54ec6665a Merge pull request #2158 from flatcar/dongsu/github-actions-20220914
.github: fix Go changelog and git show-ref bug
2022-09-15 15:51:58 +02:00
Dongsu Park
66920fda77 .github: do not create a pull request when branch exists
If git show-ref returns an error, i.e. the branch already exists,
then we should not create a pull request, but simply return error.
Otherwise, the Github Actions would always try to create pull
requests even when the branch still exists.
2022-09-15 11:23:10 +02:00
Dongsu Park
b7631d8654 .github: correctly generate Go changelog
Recently Go Github Actions started not creating changelog at all.
Add the missing code to the go-apply-patch to correctly generate
changelog.
2022-09-15 11:23:07 +02:00
Dongsu Park
b34c3e06a2 app-emulation/docker{,-cli}: build with Go 1.18
Now that the upstream Docker 20.10.18 started building the source
with Go 1.18 instead of 1.17, we should also remove code to force
building with 1.17 and simply build with 1.18.

Otherwise the build fails like:

```
vendor/archive/tar/common.go:541:32: undefined: any
vendor/archive/tar/strconv.go:204:15: undefined: strings.Cut
vendor/archive/tar/strconv.go:254:20: undefined: strings.Cut
vendor/archive/tar/strconv.go:276:13: undefined: strings.Cut
```

See also https://github.com/moby/moby/commit/3d4616f943b3.
2022-09-15 11:15:02 +02:00
Dongsu Park
6fa59b8b52 changelog: add changelog for Docker 20.10.18 2022-09-15 11:15:02 +02:00
Flatcar Buildbot
6e8d9f3ac7 app-emulation: Upgrade Docker 20.10.17 to 20.10.18 2022-09-15 11:15:02 +02:00
Flatcar Buildbot
cbb563e99f sys-kernel: Upgrade Linux Firmware 20220815 to 20220913 2022-09-15 07:26:41 +00:00
Mathieu Tortuyaux
72511b296e Merge pull request #2133 from flatcar/tormath1/ignition
sys-apps/ignition: sed s/flatcar-linux/flatcar patches
2022-09-14 18:40:59 +02:00
Krzesimir Nowak
aad5d9db95 Merge pull request #2156 from flatcar/krnowak/updateservicectl
app-admin/updateservicectl: Bring in flatcar org change
2022-09-14 17:25:21 +02:00
Kai Lüke
4b62cbe7d5 Merge pull request #2153 from flatcar/kai/mayday-org-rename
app-admin/mayday: Use renamed package name
2022-09-14 17:22:50 +02:00
Krzesimir Nowak
9982cae995 app-admin/updateservicectl: Bring in flatcar org change 2022-09-14 17:11:45 +02:00
Mathieu Tortuyaux
7ba804c8ed app-arch/torcx: bump commit ID
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-14 16:52:52 +02:00
Mathieu Tortuyaux
df710084eb changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-14 16:30:39 +02:00
Mathieu Tortuyaux
3d967c2e03 app-admin/locksmith: bump commit ID
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-14 16:30:38 +02:00
Mathieu Tortuyaux
785000a5af sys-apps/ignition: sed s/flatcar-linux/flatcar patches
* dropped 2 non applied patches from previous upgrade
  released.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-14 16:23:49 +02:00
Kai Lueke
11094fefe7 app-admin/mayday: Use renamed package name
This pulls in https://github.com/flatcar/mayday/pull/10
to update the package name after the github org move.
It also changes the homepage to use our repo instead of the archive.
2022-09-14 15:56:15 +02:00
Kai Lüke
0629286e4c Merge pull request #2132 from flatcar/kai/flatcar-org-rename
Prepare github org rename to flatcar
2022-09-14 14:53:58 +02:00
Kai Lueke
18d727f88d Use ghcr.io/flatcar, there are no redirects
The GitHub org rename also moved the ghcr.io container image repo but
in contrast to git repos, there are no redirects.
2022-09-14 14:46:00 +02:00
Kai Lueke
02f31e779b Use new github org name "flatcar"
The "flatcar-linux" github org was renamed to "flatcar". There are no
github redirects in this case, thus we have to fix the links.
Left to do are the patch files.
2022-09-14 14:46:00 +02:00
Krzesimir Nowak
709aefec6c Merge pull request #2141 from flatcar/krnowak/update-libxml2
profiles: Add accept keywords for updated libxml2
2022-09-14 14:32:51 +02:00
Sayan Chowdhury
13b2199dd2 Merge pull request #2138 from flatcar/sayan/update-intel-microcode-20220809_p20220809
sys-firmware/intel-microcode: Move to portage-stable
2022-09-14 16:45:52 +05:30
Sayan Chowdhury
57fd3b3ec5 sys-firmware/intel-microcode: Move to portage-stable
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-09-14 16:26:20 +05:30
Dongsu Park
276a06730a Merge pull request #2149 from flatcar-linux/linux-5.15.67-main
Upgrade Linux Kernel in main from 5.15.63 to 5.15.67
2022-09-14 09:30:08 +02:00
Mathieu Tortuyaux
8613492d36 Merge pull request #2139 from flatcar-linux/tormath1/gettext
coreos-base/coreos: add sys-devel/gettext
2022-09-13 18:33:33 +02:00
Mathieu Tortuyaux
3df1f2e579 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-13 18:32:35 +02:00
Mathieu Tortuyaux
cbda50b4ff coreos-base/coreos: add sys-devel/gettext
This Flatcar dependency needs to be now explicitly pulled in the OS
since this commit: 4a06200e9d

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-09-13 18:32:33 +02:00
Dongsu Park
8ef8df340a changelog: add changelog for Go 1.18.6 2022-09-13 18:01:16 +02:00
Flatcar Buildbot
633830eadf sys-kernel: Upgrade Kernel 5.15.63 to 5.15.67 2022-09-13 12:53:05 +00:00
Flatcar Buildbot
de3d3715e8 dev-lang: Upgrade Go 1.18.5 to 1.18.6 2022-09-13 12:19:51 +00:00
Dongsu Park
7a141568a0 Merge pull request #2136 from flatcar-linux/dongsu/github-actions-sdk-container
.github: migrate to SDK container based Github Actions
2022-09-13 14:15:31 +02:00
Dongsu Park
cb02d963aa .github: make each apply script take parameters CHECKOUT_SCRIPTS
To make Github Actions of LTS-2021 work with SDK containers,
checkout_branches needs to take an additional parameter
CHECKOUT_SCRIPTS. That defaults to true, but false only for LTS-2021.
2022-09-13 13:51:55 +02:00
Dongsu Park
51912fd7be .github: pass additional env variables for apply patches
To be able to make each apply patch script run with SDK containers,
we need to pass additional env variables like PACKAGES_CONTAINER or
SDK_NAME.
Note, in case of LTS-2021, we need to also pass CHECKOUT_SCRIPTS=false,
to make LTS-2021 run with the script run_sdk_container.
2022-09-13 13:51:55 +02:00
Dongsu Park
70b15a8ffb .github: migrate to SDK container based Github Actions
Now that Flatcar SDK does not support cork of mantle any more,
we need to migrate the Github Actions of coreos-overlay to the
new container SDK based approach.

Simply download a container image of the latest Flatcar release,
run the container, generate patches from there.

Note, since the Flatcar scripts repo of LTS-2021 still does not
have necessary Container SDK scripts like run_sdk_container, we
need to skip checking out a specific base branch in case of
LTS-2021.
2022-09-13 13:51:51 +02:00
Krzesimir Nowak
c892355f14 profiles: Add accept keywords for updated libxml2 2022-09-13 12:05:27 +02:00
Sayan Chowdhury
a5050b9357 Merge pull request #2135 from flatcar-linux/sayan/bump-emerge-gitclone
emerge-gitclone: update workon_commit ref to latest commit
2022-09-13 11:05:19 +05:30
Sayan Chowdhury
f357c32d99 coreos-base/emerge-gitclone: Add the changelog entry
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-09-13 11:04:03 +05:30
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