22914 Commits

Author SHA1 Message Date
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
Kai Lüke
5c202dc3ec coreos-devel/mantle: Use correct Apache license identifier
There is no portage-stable/licenses/Apache-2 file because the
correct name for the license is Apache-2.0, and the missing
license file causes the build to fail.
2020-06-10 19:11:24 +02:00
Sayan Chowdhury
b6b6f60a69 sys-apps/systemd: Manually enable the getty service
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-06-10 20:07:46 +05:30
Kai Lüke
c7ad59e28c
build_library: Enhance license info and store it on the image
The license JSON file did only include the package names but not
any other metadata. Also since the file was not on the image itself,
it had to be downloaded.
Add more metadata to the license JSON and store it on the image.
2020-06-09 21:09:44 +02:00
Dongsu Park
cd864ba474 Merge pull request #411 from flatcar-linux/dongsu/bind-tools-arm-alpha
profiles: enable bind-tools again for ARM for alpha
2020-06-09 17:56:07 +02:00
Dongsu Park
b7d56c85eb sys-auth/sssd: do not depend on gssapi
Now that bind-tools are built with gssapi only for AMD, without gssapi
for ARM, we need to get the USE flag requirement relaxed. Profile for
each architecture will instead choose whether to use gssapi.
2020-06-09 12:40:46 +02:00
Dongsu Park
13876614a7 profiles: enable bind-tools again for ARM
bind-tools has been disabled since a long time, probably because of
build errors around cross-compilation for ARM. However, bind-tools
binaries should be at least included in ARM images. So enable bind-tools
again for ARM without gssapi included.

To do that, disable gssapi for bind-tools only in the ARM profile, and
enable gssapi only in the AMD profile.
2020-06-09 12:40:43 +02:00
Dongsu Park
6b03ce62ee Merge pull request #407 from flatcar-linux/go-1.13.12-alpha
Upgrade Go in Alpha from 1.13.11 to 1.13.12
2020-06-08 18:33:23 +02:00
Flatcar Buildbot
68df572bbe chore(metadata): Regenerate cache 2020-06-08 07:22:21 +00:00
Flatcar Buildbot
03f94673f4 dev-lang: Upgrade Go 1.13.11 to 1.13.12 2020-06-08 07:22:21 +00:00
Dongsu Park
ea85bc37f0 Merge pull request #393 from flatcar-linux/linux-5.4.44-alpha
Upgrade Linux Kernel in Alpha from 5.4.43 to 5.4.44
2020-06-05 17:56:19 +02:00
shredgar
c666ae5614
Update create-coreos-vdi - grammar change
Fixed a grammar based line at `Line 47`:
`echo "$0: Target path (${DEST}) do not exists." >&2` -> `echo "$0: Target path (${DEST}) does not exist." >&2`
2020-06-05 12:12:50 +02:00
Dongsu Park
61aa059a13 app-emulation/docker: set go1.13 in DOCKER_BUILDTAGS
Since Docker >= 19.03.9 started to depend on github.com/pkg/errors
v0.9.1 or newer, it is now necessary to set `go1.13` in
`DOCKER_BUILDTAGS`. Otherwise, it cannot find `Is` function.

See also https://github.com/pkg/errors/blob/v0.9.1/go113.go#L16 .
2020-06-03 11:59:05 +02:00
Flatcar Buildbot
0cb5289164 chore(metadata): Regenerate cache 2020-06-03 07:07:45 +00:00
Flatcar Buildbot
6f08bef5ce sys-kernel: Upgrade coreos-kernel 5.4.43 to 5.4.44 2020-06-03 07:07:45 +00:00