mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-04 13:02:42 +01:00
coreos-base/oem-xen: Introduce xen configs
Simple stuff, setting console to hvc0 and enabling autologin. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
265ba817dc
commit
2b7ea39ce2
@ -133,6 +133,7 @@ IMG_qemu_uefi_OEM_SYSEXT=oem-qemu
|
||||
|
||||
## xen
|
||||
IMG_xen_CONF_FORMAT=xl
|
||||
IMG_xen_OEM_PACKAGE=oem-xen
|
||||
|
||||
## virtualbox
|
||||
IMG_virtualbox_DISK_FORMAT=vmdk_ide
|
||||
|
||||
3
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/files/grub.cfg
vendored
Normal file
3
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/files/grub.cfg
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Flatcar GRUB settings
|
||||
set linux_console="console=hvc0"
|
||||
set linux_append="flatcar.autologin"
|
||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/files/oem-release
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/files/oem-release
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
ID=xen
|
||||
VERSION_ID=@@OEM_VERSION_ID@@
|
||||
NAME="Xen"
|
||||
BUG_REPORT_URL="https://issues.flatcar.org"
|
||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/metadata.xml
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/metadata.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
||||
28
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/oem-xen-0.0.1.ebuild
vendored
Normal file
28
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-xen/oem-xen-0.0.1.ebuild
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Xen"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user