mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
overlay coreos-base/oem-qemu: Make it a sysext package
It isn't doing much as nothing QEMU-specific was being installed into the OEM partition. With that done, we opt into building an OEM sysext image for QEMU platform.
This commit is contained in:
parent
995910cd78
commit
8b17ca2b02
@ -131,17 +131,23 @@ IMG_DEFAULT_CPUS=2
|
|||||||
IMG_qemu_DISK_FORMAT=qcow2
|
IMG_qemu_DISK_FORMAT=qcow2
|
||||||
IMG_qemu_DISK_LAYOUT=vm
|
IMG_qemu_DISK_LAYOUT=vm
|
||||||
IMG_qemu_CONF_FORMAT=qemu
|
IMG_qemu_CONF_FORMAT=qemu
|
||||||
IMG_qemu_OEM_PACKAGE=oem-qemu
|
IMG_qemu_OEM_USE=qemu
|
||||||
|
IMG_qemu_OEM_PACKAGE=common-oem-files
|
||||||
|
IMG_qemu_OEM_SYSEXT=oem-qemu
|
||||||
|
|
||||||
IMG_qemu_uefi_DISK_FORMAT=qcow2
|
IMG_qemu_uefi_DISK_FORMAT=qcow2
|
||||||
IMG_qemu_uefi_DISK_LAYOUT=vm
|
IMG_qemu_uefi_DISK_LAYOUT=vm
|
||||||
IMG_qemu_uefi_CONF_FORMAT=qemu_uefi
|
IMG_qemu_uefi_CONF_FORMAT=qemu_uefi
|
||||||
IMG_qemu_uefi_OEM_PACKAGE=oem-qemu
|
IMG_qemu_uefi_OEM_USE=qemu
|
||||||
|
IMG_qemu_uefi_OEM_PACKAGE=common-oem-files
|
||||||
|
IMG_qemu_uefi_OEM_SYSEXT=oem-qemu
|
||||||
|
|
||||||
IMG_qemu_uefi_secure_DISK_FORMAT=qcow2
|
IMG_qemu_uefi_secure_DISK_FORMAT=qcow2
|
||||||
IMG_qemu_uefi_secure_DISK_LAYOUT=vm
|
IMG_qemu_uefi_secure_DISK_LAYOUT=vm
|
||||||
IMG_qemu_uefi_secure_CONF_FORMAT=qemu_uefi_secure
|
IMG_qemu_uefi_secure_CONF_FORMAT=qemu_uefi_secure
|
||||||
IMG_qemu_uefi_secure_OEM_PACKAGE=oem-qemu
|
IMG_qemu_uefi_secure_OEM_USE=qemu
|
||||||
|
IMG_qemu_uefi_secure_OEM_PACKAGE=common-oem-files
|
||||||
|
IMG_qemu_uefi_secure_OEM_SYSEXT=oem-qemu
|
||||||
|
|
||||||
## xen
|
## xen
|
||||||
IMG_xen_CONF_FORMAT=xl
|
IMG_xen_CONF_FORMAT=xl
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
OEMIDS=(
|
OEMIDS=(
|
||||||
|
qemu
|
||||||
azure
|
azure
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
set linux_append="flatcar.autologin"
|
@ -1,4 +0,0 @@
|
|||||||
# Flatcar GRUB settings
|
|
||||||
|
|
||||||
set oem_id="qemu"
|
|
||||||
set linux_append="flatcar.autologin"
|
|
@ -1,5 +0,0 @@
|
|||||||
ID=qemu
|
|
||||||
VERSION_ID=@@OEM_VERSION_ID@@
|
|
||||||
NAME="QEMU"
|
|
||||||
HOME_URL="https://www.qemu.org/"
|
|
||||||
BUG_REPORT_URL="https://issues.flatcar.org"
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright (c) 2020 Kinvolk GmbH. All rights reserved.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="OEM suite for QEMU"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# no source directory
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
|
||||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "/oem"
|
|
||||||
doins "${FILESDIR}/grub.cfg"
|
|
||||||
doins "${T}/oem-release"
|
|
||||||
}
|
|
15
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-qemu/oem-qemu-0.0.2.ebuild
vendored
Normal file
15
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-qemu/oem-qemu-0.0.2.ebuild
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright (c) 2020 Kinvolk GmbH. All rights reserved.
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="OEM suite for QEMU"
|
||||||
|
HOMEPAGE="https://www.qemu.org/"
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
OEM_NAME="QEMU"
|
Loading…
Reference in New Issue
Block a user