From d5480e6f0aebeb9fc9b7a8e28d63f8bd7bd0a1a0 Mon Sep 17 00:00:00 2001 From: Gres Date: Sat, 2 May 2020 22:32:45 +0300 Subject: [PATCH] Bundle nss libs into appimage --- share/ci/appimage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/ci/appimage.py b/share/ci/appimage.py index cbdc126..e8f3d83 100644 --- a/share/ci/appimage.py +++ b/share/ci/appimage.py @@ -45,9 +45,11 @@ os.environ['VERSION'] = app_version # debug flags: -unsupported-bundle-everything -unsupported-allow-new-glibc flags = '' if os.getenv("DEBUG") is None else '-unsupported-allow-new-glibc' +additional_files = glob(ssl_dir + '/lib/lib*.so.*') + \ + glob('/usr/lib/x86_64-linux-gnu/nss/*') out_lib_dir = install_dir + '/usr/lib' os.makedirs(out_lib_dir, exist_ok=True) -for f in glob(ssl_dir + '/lib/lib*.so.*'): +for f in additional_files: c.print('>> Copying {} to {}'.format(f, out_lib_dir)) shutil.copy(f, out_lib_dir)