aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0022-bootstrap-Use-public-Ubuntu-ports-mirrors.patch
blob: ff13b39b2d9c2b56362bfb159e2a5c9178961329 (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
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Thu, 3 Mar 2016 19:18:27 +0100
Subject: [PATCH] bootstrap: Use public Ubuntu-ports mirrors.

Instead of relying on 127.0.0.1 partial Ubuntu mirror, use
public archives.
While doing so, switch to Ubuntu-ports, enabling  building arm64
bootstraps.

NOTE: This disables the abillity to build amd64 bootstraps with
current config.
---
 build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
index aa12c45..2e4843d 100644
--- a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
+++ b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
@@ -36,19 +36,19 @@
   repos:
     - name: ubuntu
       section: "main universe multiverse"
-      uri: "http://127.0.0.1:8080/mirrors/ubuntu"
+      uri: "http://ports.ubuntu.com/ubuntu-ports"
       priority:
       suite: trusty
       type: deb
     - name: ubuntu-updates
       section: "main universe multiverse"
-      uri: "http://127.0.0.1:8080/mirrors/ubuntu"
+      uri: "http://ports.ubuntu.com/ubuntu-ports"
       priority:
       suite: trusty-updates
       type: deb
     - name: ubuntu-security
       section: "main universe multiverse"
-      uri: "http://127.0.0.1:8080/mirrors/ubuntu"
+      uri: "http://ports.ubuntu.com/ubuntu-ports"
       priority:
       suite: trusty-security
       type: deb
@@ -60,2 +60,3 @@
   direct_repo_addresses:
+    - "ports.ubuntu.com"
     - "127.0.0.1"
#ifdef CONFIG_PM_SLEEP #define TEGRA114_MAX_STATES 2 #else #define TEGRA114_MAX_STATES 1 #endif #ifdef CONFIG_PM_SLEEP static int tegra114_idle_power_down(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { local_fiq_disable(); tegra_set_cpu_in_lp2(); cpu_pm_enter(); tick_broadcast_enter(); call_firmware_op(prepare_idle); /* Do suspend by ourselves if the firmware does not implement it */ if (call_firmware_op(do_idle, 0) == -ENOSYS) cpu_suspend(0, tegra30_sleep_cpu_secondary_finish); tick_broadcast_exit(); cpu_pm_exit(); tegra_clear_cpu_in_lp2(); local_fiq_enable(); return index; } #endif static struct cpuidle_driver tegra_idle_driver = { .name = "tegra_idle", .owner = THIS_MODULE, .state_count = TEGRA114_MAX_STATES, .states = { [0] = ARM_CPUIDLE_WFI_STATE_PWR(600), #ifdef CONFIG_PM_SLEEP [1] = { .enter = tegra114_idle_power_down, .exit_latency = 500, .target_residency = 1000, .power_usage = 0, .name = "powered-down", .desc = "CPU power gated", }, #endif }, }; int __init tegra114_cpuidle_init(void) { return cpuidle_register(&tegra_idle_driver, NULL); }