Th package will generate and install both grub.cfg and oem-release
files into /usr/share/oem. Each platform can customize the process by
providing their own fragments for each of the two files if necessary.
Since the contents of this package will be now a part of the sysext
image, we don't need any special OEM-specific hacks. We don't need to
install the package in /usr/share/oem directory any more, so update
the ebuild to use the Gentoo python machinery to install files in the
usual locations. This can also use a normal python package, so replace
dependencies on dev-lang/python-oem and dev-python/distro-oem with
dev-lang/python and dev-python/distro, respectively. The waagent.conf
file we used to provide is updated (to disable auto updates, for
example, and dropped obsolete options) and now is a part of the patch,
so it is installed by the python machinery.
It's from Gentoo commit 3d3624f4ebb26b9fc9c9ecbff7ff0c67b3f9aa4f.
We used to have it as a fork to replace cmake-based build system with
an autotools-based one. The reason was that we didn't provide cmake in
SDK, which is not true any more.
The mountpoint for the OEM partition got moved from /usr/share/oem to
/oem to avoid complications when applying a OEM sysext image in the
OEM partition - systemd was unmounting all the mountpoints under /usr
before applying the sysext, which made our OEM images unavailable.
There's still the /usr/share/oem symlink for compatibility, but it's
better to use the new location right away.
Use Go 1.19 as Go 1.12 does not exist.
Update amazon-ssm-agent to 3.2.985.0, because 2.3.1319.0 does not work
with Go 1.19.
Clean up unnecessary patches.
Update dev-lang/go-bootstrap to 1.18.6, by syncing with Gentoo commit
1b3154a4473deedaf3d1deb978f9a19739ac03af.
This is necessary because Go >= 1.20 requires go-bootstrap to be at
least 1.17.13.
Drop unnecessary Flatcar patches from go-bootstrap, and move the ebuild
from coreos-overlay to portage-stable.
Go 1.18 is already EOL, so no security update at all. Since
upstream docker projects already have Go 1.19, Flatcar should also have
that.
See also
5d6db84223/Dockerfile (L6).
Since Go 1.20 stopped shipping pre-compiled package archives for the
standard library in $GOROOT/pkg, it became impossible to install
pkg/linux_{amd64,arm64} for every version. To avoid build failure,
install the library if the Go slot number is 1.19 or older.
Also depend on go-bootstrap 1.17.13 or newer.
See also https://go.dev/doc/go1.20.
Update the default Go version from 1.19 to the latest 1.20.
Note, we still keep setting COREOS_GO_VERSION="go1.19" for
containerd, cri-tools, docker, docker-cli, docker-proxy, docker-runc,
following the default version of upstream projects.
Without DRM configured in the Linux kernel, the VNC console will show a
screen with the message: "Display output is not active".
Although the on QEMU-KVM AMD64 the issue is not presented, I have
enabled the same flags for consistency.
Fixes: https://github.com/flatcar/Flatcar/issues/1030