[fdio] Fix VPP package pinning 57/66857/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 4 Feb 2019 15:08:06 +0000 (16:08 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 4 Feb 2019 21:33:36 +0000 (21:33 +0000)
Previously, Ubuntu ignored the VPP pinning with:

N: Ignoring file 'fdio.ubuntu' in directory '/etc/apt/preferences.d/'
as it has an invalid filename extension

Change-Id: I5ee60c1715bea3b4180b55125dc72962a70c2754
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit a4e83d75373702f2cb44f394c426750318611c5e)

mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml

index d6394a4..08bc848 100644 (file)
@@ -12,7 +12,7 @@ parameters:
   linux:
     system:
       repo:
-        fdio.ubuntu:
+        fdio-ubuntu:
           # yamllint disable-line rule:line-length
           source: "deb [trusted=yes] http://nexus.fd.io/content/repositories/fd.io.ubuntu.${_param:linux_system_codename}.main/ ./"
           pin:
@@ -20,7 +20,7 @@ parameters:
               priority: 1200
               package: 'vpp*'
         # NOTE(armband): For now we define all repos on all archs, let APT figure it out
-        fdio.ubuntu-arm:
+        fdio-ubuntu-arm:
           # yamllint disable-line rule:line-length
           source: "deb [trusted=yes] http://nexus.fd.io/content/repositories/fd.io.ubuntu-arm.${_param:linux_system_codename}.main/ ./"
         networking-vpp: