Commit Graph

22792 Commits

Author SHA1 Message Date
Krzesimir Nowak
7b12526d38 dev-lang/python-exec-conf: Sync with Gentoo
It's from Gentoo commit 33ad44a77df33acfcb184a72955b85da896cabc6.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
af8642077c dev-lang/python-exec: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
666091c2a4 dev-lang/python: Sync with Gentoo
It's from Gentoo commit 7e4bc93cfd8c98df45018b72f6ac4bfc5c698bcf.
2023-02-17 11:53:01 +01:00
Krzesimir Nowak
87d5ce7ec7 app-text/asciidoc: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:51:28 +01:00
Krzesimir Nowak
6b0caea332 app-shells/bash-completion: Sync with Gentoo
It's from Gentoo commit ed468028e725c9580a7b2ee02d6b7b9375f7a0b2.
2023-02-17 11:51:28 +01:00
Dongsu Park
cab3e7abf9 changelog: add changelog for containerd 1.6.18 2023-02-17 10:52:35 +01:00
Flatcar Buildbot
e31bc2214b app-emulation: Upgrade Containerd 1.6.16 to 1.6.18 2023-02-17 08:23:03 +00:00
Dongsu Park
d3faa059de Merge pull request #2455 from flatcar/firmware-20230210-main
Upgrade Linux Firmware in main from 20230117 to 20230210
2023-02-17 09:03:26 +01:00
flatcar-ci
81b609b751 New version: main-3517.0.0-nightly-20230216-2100 2023-02-16 21:00:25 +00:00
Krzesimir Nowak
fa48f70a37 *: Make catalyst and emerge verbose by default
That way we can see a report of what emerge is going to do and the
status of the use flags for the installed packages. The downside is
that we are going to have reports about using deprecated and
unsupported profile in even more places.
2023-02-16 13:57:05 +01:00
Krzesimir Nowak
520b92ad7e *: Expand short emerge flags and use bash arrays
Emerge flags are cryptic in general, but short flags even more so, so
expand them. While at it, I noticed some places where bash arrays
could be used, so convert those places too.
2023-02-16 13:57:05 +01:00
Krzesimir Nowak
1d132574ac build_library/catalyst.sh: Do not use "which"
There's a bash built-in named command that could be used instead.
2023-02-16 13:57:05 +01:00
Thilo Fromm
9ef8b69e5c scripts/bootstrap: Apply Flatcar modifications
- add static-libs, openmp

  'static-libs' and 'opempn' are added to the bootstrap emerge USE
  flags (stage 3 of the bootstrap-sh script, which is run in stage 2
  of the SDK catalyst bootstrapping process):

  - 'static-libs' un-breaks the zlib build: zlib installed has this
     flag set and zlib requested per emerge command line in
     bootstrap.sh stage 3 needs this flag to prevent a slot conflict.

  - 'openmp' is to honor requirements of newer versions of GCC and is
     added according to Gentoo guidelines published here:
     https://wiki.gentoo.org/wiki/User:Sakaki/Sakaki%27s_EFI_Install_Guide/Building_the_Gentoo_Base_System_Minus_Kernel#Gentoo_Bootstrap_Remix:_Progressing_from_Stage_1_to_Stage_2

- install curl before baselayout

  Now that Github rejects access to an unauthenticated URL with
  `git://`, we have to make git and libcurl work with
  `https://`. However, during the SDK stage2, curl is not explicitly
  installed, but just inherited from the stage1. As a result, curl is
  built without the `ssl` USE flag.  So installation of baselayout
  fails with:

```
git fetch https://github.com/flatcar-linux/baselayout.git --prune +HEAD:refs/git-r3/HEAD
fatal: unable to access 'https://github.com/flatcar-linux/baselayout.git/':
Protocol "https" not supported or disabled in libcurl
```

  To resolve the issue, we need to install curl with `BOOTSTRAP_USE=ssl`
  before trying to install baselayout.

- update openssl before stage3

  Right now our bootstrap flow is different then gentoo's - we don't
  update the seed when building stage1 and use a different ebuilds
  snapshot for stage1 compared to stage2 and stage3. This is causing
  us trouble now, because we introduced openssl-3, but seed/stage1
  still contains openssl-1.1. During `emerge -e @system` in stage3,
  some packages that depend on openssl may build against the stage1
  version, which results in an error during depcleaning (they would
  need to be rebuilt instead).  Stage3 is not extensible, so instead,
  explicitly update openssl in stage2. This workaround can be removed
  as soon as we release a seed with openssl-3.

- fix bootstrap in verbose mode

  Verbose mode does not unset STRAP_RUN, thus the script tries to
  prune sys-devel/gcc at the later stage. Currently portage exits with
  an exit status 1 if a specific package was requested to be pruned
  and there was nothing to do. This results in a bootstrap failure. So
  before we try to prune, let's do a dry run to see if anything would
  be done.

  For the portage code that results in exit status 1, see the
  following link:

  https://gitweb.gentoo.org/proj/portage.git/tree/lib/_emerge/actions.py?id=bde2a895cf520687dce7a8e92601041a37529ba0#n1700

  Fix can be dropped when https://github.com/gentoo/gentoo/pull/29612
  gets merged.

Co-authored-by: Dongsu Park <dpark@linux.microsoft.com>
Co-authored-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Co-authored-by: Krzesimir Nowak <knowak@microsoft.com>
2023-02-16 13:49:19 +01:00
Krzesimir Nowak
4c60474d8f scripts: Sync with Gentoo
It's from Gentoo commit c26dfbbcfeb7239fbb527b0fceab36c7371f4b9d.
2023-02-16 13:49:12 +01:00
Dongsu Park
b56b3050ab changelog: add changelog for openssh 9.2 2023-02-16 11:24:38 +01:00
Sayan Chowdhury
d6ec6e5281 net-misc/openssh: Apply Flatcar patches
- Drop the init.d files.
- Remove the socket unit's rate limiting.
- Mark the package as stable.

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
Signed-off-by: Dongsu Park <dpark@linux.microsoft.com>
2023-02-16 11:24:38 +01:00
Dongsu Park
52919f1e29 net-misc/openssh: update to 9.2_p1-r2
Update net-misc/openssh to 9.2_p1-r2, mainly to address CVE-2023-25136.

Gentoo commit: a773d7e0cdb9579343c1a4437ed4ce97f9d91d1f
2023-02-16 11:24:23 +01:00
Flatcar Buildbot
035b6ee65f sys-kernel: Upgrade Linux Firmware 20230117 to 20230210 2023-02-16 07:11:01 +00:00
flatcar-ci
0e0dbb924c New version: main-3517.0.0-nightly-20230216-0606 2023-02-16 06:06:45 +00:00
Kai Lüke
2654552f2b
Merge pull request #655 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2023-02-16 06:30:14 +01:00
Flatcar Buildbot
974eebde26 Update mantle container image to latest HEAD 2023-02-15 21:00:41 +00:00
flatcar-ci
db33cb9c4e New version: main-3516.0.0-nightly-20230215-2100 2023-02-15 21:00:26 +00:00
Dongsu Park
49a6781cf6 Merge pull request #2449 from flatcar/rust-1.67.1-main
Upgrade dev-lang/rust and virtual/rust in main from 1.67.0 to 1.67.1
2023-02-15 17:13:01 +01:00
Dongsu Park
1076894c62 profiles: update sys-devel/gcc to 11.3.1_p20230120-r1
Since the new USE flag `cet` became the default in profiles of
portage-stable, SDK bootstrap using gcc 11.3.1_p20221209 started
to fail at `sys-libs/glibc`.

```
in function `dl_open_worker_begin':
 dl-open.c:(.text+0xab4c): undefined reference to `_dl_cet_open_check'
```

That is because gcc is not correctly configured for CET.

That issue was fixed in recent upstream GCC versions,
e.g. 11.3.1_p20221209-r1 or 11.3.1_p20230120-r1.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016184c289f2cc6c6ade496a700a12f135fbae07
https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=15daf0510a5fab17cd556261d688a6618391a0c1
However, gcc of Flatcar, 11.3.1_p20221209, does not have the fix.

Update sys-devel/gcc to 11.3.1_p20230120-r1 to fix that issue.

Also accept ~arm64 to keep the same version for both arches.
2023-02-15 17:04:19 +01:00
flatcar-ci
f5333d48ba New version: main-3515.0.0-nightly-20230214-2100 2023-02-14 21:00:28 +00:00
Dongsu Park
51ed887e3a dev-lang/rust: adjust ebuilds for Rust 1.67.1
Adjust ebuilds to be able to build with Rust 1.67.1.
Sync minor changes with upstream Gentoo as well.
2023-02-14 13:36:11 +01:00
Kai Lüke
30414417a7 Merge pull request #2436 from flatcar/kai/combined-status
Apply new Flatcar change of using the combined systemd log format
2023-02-14 12:00:37 +01:00
Kai Lüke
f7f1405a89
Merge pull request #652 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2023-02-14 11:59:35 +01:00
Flatcar Buildbot
a3f425e7ec Update mantle container image to latest HEAD 2023-02-14 10:49:53 +00:00
Kai Lüke
1103c83d2c
Merge pull request #648 from flatcar/kai/git-config-safe-dir
ci-automation: Allow git to work on directory owned by other user
2023-02-14 11:49:38 +01:00
Flatcar Buildbot
84b695a0a2 dev-lang: Upgrade dev-lang/rust 1.67.0 to 1.67.1 2023-02-14 07:32:37 +00:00
Kai Lueke
87e13eb3de ci-automation: Allow git to work on directory owned by other user
The get_git_channel function failed to work which resulted in the
Alpha release job skipping the AWS publishing for the Alpha channel
because it defaulted to the developer channel as fallback when git
rejected to work on the directory owned by the build user while running
as root user. A new version of git caused this behavior change and also
prints an error message that explains to have to set safe.directory.

Set the git config entry safe.directory for the /work path when
entering the mantle container where git runs as root while working on
the directory owned by the build user.
2023-02-14 11:39:33 +09:00
flatcar-ci
414987596d New version: main-3514.0.0-nightly-20230213-2100 2023-02-13 21:00:31 +00:00
Dongsu Park
00f252c52b Merge pull request #2435 from flatcar/dongsu/openssl-3.0.8
dev-libs/openssl: update to 3.0.8
2023-02-13 14:30:08 +01:00
Dongsu Park
c39cb6df2f changelog: add changelog for openssl 3.0.8 2023-02-13 14:26:53 +01:00
Mathieu Tortuyaux
9cd2474a49 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
- continue shipping app-misc/c_rehash

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Dongsu Park <dpark@linux.microsoft.com>
2023-02-13 14:26:46 +01:00
Dongsu Park
f07f5c6b8d Merge pull request #2441 from flatcar/dongsu/github-actions-docker-url
.github: fix URL of docker release notes
2023-02-13 12:52:37 +01:00
Dongsu Park
08a0d354c3 Merge pull request #2447 from flatcar/cacerts-3.88.1-main
Upgrade ca-certificates in main from 3.87 to 3.88.1
2023-02-13 12:49:59 +01:00
Flatcar Buildbot
99227c00b2 app-misc: Upgrade ca-certificates 3.87 to 3.88.1 2023-02-13 07:15:56 +00:00
Dongsu Park
6dbcbc54ee .github: fix URL of docker release notes
Now that the upstream Docker release notes website has changed its
structure, the URL for Docker release notes started to have a specific
format of
https://docs.docker.com/engine/release-notes/MAJOR.MINOR/#COMBINEDFULLVERSION.

Fix the URL to make it work correctly.
2023-02-10 11:57:21 +01:00
flatcar-ci
d9840913e4 New version: main-3510.0.0-nightly-20230209-2100 2023-02-09 21:00:25 +00:00
Dongsu Park
0a33d7daf7 Merge pull request #2429 from flatcar/linux-5.15.92-main
Upgrade Linux Kernel for main from 5.15.89 to 5.15.92
2023-02-09 17:34:25 +01:00
Dongsu Park
f4488e8280 Merge pull request #414 from flatcar/dongsu/eselect-iptables-20220320
app-eselect/eselect-iptables: update to 20220320
2023-02-09 17:33:40 +01:00
Flatcar Buildbot
cbef9d58d9 sys-kernel: Upgrade Kernel 5.15.89 to 5.15.92 2023-02-09 14:21:23 +01:00
Kai Lueke
8d46d31234 Apply new Flatcar change of using the combined systemd log format
The boot log only showed the unit descriptions which made it hard to
know what unit was meant.
Switch to the combined unit status reporting that includes the unit
name.
2023-02-09 13:53:28 +01:00
Flatcar Buildbot
99ecf97136 .github: add app-eselect/eselect-iptables to packages list 2023-02-09 11:50:24 +01:00
Krzesimir Nowak
0a89347747
Merge pull request #647 from flatcar/krnowak/vms-fix
ci-automation: Get two files to build vms instead of a whole directory
2023-02-09 11:45:25 +01:00
Krzesimir Nowak
33d824a4fb Merge pull request #2425 from flatcar/krnowak/systemd-252
sys-apps/systemd: Update to 252.5
2023-02-09 11:43:27 +01:00
Flatcar Buildbot
9c4bf919fc app-eselect/eselect-iptables: update to 20220320
As iptables was updated to 1.8.8 in coreos-overlay, we need to update
eselect-iptables to 20220320 as well, to avoid bugs having missing
symlinks like /sbin/ip6tables, /sbin/ip6tables-{save,restore}.

See also https://cgit.gentoo.org/proj/eselect-iptables.git/commit/?id=2512407d3790.
2023-02-09 10:37:12 +01:00
Krzesimir Nowak
09a319bae6 changelog: Add an entry 2023-02-09 10:34:15 +01:00