mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 18:02:02 +01:00
Merge pull request #2936 from bgilbert/external-oem-configs
coreos-base/oem-*: move Ignition base/default configs into OEMs
This commit is contained in:
commit
088a406895
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
34
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/base.ign
vendored
Normal file
34
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/base.ign
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/waagent.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/waagent.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "waagent.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "etcd2.service",
|
||||||
|
"dropins": [
|
||||||
|
{
|
||||||
|
"name": "10-oem.conf",
|
||||||
|
"contents": "[Service]\nEnvironment=ETCD_ELECTION_TIMEOUT=1200\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/default.ign
vendored
Normal file
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-azure/files/base/default.ign
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from Azure metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=azure\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -26,5 +26,6 @@ src_install() {
|
|||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
doins -r "${FILESDIR}/units"
|
doins -r "${FILESDIR}/units"
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
13
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/base.ign
vendored
Normal file
13
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/base.ign
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/default.ign
vendored
Normal file
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-digitalocean/files/base/default.ign
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from DigitalOcean metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=digitalocean\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -23,4 +23,5 @@ src_install() {
|
|||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
22
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/base-ec2.ign
vendored
Normal file
22
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/base-ec2.ign
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "etcd2.service",
|
||||||
|
"dropins": [
|
||||||
|
{
|
||||||
|
"name": "10-oem.conf",
|
||||||
|
"contents": "[Service]\nEnvironment=ETCD_ELECTION_TIMEOUT=1200\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
22
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/default.ign
vendored
Normal file
22
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/base/default.ign
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "user-configdrive.service",
|
||||||
|
"mask": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "user-configvirtfs.service",
|
||||||
|
"mask": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from platform metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=ec2-compat\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -50,4 +50,11 @@ src_install() {
|
|||||||
elif use brightbox ; then
|
elif use brightbox ; then
|
||||||
newins "${FILESDIR}/grub-brightbox.cfg" grub.cfg
|
newins "${FILESDIR}/grub-brightbox.cfg" grub.cfg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
insinto "/usr/share/oem/base"
|
||||||
|
doins "${FILESDIR}/base/README"
|
||||||
|
doins "${FILESDIR}/base/default.ign"
|
||||||
|
if use ec2 ; then
|
||||||
|
newins "${FILESDIR}/base/base-ec2.ign" base.ign
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
45
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/base.ign
vendored
Normal file
45
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/base.ign
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/oem-gce.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/oem-gce.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/hosts",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///files/hosts"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/profile.d/google-cloud-sdk.sh",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///files/google-cloud-sdk.sh"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oem-gce.service",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/default.ign
vendored
Normal file
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/base/default.ign
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from GCE metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=gce\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
alias gcloud="(docker images google/cloud-sdk || docker pull google/cloud-sdk) > /dev/null;docker run -ti --rm --net=host -v $HOME/.config:/root/.config -v /var/run/docker.sock:/var/run/docker.sock google/cloud-sdk gcloud"
|
||||||
|
alias gsutil="(docker images google/cloud-sdk || docker pull google/cloud-sdk) > /dev/null;docker run -ti --rm --net=host -v $HOME/.config:/root/.config google/cloud-sdk gsutil"
|
||||||
2
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/files/hosts
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-gce/files/files/hosts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
169.254.169.254 metadata
|
||||||
|
127.0.0.1 localhost
|
||||||
@ -24,5 +24,7 @@ src_install() {
|
|||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
|
doins -r "${FILESDIR}/files"
|
||||||
doins -r "${FILESDIR}/units"
|
doins -r "${FILESDIR}/units"
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-oracle-oci/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-oracle-oci/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
45
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-oracle-oci/files/base/base.ign
vendored
Normal file
45
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-oracle-oci/files/base/base.ign
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/oracle-oci-root-setup.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/oracle-oci-root-setup.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/oracle-oci-iptables.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/oracle-oci-iptables.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iscsid.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oracle-oci-root-setup.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "oracle-oci-iptables.service",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -24,5 +24,6 @@ src_install() {
|
|||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${FILESDIR}/iptables-rules"
|
doins "${FILESDIR}/iptables-rules"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
doins -r "${FILESDIR}/units"
|
doins -r "${FILESDIR}/units"
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in userdata.
|
||||||
29
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/base.ign
vendored
Normal file
29
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/base.ign
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/packet-phone-home.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/packet-phone-home.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "coreos-metadata-sshkeys@.service",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "packet-phone-home.service",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/default.ign
vendored
Normal file
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-packet/files/base/default.ign
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from Packet metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=packet\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -23,5 +23,6 @@ src_install() {
|
|||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
doins -r "${FILESDIR}/units"
|
doins -r "${FILESDIR}/units"
|
||||||
}
|
}
|
||||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/README
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/README
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
These Ignition configs are part of the OEM configuration. Do not modify
|
||||||
|
them. If you want to write an Ignition config directly to disk, put it in
|
||||||
|
../config.ign and it will be applied at first boot instead of a config
|
||||||
|
in guestinfo.
|
||||||
25
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/base.ign
vendored
Normal file
25
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/base.ign
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"storage": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filesystem": "root",
|
||||||
|
"path": "/etc/systemd/system/vmtoolsd.service",
|
||||||
|
"contents": {
|
||||||
|
"source": "oem:///units/vmtoolsd.service"
|
||||||
|
},
|
||||||
|
"mode": 292
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "vmtoolsd.service",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/default.ign
vendored
Normal file
14
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vmware/files/base/default.ign
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ignition": {
|
||||||
|
"version": "2.1.0"
|
||||||
|
},
|
||||||
|
"systemd": {
|
||||||
|
"units": [
|
||||||
|
{
|
||||||
|
"name": "oem-cloudinit.service",
|
||||||
|
"enabled": true,
|
||||||
|
"contents": "[Unit]\nDescription=Cloudinit from VMware metadata\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/coreos-cloudinit --oem=vmware\n\n[Install]\nWantedBy=multi-user.target\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -29,5 +29,6 @@ src_install() {
|
|||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
doins "${T}/oem-release"
|
doins "${T}/oem-release"
|
||||||
|
doins -r "${FILESDIR}/base"
|
||||||
doins -r "${FILESDIR}/units"
|
doins -r "${FILESDIR}/units"
|
||||||
}
|
}
|
||||||
@ -10,7 +10,7 @@ CROS_WORKON_REPO="git://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="f927ba07477286996d636e658bd8daaad9eccb98"
|
CROS_WORKON_COMMIT="60d29e066913fa856485b5cb90dd6208c18bcc73"
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -32,6 +32,7 @@ src_install() {
|
|||||||
chmod +x "${D}"/usr/lib/dracut/modules.d/10*-generator/*-generator \
|
chmod +x "${D}"/usr/lib/dracut/modules.d/10*-generator/*-generator \
|
||||||
"${D}"/usr/lib/dracut/modules.d/10diskless-generator/diskless-btrfs \
|
"${D}"/usr/lib/dracut/modules.d/10diskless-generator/diskless-btrfs \
|
||||||
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-generator \
|
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-generator \
|
||||||
|
"${D}"/usr/lib/dracut/modules.d/30ignition/ignition-setup.sh \
|
||||||
"${D}"/usr/lib/dracut/modules.d/30ignition/retry-umount.sh \
|
"${D}"/usr/lib/dracut/modules.d/30ignition/retry-umount.sh \
|
||||||
"${D}"/usr/lib/dracut/modules.d/90iscsi-root/iscsi-root-generator \
|
"${D}"/usr/lib/dracut/modules.d/90iscsi-root/iscsi-root-generator \
|
||||||
"${D}"/usr/lib/dracut/modules.d/99setup-root/initrd-setup-root \
|
"${D}"/usr/lib/dracut/modules.d/99setup-root/initrd-setup-root \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user