mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #2599 from bgilbert/oem-xendom0
coreos-base/oem-xendom0: drop package
This commit is contained in:
commit
9ec1e38c19
@ -1,32 +0,0 @@
|
|||||||
#cloud-config
|
|
||||||
|
|
||||||
coreos:
|
|
||||||
units:
|
|
||||||
- name: xenstored.service
|
|
||||||
command: start
|
|
||||||
runtime: yes
|
|
||||||
content: |
|
|
||||||
[Unit]
|
|
||||||
RequiresMountsFor=/proc/xen
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStartPre=/usr/sbin/modprobe xen-evtchn
|
|
||||||
ExecStart=/usr/sbin/xenstored --no-fork
|
|
||||||
ExecStartPost=/usr/bin/xenstore write /local/domain/0/name Domain-0
|
|
||||||
ExecStartPost=/usr/bin/xenstore write /local/domain/0/domid 0
|
|
||||||
- name: xenconsoled.service
|
|
||||||
command: start
|
|
||||||
runtime: yes
|
|
||||||
content: |
|
|
||||||
[Unit]
|
|
||||||
Requires=xenstored.service
|
|
||||||
After=xenstored.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/xenconsoled
|
|
||||||
oem:
|
|
||||||
id: xendom0
|
|
||||||
name: Xen Domain0 for Testing
|
|
||||||
version-id: @@OEM_VERSION_ID@@
|
|
||||||
home-url: https://coreos.com
|
|
||||||
bug-report-url: https://issues.coreos.com
|
|
@ -1,17 +0,0 @@
|
|||||||
# Boot CoreOS as Xen Domain0
|
|
||||||
|
|
||||||
set oem_id="xendom0"
|
|
||||||
|
|
||||||
set default=coreos-xen
|
|
||||||
|
|
||||||
set xen_console="console=vga,com1 com1=115200,8n1"
|
|
||||||
set linux_console="console=hvc0 console=tty0"
|
|
||||||
serial com0 --speed=115200 --word=8 --parity=no
|
|
||||||
terminal_input console serial_com0
|
|
||||||
terminal_output console serial_com0
|
|
||||||
|
|
||||||
menuentry "CoreOS on Xen" --id=coreos-xen {
|
|
||||||
multiboot /xen-@@XEN_VERSION@@.gz $xen_console noreboot
|
|
||||||
gptprio.next -d root -u usr_uuid
|
|
||||||
module /boot/vmlinuz $linux_console $linux_root usr=PARTUUID=$usr_uuid
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
</pkgmetadata>
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
DESCRIPTION="OEM suite for Xen testing"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# no source directory
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -e "s%@@OEM_VERSION_ID@@%${PVR}%g" \
|
|
||||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
|
||||||
sed -e "s%@@XEN_VERSION@@%${PV}%g" \
|
|
||||||
"${FILESDIR}/grub.cfg" > "${T}/grub.cfg" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "/usr/share/oem"
|
|
||||||
doins "${T}/cloud-config.yml"
|
|
||||||
doins "${T}/grub.cfg"
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
DEFINED_PHASES=install prepare
|
|
||||||
DESCRIPTION=OEM suite for Xen testing
|
|
||||||
EAPI=5
|
|
||||||
KEYWORDS=amd64
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
SLOT=0
|
|
||||||
_md5_=baae76648c80050a2ceda22b895032e7
|
|
Loading…
x
Reference in New Issue
Block a user