From a3749cd598582d48ba87be0aaa0319e685f49ef1 Mon Sep 17 00:00:00 2001
From: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
Date: Tue, 23 Oct 2018 20:11:40 +0530
Subject: [PATCH] Drop libnss-wrapper hack

Now, with the libnss-unknown package included in our docker build
images, this hack can be safely dropped

Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
---
 Jenkinsfile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 597d8221..f0a1efd3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,10 +32,7 @@ sysroot_url_prefix = "https://images.apertis.org/" + (production ? "" : "test/${
 // SSH complains loudly if the current user is not in the user database, so fake that
 def withSshAgent(credentials, command) {
   sshagent(credentials: [ credentials, ] ) {
-    env.NSS_WRAPPER_PASSWD = "/tmp/passwd"
-    env.NSS_WRAPPER_GROUP = '/dev/null'
-    sh(script: 'echo docker:x:$(id -u):$(id -g):docker gecos:/tmp:/bin/false > ${NSS_WRAPPER_PASSWD}')
-    sh(script: "export LD_PRELOAD=libnss_wrapper.so; ${command}")
+    sh(script: "${command}")
   }
 }
 
-- 
GitLab