- Add a minimal USE flag for only installing libraries
- Change the Perl run-time dep to build-time only
- Disable building libraries requiring Python
- Disable building Perl JSON libraries
- Limit the size of bundled libraries
Co-authored-by: Dongsu Park <dpark@linux.microsoft.com>
For this vendor, the OEM ID from the oem-release file is different from
the oem.id kernel commandline parameter.
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
found by booting stable on AWS: `find /usr/share/oem` + checking the
content of files created by base Ignition.
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
while this ebuild will be dropped in the near future, we still need to
maintain openstack ebuild.
`flatcar-eks` was a runtime dependency of openstack/brightbox too. I
think it was a mistake ?
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
- drop the OEM mention
- install things under /usr/share/amazon/ssm
- add systemd unit from the upstream
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Build fails in >= 6.1.55 like below, because upstream stable Kernels
deleted the Kernel configs CONFIG_NET_CLS_RSVP*.
```
* ERROR: sys-kernel/coreos-modules-6.1.55::coreos failed (configure
phase):
* Requested options not enabled in build:
* CONFIG_NET_CLS_RSVP
* CONFIG_NET_CLS_RSVP6
```
Fix that by deleting the Kernel configs.
The compression feature of btrfs allows us to store more in the
size-limited /usr and OEM partitions. The size should of course still
be monitored to not bloat the image but more headroom helps to try
things out quickly without hitting the hard limit which fails the
build.
Use btrfs with zstd compression for the /usr partition. While for ext2
a hack exists to force read-only mounts by manipulating some bytes of
the filesystem, on btrfs we can use the subvolume read-only flag
instead which also works for the default top level subvolume. However,
it also makes also sense to mount the filesystem with the "norecovery"
mount option to prevent any write attempts even when the "ro" option is
set (not needed when using dm-verity in read-only mode but when
directly mounting without dm-verity). A new subvolumes is not created
because subvolumes don't offer anything special as long as we use the
A/B partition update mechanism (but they could be an alternative for
that). Note that switching to the btrfs on the /usr partition is only
possible when the Flatcar Stable release has all patches in
update-engine and seismograph's rootdev.