This pulls in
https://github.com/flatcar/bootengine/pull/63
to prevent the bootloop that sometimes happened and now happens more
often, e.g., as seen with the coreos.update.badusr kola test.
It isn't doing much as nothing QEMU-specific was being installed into
the OEM partition.
With that done, we opt into building an OEM sysext image for QEMU
platform.
This package will be used for the sysext image, instead of for
installing files into /usr/share/oem. This means that we can drop some
files or move them elsewhere. The systemd service file is not needed,
because it is installed by the app-emulation/wa-linux-agent package
now. This also means that the ignition file as lost its purpose. The
grub.cfg and oem-release must be installed in /usr/share/oem, next to
the sysext raw image file, so handling of these files is moved to the
newly added coreos-base/common-oem-files package. `eject` symlink to
`/usr/bin/true` is installed in the newly added manglefs.sh script.
With this done, we also opt into building an OEM sysext image for
Azure platform.
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.
This commit moves containerd, cri-tools, docker, docker-cli and
docker-proxy from app-emulation to app-containers.
Also move app-emulation/docker-runc to app-containers as runc. The
docker-runc name seems to be an artifact from the older versions of
docker, where it needed to use a fork of runc instead of upstream. But
now, docker-runc was actually using upstream code, so simplify the
name now.
Adapt all the other files to the new package names.
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.