From 51a2c8ba51b8873ff415b6efe13a76d4146f543d Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Tue, 30 Jan 2024 11:46:42 +0300 Subject: [PATCH] Added debug patch for checking fail in build (added arch info) --- SOURCES/check_uexpected.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/SOURCES/check_uexpected.patch b/SOURCES/check_uexpected.patch index 4145d94..de49844 100644 --- a/SOURCES/check_uexpected.patch +++ b/SOURCES/check_uexpected.patch @@ -11,3 +11,15 @@ index 2eab19b..a00f1ba 100755 eprint(f'Config for {config_name} for policy {policy_name} ' 'differs from the existing one') return False +diff --git a/python/policygenerators/openssl.py b/python/policygenerators/openssl.py +index 75940d8..6d97ff3 100644 +--- a/python/policygenerators/openssl.py ++++ b/python/policygenerators/openssl.py +@@ -27,6 +27,7 @@ arch, links = platform.architecture() + library_path = '64' + if arch == '32bit': + library_path = '' ++print("I got such arch: %s" % arch) + + GOST_MODULE_ENABLE = ''' + [openssl_init]