summaryrefslogtreecommitdiffstats
path: root/patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-06-17 19:36:51 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-06-17 19:43:32 +0200
commitfb356f4606884ec608116e2cc9f4d9ac1eeebdda (patch)
treef2cf2cc73b3d3b37c1cd905c66132f784f76bdb8 /patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch
parent440c1f1321eb06f570207506d212220661bd3a9d (diff)
Fix: f-l: upload_cirros glance cmd, syntar err.
While at it split another patch in f-l in two. Change-Id: Ife31a94447176798c3cf7052408ffeddb1e753ff Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch')
-rw-r--r--patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch b/patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch
new file mode 100644
index 00000000..04e2abf6
--- /dev/null
+++ b/patches/fuel-library/0007-Install-vgabios-and-link-for-aarch64.patch
@@ -0,0 +1,30 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Tue, 15 Mar 2016 11:33:52 +0100
+Subject: [PATCH] Install vgabios (and link) for aarch64
+
+vgabios is needed for standard VGA mode in AArch64 VMs, so
+install it by default on AArch64 and create missing link
+in </usr/share/qemu> to </usr/share/vgabios/vgabios.bin>.
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
+---
+ deployment/puppet/openstack_tasks/manifests/roles/compute.pp | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/deployment/puppet/openstack_tasks/manifests/roles/compute.pp b/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
+index ca1b2c4..c0349dc 100644
+--- a/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
++++ b/deployment/puppet/openstack_tasks/manifests/roles/compute.pp
+@@ -364,3 +368,11 @@ class openstack::compute (
+ libvirt_service_name => $::nova::params::libvirt_service_name,
++ } ->
++ package { 'vgabios':
++ ensure => present;
++ } ->
++ file { '/usr/share/qemu/vgabios-stdvga.bin':
++ ensure => link,
++ target => '/usr/share/vgabios/vgabios.bin',
++ replace => false,
+ }
+