14983 Commits

Author SHA1 Message Date
Krzesimir Nowak
f9f9c47827 eclass/alternatives: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:47 +02:00
Krzesimir Nowak
d9267f639c eclass/autotools: Sync with Gentoo
It's from Gentoo commit ba3706b867f7a64d4297a7a7835608ab0745b178.
2022-08-22 15:38:47 +02:00
Krzesimir Nowak
0b1fe2e7a3 eclass/git-r3: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:47 +02:00
Krzesimir Nowak
55b9db4c04 eclass/java-utils-2: Sync with Gentoo
It's from Gentoo commit e07cc058266208181d4db5e7d0629984e43cac61.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
ee94424b9c eclass/java-pkg-opt-2: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
739e3d0c17 eclass/prefix: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
272aecc466 eclass/pax-utils: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
efa811f476 eclass/toolchain: Sync with Gentoo
It's from Gentoo commit dc072cee06f52faf285a1b94e5db68eb78f07719.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
9828aaf6e7 eclass/multilib-build: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
f93ba14494 eclass/multilib-minimal: Sync with Gentoo
It's from Gentoo commit fc315af9b669cc506f49fc659a3f7c1f24b19cac.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
ef90f5f0bb eclass/verify-sig: Sync with Gentoo
It's from Gentoo commit d7317785d04e7de172de3bff05852fca3cd15af2.
2022-08-22 15:38:46 +02:00
Krzesimir Nowak
e5aa53ef82 eclass/gnuconfig: Sync with Gentoo
It's from Gentoo commit a1a498f47f0568471f944df8a96732c4dd8f6287.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
6d8c8b22d1 eclass/libtool: Sync with Gentoo
It's from Gentoo commit 04040326aedc27bd5a8fbe4788ee81c853bbe8d8.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
a7e3686f26 eclass/multilib: Sync with Gentoo
It's from Gentoo commit e1eb91c12a960f0a817a10bd628a34da1b692571.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
09226756b2 eclass/toolchain-funcs: Sync with Gentoo
It's from Gentoo commit d88cfb2be7d35049de49f557472cbf68331e4ef0.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
99e1ad5b6f eclass/flag-o-matic: Sync with Gentoo
It's from Gentoo commit 1c907885fa271f0077f7c4ed03f44619b2350e5c.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
18aa6014c2 sys-libs/binutils-libs: Sync with Gentoo
It's from Gentoo commit 56005eafb49d95970e403593e2c59e6866c3817e.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
0cf93362b2 dev-util/pkgconf: Sync with Gentoo
It's from Gentoo commit bf8979c5ddb6621f77aa755201b4abefa389d1b0.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
55b48e5eea virtual/pkgconfig: Sync with Gentoo
It's from Gentoo commit 39af4fb5f1f539e25e23796c43e840d248c3158c.
2022-08-22 15:38:45 +02:00
Krzesimir Nowak
3f86875624 virtual/libcrypt: Sync with Gentoo
It's from Gentoo commit a955d7fdcca04b3ae9d14d8c3c289bbd2c3187bc.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
a3ef8794a7 app-arch/bzip2: Sync with Gentoo
It's from Gentoo commit 86a0bcad235a50769229075c60b15f410d9dba50.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
3784f16cee dev-libs/libltdl: Sync with Gentoo
It's from Gentoo commit dd507c0c30e4132d69e1cd9375b8fddc844c787e.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
aaf2b6a083 app-portage/portage-utils: Sync with Gentoo
It's from Gentoo commit 8471895f5b839fe8290e5d7f730c0fbdc25ddf1c.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
26999cbc2c sys-apps/gentoo-functions: Sync with Gentoo
It's from Gentoo commit ad5de0d0d345cde9d744af48be0f348f1f572e6f.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
89a003ea4d sys-libs/zlib: Sync with Gentoo
It's from Gentoo commit bcce32837a9006d4110f70de52323b7d7ca36a61.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
c4ff89a1a5 virtual/yacc: Sync with Gentoo
It's from Gentoo commit 35ef14ce2933397203c0df748676ff1305cd6d19.
2022-08-22 15:38:44 +02:00
Krzesimir Nowak
8c7a7cbc30 sys-apps/help2man: Sync with Gentoo
It's from Gentoo commit cb104ba1b28bfe1b96510fa502cdf3d31de31e4d.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
609249ec8a dev-lang/perl: Sync with Gentoo
It's from Gentoo commit 9b1e67ec136a6180a3c634e4b1790b840de74b99.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
deaa4976d3 sys-devel/patch: Sync with Gentoo
It's from Gentoo commit 47727092aa95415b850243205894ceb2ea0642fc.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
c0180a85ce sys-devel/m4: Sync with Gentoo
It's from Gentoo commit eb58f603e3711cf4b0c1e598b561f8df66891be3.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
de96673fc4 sys-devel/gcc-config: Sync with Gentoo
It's from Gentoo commit 011cfc23f7703b70afd1766dac1a72766109dffc.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
092bb76674 sys-devel/binutils-config: Sync with Gentoo
It's from Gentoo commit f949f1350ced61c4026b399f356a36493024d7d2.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
9c1eaf39a0 sys-devel/autoconf-archive: Sync with Gentoo
It's from Gentoo commit 2ef805bc6002022f565d60469561fbb67b203c4f.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
ec6e5ae93b sys-devel/make: Sync with Gentoo
It's from Gentoo commit 2f57d1e86732ff5160de52e92584363cc0e256cb.
2022-08-22 15:38:43 +02:00
Krzesimir Nowak
3ef6d66fa4 sys-devel/libtool: Sync with Gentoo
It's from Gentoo commit 8e012bd971b2c46b020153d43a32571319dd7dcb.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
a49e8e6035 sys-devel/gnuconfig: Sync with Gentoo
It's from Gentoo commit 57c55b6e2bacfc5af986df9639d92bc7ddce3127.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
90a815ea4e sys-devel/gettext: Sync with Gentoo
It's from Gentoo commit 838acb806aa85a43ac6d0cc681e7f245bfee7377.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
0369b74682 sys-devel/gcc: Sync with Gentoo
It's from Gentoo commit 0101fc06b631f54c53dbc55eaed6d460c1b643f5.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
0496a287ea sys-devel/flex: Sync with Gentoo
It's from Gentoo commit 4d77781e2db7bb8bef7f390c43efc04ba58ff7bb.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
420f91b7c2 sys-devel/crossdev: Sync with Gentoo
It's from Gentoo commit f3d22c0fe930541422da4b3cb730e1f4576e9c31.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
334761561f sys-devel/bison: Sync with Gentoo
It's from Gentoo commit aa5ef7db2603077a71a59e107ce61fc8c5e5938f.
2022-08-22 15:38:42 +02:00
Krzesimir Nowak
28aca73b40 sys-devel/binutils: Sync with Gentoo
It's from Gentoo commit f957279a4eb67e24c85ad757217cb43c12afd3ce.
2022-08-22 15:38:41 +02:00
Krzesimir Nowak
2be8c38030 sys-devel/bc: Sync with Gentoo
It's from Gentoo commit 4056c750051d7302b3fc0f2e9c352360f60fcd0a.
2022-08-22 15:38:41 +02:00
Krzesimir Nowak
2f050ef133 sys-devel/automake-wrapper: Sync with Gentoo
It's from Gentoo commit 2167be053592596d6be6ea864468967995aa6985.
2022-08-22 15:38:41 +02:00
Krzesimir Nowak
b4088264a3 sys-devel/automake: Sync with Gentoo
It's from Gentoo commit fd13ed77986d9cb3a8d684aa54d0c5530cee2aed.
2022-08-22 15:38:41 +02:00
Krzesimir Nowak
ade038a084 sys-devel/autoconf-wrapper: Sync with Gentoo
It's from Gentoo commit b9eca299f763891e925151be08c660b00df3d9e2.
2022-08-22 15:38:41 +02:00
Krzesimir Nowak
6440d3126a sys-devel/autoconf: Sync with Gentoo
It's from Gentoo commit f3b6da09de225bd0b0c2de87f6fadd44a2e46a0d.
2022-08-22 15:38:41 +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