-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oem: port GCE to sysext image #1441
Conversation
@@ -0,0 +1 @@ | |||
- GCP OEM images now use a systemd-sysext image for layering additional platform-specific software on top of `/usr` ([flatcar#1146](https://github.com/flatcar/Flatcar/issues/1146)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- GCP OEM images now use a systemd-sysext image for layering additional platform-specific software on top of `/usr` ([flatcar#1146](https://github.com/flatcar/Flatcar/issues/1146)) | |
- GCP OEM images now use a systemd-sysext image for layering additional platform-specific software on top of `/usr` and being part of the OEM A/B updates ([flatcar#1146](https://github.com/flatcar/Flatcar/issues/1146)) |
...rc/third_party/coreos-overlay/coreos-base/oem-gce/files/units/oem-gce-enable-oslogin.service
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more task is to boot a GCE image, look at created files, and add them to the migration cleanup step in sdk_container/src/third_party/coreos-overlay/coreos-base/misc-files/files/oems/azure
(some can be inferred from the base Ign but there is also /oem/flatcar-oem-gce.aci
with the copy to /var/lib/flatcar-oem-gce.img
and so on).
Edit: Done together, thanks!
/etc/systemd/system/oem-gce.service
/etc/systemd/system/multi-user.target.wants/oem-gce.service
/etc/systemd/system/oem-gce-enable-oslogin.service
/etc/systemd/system/sysinit.target.wants/oem-gce-enable-oslogin.service
/etc/systemd/system/oem-cloudinit.service
/etc/systemd/system/multi-user.target.wants/oem-cloudinit.service
/var/lib/flatcar-oem-gce
/var/lib/flatcar-oem-gce.img
/oem/flatcar-oem-gce.aci
/oem/bin/
/oem/units/
/oem/base/
/oem/files/
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/bin/init.sh
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/units/setup-oem.service
Show resolved
Hide resolved
# no source directory | ||
S="${WORKDIR}" | ||
|
||
RDEPEND="coreos-base/coreos-oem-gce" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this package and move the deps here, or? I think only app-emulation/google-compute-engine
is needed, the rest looks related to the ACI setup.
ce9e65e
to
4433373
Compare
4433373
to
54c1900
Compare
54c1900
to
3130b33
Compare
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
3130b33
to
d92b9c0
Compare
In this PR, we migrate the last important OEM partition to sysext image. The main change is the removal of the GCE ACI image started via systemd-nspawn.
changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.Closes: flatcar/Flatcar#1146
TODO: