X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-keystone%2Fkeystone-search-in-etc-directory-for-config-files.patch;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-keystone%2Fkeystone-search-in-etc-directory-for-config-files.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=6f88e17c9b88ffcc1139e4c40b06d470b410bfbb;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-keystone/keystone-search-in-etc-directory-for-config-files.patch b/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-keystone/keystone-search-in-etc-directory-for-config-files.patch deleted file mode 100644 index 6f88e17..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-keystone/keystone-search-in-etc-directory-for-config-files.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ed3c1f7c8eb90506eda1aafbc6d4de3b9e2abe71 Mon Sep 17 00:00:00 2001 -From: Keith Holman -Date: Tue, 3 Jun 2014 11:28:23 -0400 -Subject: [PATCH] keystone: search in etc directory for config files - -The core.py file in the tests directory is setup to find -the file as they exist in the source code tree. When -deployed some configuration files are moved to the /etc -directory. This modification changes the test code to -find the files in the new location. - -Signed-off-by: Keith Holman ---- - keystone/tests/core.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -Index: git/keystone/tests/core.py -=================================================================== ---- git.orig/keystone/tests/core.py -+++ git/keystone/tests/core.py -@@ -68,9 +68,9 @@ - PID = six.text_type(os.getpid()) - TESTSDIR = os.path.dirname(os.path.abspath(__file__)) - TESTCONF = os.path.join(TESTSDIR, 'config_files') --ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..', '..')) -+ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..')) - VENDOR = os.path.join(ROOTDIR, 'vendor') --ETCDIR = os.path.join(ROOTDIR, 'etc') -+ETCDIR = "/etc/keystone" - - - def _calc_tmpdir(): -@@ -560,7 +560,7 @@ - def _paste_config(self, config): - if not config.startswith('config:'): - test_path = os.path.join(TESTSDIR, config) -- etc_path = os.path.join(ROOTDIR, 'etc', config) -+ etc_path = os.path.join(ETCDIR, config) - for path in [test_path, etc_path]: - if os.path.exists('%s-paste.ini' % path): - return 'config:%s-paste.ini' % path