aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-mirror/0002-Add-fuel-agent-dependencies-to-Ubuntu-mirror.patch
blob: d18c90a724e6b0eeec2aad5f1b0df328384ba9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Fri, 4 Mar 2016 00:59:54 +0100
Subject: [PATCH] Add fuel-agent dependencies to Ubuntu mirror.

Add qemu-user-static and binfmt-support to the list of packages
the local mirror of amd64 Ubuntu should contain.

NOTE: This is needed because fuel-agent from upstream mirror does not
list them as dependencies (not patched for cross-debootstrap).

FIXME: Will building/patching fuel-agent using OPNFV mechanism solve
missing deps from local mirror too?

FIXME: Remove udev package from this patch when Ubuntu Trusty on arm64
fixes persistent device names in the udev it ships out of the box.

FIXME: Remove lshw package from this patch when Ubuntu Trusty on arm64
fixes bug [1]: "AArch64: slow cpuinfo due to redundant loop".

Added armband-odl-leveldb-fix for patching ODL's leveldbjni without
building it for each deploy.

JIRA: ARMBAND-114

[1] https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1582181
---
 contrib/fuel_mirror/data/ubuntu.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/fuel_mirror/data/ubuntu.yaml b/contrib/fuel_mirror/data/ubuntu.yaml
index cd86ec9..18fb1ee 100644
--- a/contrib/fuel_mirror/data/ubuntu.yaml
+++ b/contrib/fuel_mirror/data/ubuntu.yaml
@@ -73,10 +73,12 @@ packages: &packages
      - "acpi-support"
      - "anacron"
      - "aptitude"
+     - "armband-odl-leveldb-fix"
      - "atop"
      - "acct"
      - "bash-completion"
      - "bc"
+     - "binfmt-support"
      - "build-essential"
      - "cloud-init"
      - "conntrackd"
@@ -101,6 +103,7 @@ packages: &packages
      - "linux-image-generic-lts-trusty"
      - "live-boot"
      - "livecd-rootfs"
+     - "lshw"
      - "mc"
      - "memcached"
      - "monit"
@@ -116,6 +119,7 @@ packages: &packages
      - "puppet"
      - "python-lesscpy"
      - "python-pip"
+     - "qemu-user-static"
      - "rsyslog-gnutls"
      - "rsyslog-relp"
      - "screen"
@@ -127,6 +131,7 @@ packages: &packages
      - "tmux"
      - "traceroute"
      - "ubuntu-standard"
+     - "udev"
      - "vim"
      - "virt-what"
      - "xinetd"