mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #2603 from AlexNPavel/oem-virtualbox
coreos-base: Add oem-virtualbox package
This commit is contained in:
commit
db4f78508c
3
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/files/grub.cfg
vendored
Normal file
3
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/files/grub.cfg
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# CoreOS GRUB settings
|
||||||
|
|
||||||
|
set oem_id="virtualbox"
|
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/files/oem-release
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/files/oem-release
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
ID=virtualbox
|
||||||
|
VERSION_ID=@@OEM_VERSION_ID@@
|
||||||
|
NAME="Oracle VirtualBox"
|
||||||
|
BUG_REPORT_URL="https://issues.coreos.com"
|
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/metadata.xml
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-virtualbox/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>
|
@ -0,0 +1,27 @@
|
|||||||
|
# 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 VirtualBox"
|
||||||
|
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}/oem-release" > "${T}/oem-release" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/usr/share/oem"
|
||||||
|
doins "${FILESDIR}/grub.cfg"
|
||||||
|
doins "${T}/oem-release"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user