23028 Commits

Author SHA1 Message Date
Dongsu Park
7c23b07511 sys-kernel: enable kernel config CONFIG_IKHEADERS
Enable kernel config
[CONFIG_IKHEADERS](435faf5c21/init/Kconfig (L610-L617)
),
to make Kernel export kernel headers via `/sys/kernel/kheaders.tar.xz`.
Then bpf-related tools can be used without additional kernel headers in
userspace.
2020-07-03 12:40:59 +02:00
Flatcar Buildbot
973e2fd584 chore(metadata): Regenerate cache 2020-07-03 08:09:16 +00:00
Flatcar Buildbot
0415778311 app-emulation: Upgrade Containerd 1.3.4 to 1.3.6 2020-07-03 08:09:16 +00:00
Flatcar Buildbot
92d8f2eeee chore(metadata): Regenerate cache 2020-07-02 07:08:50 +00:00
Flatcar Buildbot
86253d468f sys-kernel: Upgrade coreos-kernel 5.4.49 to 5.4.50 2020-07-02 07:08:50 +00:00
Dongsu Park
8f99f0966e Merge pull request #451 from flatcar-linux/docker-19.03.12-alpha
Upgrade Docker in Alpha from 19.03.11 to 19.03.12
2020-07-01 12:21:34 +02:00
Flatcar Buildbot
56f892ae9b chore(metadata): Regenerate cache 2020-07-01 07:43:13 +00:00
Flatcar Buildbot
cfe38ca6bd app-emulation: Upgrade Docker 19.03.11 to 19.03.12 2020-07-01 07:43:13 +00:00
Kai Lüke
0d54b852b5 sys-kernel/bootengine: Update to include static IP address fix
This pulls in https://github.com/flatcar-linux/bootengine/pull/15
to ensure that /etc/systemd/network/ exists to write networkd unit
when static IP addresses are configured through the kernel command
line in the format ip=<ip>::<gateway>:<netmask>:<hostname>:<iface>:none[:<dns1>[:<dns2>]]
https://docs.flatcar-linux.org/ignition/network-configuration/#using-static-ip-addresses-with-ignition
2020-06-30 12:38:40 +02:00
Dongsu Park
c75a36d75b Merge pull request #443 from flatcar-linux/linux-5.4.49-alpha
Upgrade Linux Kernel in Alpha from 5.4.47 to 5.4.49
2020-06-29 17:31:17 +02:00
Kai Lüke
44dbd37ff6 app-admin/locksmith: Migrate to Go modules
Pulls in
https://github.com/flatcar-linux/locksmith/pull/4
2020-06-29 16:17:22 +02:00
Marga Manterola
e04156a0f1
bootstrap_sdk: build and upload SDK toolchain pkgs
Before, we were relying on the toolchains job to build and upload
packages that were part of the SDK. With this change, all packages that
should be part of the SDK are built and uploaded by the SDK job. The
toolchains job only builds toolchain packages specific for the release.

This change includes several adjustments done to both the SDK and the
toolchains jobs to make this work:
 * Make the SDK job build all cross toolchains, including Rust
 * Stop building Rust in the toolchains job and use the one in the SDK
   instead.
 * In toolchain_util.sh: detect when the symlink folder for crossdev
   packages is missing and run crossdev to create it during
   update_chroot setup.
 * Make it possible to build the SDK starting from stage 4 instead of
   stage 1, to make the SDK building faster for PR branches / nightlies
   (full build should still be done for releases / weeklies).
2020-06-29 15:18:55 +05:30
Dongsu Park
2f8c3420b0 Merge pull request #49 from flatcar-linux/dongsu/git-2.26-alpha
dev-vcs/git: bump to 2.26.2 for alpha
2020-06-29 10:33:26 +02:00
Dongsu Park
67c51a96e8 Revert "profiles: force to use ssl USE flag for wget"
This reverts commit 517e23ebfe96137f1482ae42f8b29fc2f1b31317.

The new USE flag `ssl` for wget resulted in a strange issue.
`wget` started to pull in `dev-libs/openssl`, which has `bindist` in its
USE flag. The catalyst stages, however, need to install wget without
`bindist`. Such mismatches resulted in errors like:

```
!!! All ebuilds that could satisfy "dev-libs/openssl:0=" for /tmp/stage1root/ have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/openssl-1.0.2u::coreos (masked by: bindist in RESTRICT)
```

So to fix the issue, what needs to be done is basically:

```
ACCEPT_RESTRICT=bindist USE=-bindist emerge -pv openssl openssh
```

Unfortunately it is not possible to set `accept_restrict` configs
under the coreos-overlay repo. We need to have some time to investigate
why it is so.

As a hotfix, we need to revert the `ssl` USE flag for wget.
2020-06-26 16:11:57 +02:00
Vincent Batts
4435726c00 etcd: update URL to it's own org on github now
even though they're still building from quay.io/coreos/etcd? maybe
that'll change soon too?

Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
2020-06-26 16:07:05 +02:00
Dongsu Park
914c1cf1c3 Merge pull request #418 from flatcar-linux/runc-1.0.0_rc90-alpha
Upgrade Runc in Alpha from 1.0.0_rc10 to 1.0.0_rc90
2020-06-26 13:37:14 +02:00
Flatcar Buildbot
cd47202838 chore(metadata): Regenerate cache 2020-06-26 09:18:03 +02:00
Flatcar Buildbot
86998589ed app-emulation: Upgrade Runc 1.0.0_rc10 to 1.0.0_rc90 2020-06-26 09:17:14 +02:00
Dongsu Park
3191861b0e Merge pull request #394 from flatcar-linux/docker-19.03.11-alpha
Upgrade Docker in Alpha from 19.03.8 to 19.03.11
2020-06-26 09:14:20 +02:00
Dongsu Park
cc2fcb56a1 Merge pull request #396 from flatcar-linux/dongsu/docker-go1.13-alpha
app-emulation/docker: set go1.13 in DOCKER_BUILDTAGS for alpha
2020-06-26 09:12:17 +02:00
Dongsu Park
037b53190e profiles: force to use ssl USE flag for wget
When catalyst tries to fetch a file via https, wget sometimes fails
to do so, with the following messages:

```
https://www.kernel.org/pub/software/scm/git/git-2.24.1.tar.xz: HTTPS
support not compiled in.
!!! Couldn't download 'git-2.24.1.tar.xz'. Aborting.
```

That probably happens because wget in some catalyst stages are compiled
without `ssl` USE flag. If a catalyst stage is lucky enough to rebuild
wget with `ssl` before actually fetching a file, it would work well.
Though if not, it would fail. It is not deterministic, and hard to
reproduce.

So backport the fix from upstream Gentoo,
https://github.com/gentoo/gentoo/commit/d141380b915d , for both amd64
and arm64. By setting `ssl` for wget in `package.use.force`, it is now
not possible to disable `ssl` for wget.

More details: https://bugs.gentoo.org/611072
2020-06-25 16:34:30 +02:00
Dongsu Park
e43021feb2 dev-libs/libpcre2: update to 10.34
Update dev-libs/libpcre2 to 10.34, to address security issues listed in
[GLSA 202006-16](https://security.gentoo.org/glsa/202006-16).

* CVE-2019-20454
2020-06-25 11:07:15 +02:00
Dongsu Park
3913e852e7 sys-libs/readline: update to 8.0_p4
Update sys-libs/readline to 8.0_p4, to address security issues listed in
[GLSA 202006-04](https://security.gentoo.org/glsa/202006-04).

* CVE-2019-6488
* CVE-2019-7309
* CVE-2019-9169
* CVE-2020-10029
* CVE-2020-1751
2020-06-25 11:07:13 +02:00
Flatcar Buildbot
d4055031a4 chore(metadata): Regenerate cache 2020-06-25 07:07:13 +00:00
Flatcar Buildbot
a868c2024b sys-kernel: Upgrade coreos-kernel 5.4.47 to 5.4.49 2020-06-25 07:07:13 +00:00
Flatcar Buildbot
21f6580c69 Upgrade Cargo in Alpha from 1.43.1 to 1.44.1 2020-06-23 07:30:48 +00:00
Dongsu Park
751413c7c0 eclass: import cmake.eclass
As `dev-libs/libgit2` inherits `cmake.eclass`, we need to import it
from upstream Gentoo.
2020-06-22 13:55:14 +02:00
Dongsu Park
e0d8b0246a dev-libs/libgit2: import libgit2
As dev-lang/rust >= 1.44.0 requires `dev-libs/libgit2`, we need to
import libgit2 from upstream Gentoo.
2020-06-22 13:54:26 +02:00
Dongsu Park
930c8a40fa sys-libs/glibc: Apply Flatcar changes
Drop pkg_pretend since it breaks build_image if cross-compilers are
not installed yet (e.g. in Jenkins jobs).

Drop the libidn2 runtime dependency since it breaks bootstrapping,
and it's dlopen()ed so the resolver can work without it.

Drop the host /dev/pts checks since the SDK doesn't control it.

Apply our gshadow segfault patch, and adapt into glibc 2.30.

Install nscd.conf in /usr and set up tmpfiles to link it in /etc.

Wipe out /etc files (except for an environment file that is still
needed in the SDK).

Originally comes from eb07324f4de3 ("sys-libs/glibc: Apply CoreOS
changes").
2020-06-19 15:57:10 +02:00
Dongsu Park
e43d18f0da sys-libs/glibc: update to 2.30-r8
Update glibc to 2.30-r8 to sync with upstream Gentoo, to address
security issues reported as
[GLSA 202006-04](https://security.gentoo.org/glsa/202006-04).
2020-06-19 15:57:10 +02:00
Dongsu Park
4b37cf1e73 Merge pull request #430 from flatcar-linux/linux-5.4.47-alpha
Upgrade Linux Kernel in Alpha from 5.4.46 to 5.4.47
2020-06-19 10:23:38 +02:00
Sayan Chowdhury
f92aec8c94 sys-apps/iucode_tool: Add iucode_tool-2.3.1/2.3
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-06-18 19:44:26 +05:30
Sayan Chowdhury
dc39ed2025 Merge pull request #421 from flatcar-linux/sayan/update-to-intel-microcode-20200609_p20200601-alpha
sys-firmware/intel-microcode: update to 20200609
2020-06-18 19:09:27 +05:30
Dongsu Park
4e109a49cf
Merge pull request #72 from flatcar-linux/dongsu/catalyst-rust-alpha
build_library/catalyst: Update virtual/rust during catalyst stage1 for alpha
2020-06-18 12:06:50 +02:00
Flatcar Buildbot
5aadf68896 chore(metadata): Regenerate cache 2020-06-18 07:09:39 +00:00
Flatcar Buildbot
1a2717f498 sys-kernel: Upgrade coreos-kernel 5.4.46 to 5.4.47 2020-06-18 07:09:39 +00:00
Flatcar Buildbot
2514c02574 chore(metadata): Regenerate cache 2020-06-17 16:46:22 +02:00
Flatcar Buildbot
c155b5d9f6 app-emulation: Upgrade Docker 19.03.8 to 19.03.11 2020-06-17 16:45:53 +02:00
Kai Lüke
15eae915b4 app-admin/*-wrapper: Only set arguments that weren't set
When 788f328dc752a75da08d4c6fc27d094ecb4807d5 introduced pulling from
docker by default, "--insecure-options=image" was added for all
docker registries. However, when the user also needs to set "http" as
in "--insecure-options=image,http" it will not be used because the
other argument is added as last disregarding the option was already
set by the user.
Check if the option was set by the user and only add it if it is not
provided. If the user forgets to add "image" then rkt will simply
fail and tell that this option is needed; thus no complex logic of
appending and detecting only "image" is needed. Do the same for the
"--trust-keys-from-https" option to be consistent in allowing to
overwrite it with "--trust-keys-from-https=false".
2020-06-17 14:48:24 +02:00
Sayan Chowdhury
4fad288ad6 Merge pull request #400 from flatcar-linux/sayan/enable-getty-systemd
sys-apps/systemd: Manually enable the getty service
2020-06-17 15:11:21 +05:30
Dongsu Park
64b863b30d Merge pull request #416 from flatcar-linux/linux-5.4.46-alpha
Upgrade Linux Kernel in Alpha from 5.4.44 to 5.4.46
2020-06-16 11:05:18 +02:00
Sayan Chowdhury
5ae07c842e sys-firmware/intel-microcode: rev bump; sync with upstream
- Mask sig 0x000406e3, pf_mask 0xc0, revision=0xd6 [Link 1]
- Mask sig 0x000406e3, pf_mask 0xc0, revision=0xda [Bug 722768]
This will basically downgrade microcode for 0x000406e3 back to rev 0x00d6 from 2019-10-03.

Link1: c1d8ba62ab

Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-06-15 20:33:32 +05:30
Oleksii Samorukov
d766dab629 Build app-emulation/amazon-ssm-agent with EC2 AMI images
- Add Dependency 
- Add ignition configuration to create systemd units and SSM config
2020-06-12 01:34:45 +02:00
Oleksii Samorukov
985a767e7f Add app-emulation/amazon-ssm-agent ebuild 2020-06-12 01:34:45 +02:00
Kai Lüke
3dadf125c8
Filter out unicode characters in package content list
For some unicode characters in ca-certificates file names "rev" complains
about an "invalid or incomplete multibyte or wide character"
and gives no output.
Filter out any unexpected characters for "rev" and replace them with "?"
so that "ls some?name" will still resolve the original name.
2020-06-11 18:00:12 +02:00
Sayan Chowdhury
cbbed18c20 sys-firmware/intel-microcode: update to 20200609
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-06-11 15:28:01 +05:30
Flatcar Buildbot
494389b705 chore(metadata): Regenerate cache 2020-06-11 07:07:10 +00:00
Flatcar Buildbot
0705546e21 sys-kernel: Upgrade coreos-kernel 5.4.44 to 5.4.46 2020-06-11 07:07:10 +00:00
Dongsu Park
b13976285e build_library: deal with both virtual/rust and dev-lang/rust
Toolchain utils have installed only `dev-lang/rust`. It could result
in version mismatch between `virtual/rust` and `dev-lang/rust`, because
`dev-lang/rust` does not automatically pull in `virtual/rust`.

So install `virtual/rust` instead of `dev-lang/rust`.
2020-06-10 20:30:22 +02:00
Dongsu Park
8047522874 build_library/catalyst: Update virtual/rust during catalyst stage1
Install `virtual/rust` to avoid version conflicts that happen in case of
rust versions in the SDK being different from those in the new ebuilds.

`/usr/share/catalyst/targets/stage1/stage1-chroot.sh` installs gcc and
its dependencies, including `dev-lang/rust`, while `virtual/rust` does
not get updated. That results in version conflicts between
`virtual/rust` and `dev-lang/rust`. To avoid such an issue, we should
update also `virtual/rust` when building stage1. Since `virtual/rust`
automatically pulls in `dev-lang/rust`, we do not need to explicitly
specify `dev-lang/rust` here.
2020-06-10 20:28:40 +02:00