From 1872a76f04ab0082eb9ec787eb5284e6de3df106 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 27 Mar 2024 16:25:58 +0100 Subject: [PATCH] oem: provide akamai images Signed-off-by: Mathieu Tortuyaux --- build_library/vm_image_util.sh | 7 +++++++ ...s-0-r6.ebuild => common-oem-files-0-r7.ebuild} | 1 + .../coreos-base/oem-akamai/metadata.xml | 4 ++++ .../coreos-base/oem-akamai/oem-akamai-0.ebuild | 15 +++++++++++++++ 4 files changed, 27 insertions(+) rename sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/{common-oem-files-0-r6.ebuild => common-oem-files-0-r7.ebuild} (99%) create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index 8e8010cdf67..ac97d46a844 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -6,6 +6,7 @@ # Default values use the format IMG_DEFAULT_. VALID_IMG_TYPES=( + akamai ami ami_vmdk azure @@ -43,6 +44,7 @@ VALID_IMG_TYPES=( #list of oem package names, minus the oem- prefix VALID_OEM_PACKAGES=( + akamai azure cloudsigma cloudstack @@ -313,6 +315,11 @@ IMG_scaleway_OEM_PACKAGE=common-oem-files IMG_scaleway_OEM_USE=scaleway IMG_scaleway_OEM_SYSEXT=oem-scaleway +## akamai (Linode) +IMG_akamai_OEM_PACKAGE=common-oem-files +IMG_akamai_OEM_USE=akamai +IMG_akamai_OEM_SYSEXT=oem-akamai + ########################################################### # Print the default vm type for the specified board diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r6.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r7.ebuild similarity index 99% rename from sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r6.ebuild rename to sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r7.ebuild index c1dd66b61dc..cd6c658ad65 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r6.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r7.ebuild @@ -29,6 +29,7 @@ if [[ ${1:-} = 'flatcar-local-variables' ]]; then fi COMMON_OEMIDS=( + akamai ami azure openstack diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml new file mode 100644 index 00000000000..097975e3adc --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild new file mode 100644 index 00000000000..c0e36a012e9 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild @@ -0,0 +1,15 @@ +# Copyright (c) 2013 CoreOS, Inc.. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="OEM suite for Akamai (previously Linode)" +HOMEPAGE="https://www.linode.com" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm64" +IUSE="" + +OEM_NAME="Akamai"