summaryrefslogtreecommitdiffstats
path: root/mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-07 21:02:02 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-07 22:30:43 +0100
commitfbea9fae7a16f1375f7413ccd46146b015fc87ff (patch)
tree96487395efd167ace4056617a6b3590775708d3f /mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch
parentf8898b437e3ff5e8c64ff17441377f4cbe1a7a33 (diff)
patches: pharos: Drop patches merged upstream
Also, remove redundant pharos patch that adds prx mgmt IPs: - "Re-assign mgmt network to proxy nodes" as those values are set already (to different values!) by patch: + "extend public gateway support" While at it, `make patches-export` should clean the patch dir first. Change-Id: Ice106e5d48c7b4cd90ffc6af7441199034d4f546 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch')
-rw-r--r--mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch b/mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch
deleted file mode 100644
index da6e2166b..000000000
--- a/mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2017 Mirantis Inc., Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-Date: Tue, 17 Oct 2017 18:21:07 +0200
-Subject: [PATCH] PDF: generate_config: Fix abspath for '-j' arg
-
-Change-Id: I8a9076e7965bfd2bee7d298eb8e3b11e62ae66e7
-Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
----
- config/utils/generate_config.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/config/utils/generate_config.py b/config/utils/generate_config.py
-index 18af98d..22a27d3 100755
---- a/config/utils/generate_config.py
-+++ b/config/utils/generate_config.py
-@@ -38,7 +38,7 @@ def dpkg_arch(arch, to_dpkg=True):
- else:
- return ARCH_DPKG_TABLE[arch]
-
--ENV = Environment(loader=FileSystemLoader('./'))
-+ENV = Environment(loader=FileSystemLoader(os.path.dirname(ARGS.jinja2)))
- ENV.filters['ipaddr_index'] = ipaddr_index
- ENV.filters['dpkg_arch'] = dpkg_arch
-
-@@ -56,6 +56,6 @@ if os.path.exists(IDF_PATH):
- # print(DICT)
-
- # Render template and print generated conf to console
--TEMPLATE = ENV.get_template(ARGS.jinja2)
-+TEMPLATE = ENV.get_template(os.path.basename(ARGS.jinja2))
- #pylint: disable=superfluous-parens
- print(TEMPLATE.render(conf=DICT))