mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-07 11:42:11 +01:00
overlay coreos-base/oem-hyperv: Turn it into sysext
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
84a0ac7993
commit
a0fc0432ee
@ -299,12 +299,15 @@ IMG_hetzner_OEM_SYSEXT=oem-hetzner
|
||||
|
||||
## hyper-v
|
||||
IMG_hyperv_DISK_FORMAT=vhd
|
||||
IMG_hyperv_OEM_PACKAGE=oem-hyperv
|
||||
IMG_hyperv_OEM_USE=hyperv
|
||||
IMG_hyperv_OEM_PACKAGE=common-oem-files
|
||||
IMG_hyperv_OEM_SYSEXT=oem-hyperv
|
||||
|
||||
## hyper-v vhdx
|
||||
IMG_hyperv_vhdx_DISK_FORMAT=vhdx
|
||||
IMG_hyperv_vhdx_OEM_PACKAGE=oem-hyperv
|
||||
|
||||
IMG_hyperv_vhdx_OEM_USE=hyperv
|
||||
IMG_hyperv_vhdx_OEM_PACKAGE=common-oem-files
|
||||
IMG_hyperv_vhdx_OEM_SYSEXT=oem-hyperv
|
||||
|
||||
## cloudsigma
|
||||
IMG_cloudsigma_DISK_FORMAT=qcow2
|
||||
|
||||
@ -48,6 +48,7 @@ ARM64_ONLY_OEMIDS=(
|
||||
AMD64_ONLY_OEMIDS=(
|
||||
digitalocean
|
||||
gce
|
||||
hyperv
|
||||
vmware
|
||||
)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="OEM suite for Hyper-V"
|
||||
HOMEPAGE=""
|
||||
@ -12,21 +12,11 @@ SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
# no source directory
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="
|
||||
app-emulation/hv-daemons
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
OEM_NAME="Microsoft Hyper-V"
|
||||
|
||||
src_install() {
|
||||
insinto "/oem"
|
||||
doins "${FILESDIR}/grub.cfg"
|
||||
doins "${T}/oem-release"
|
||||
}
|
||||
# no source directory
|
||||
S="${WORKDIR}"
|
||||
Loading…
x
Reference in New Issue
Block a user