Skip to content

Commit 44ed7ca

Browse files
authored
Merge pull request #1441 from flatcar/tormath1/gcp-oem
oem: port GCE to sysext image
2 parents 90fb8ad + d92b9c0 commit 44ed7ca

File tree

20 files changed

+77
-201
lines changed

20 files changed

+77
-201
lines changed

build_library/vm_image_util.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,9 @@ IMG_iso_MEM=2048
256256
## gce, image tarball
257257
IMG_gce_DISK_LAYOUT=vm
258258
IMG_gce_CONF_FORMAT=gce
259-
IMG_gce_OEM_PACKAGE=oem-gce
260-
IMG_gce_OEM_ACI=gce
259+
IMG_gce_OEM_PACKAGE=common-oem-files
260+
IMG_gce_OEM_USE=gce
261+
IMG_gce_OEM_SYSEXT=oem-gce
261262

262263
## rackspace
263264
IMG_rackspace_OEM_PACKAGE=oem-rackspace
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- 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))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fi
3131
COMMON_OEMIDS=(
3232
ami
3333
azure
34+
gce
3435
openstack
3536
packet
3637
qemu

sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/grub.cfg renamed to sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/files/gce/grub.cfg.frag

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Flatcar GRUB settings
2-
3-
set oem_id="gce"
4-
51
# GCE only has a serial console.
62
set linux_console="console=ttyS0,115200n8"
73
serial com0 --speed=115200 --word=8 --parity=no

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-oem-gce/coreos-oem-gce-0.0.1-r6.ebuild

Lines changed: 0 additions & 1 deletion
This file was deleted.

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-oem-gce/coreos-oem-gce-0.0.1.ebuild

Lines changed: 0 additions & 20 deletions
This file was deleted.

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-oem-gce/files/manifest.in

Lines changed: 0 additions & 33 deletions
This file was deleted.

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-oem-gce/metadata.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/etc/systemd/system/multi-user.target.wants/oem-cloudinit.service
2+
/etc/systemd/system/multi-user.target.wants/oem-gce.service
3+
/etc/systemd/system/oem-cloudinit.service
4+
/etc/systemd/system/oem-gce-enable-oslogin.service
5+
/etc/systemd/system/oem-gce.service
6+
/etc/systemd/system/sysinit.target.wants/oem-gce-enable-oslogin.service
7+
/oem/base/
8+
/oem/bin/
9+
/oem/files/
10+
/oem/flatcar-oem-gce.aci
11+
/oem/units/
12+
/var/lib/flatcar-oem-gce
13+
/var/lib/flatcar-oem-gce.img

sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/README

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)