From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=lgut.eu Authentication-Results: passt.top; dkim=pass (2048-bit key; unprotected) header.d=lgut-eu.20230601.gappssmtp.com header.i=@lgut-eu.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=y7gKJQzE; dkim-atps=neutral Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by passt.top (Postfix) with ESMTPS id 58CED5A026E for ; Wed, 18 Sep 2024 12:17:05 +0200 (CEST) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3787ddbd5a2so3903728f8f.0 for ; Wed, 18 Sep 2024 03:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lgut-eu.20230601.gappssmtp.com; s=20230601; t=1726654625; x=1727259425; darn=passt.top; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FKIBFTzU79Dz+H+moYJbRgOuxH7OS8a1P1TmOsMDee0=; b=y7gKJQzEvwbG5btkdIoPRJE7Hg9w4M5I35t2bNw93IaGnZQXov2N29mWz+0fNHJ+BF 4fMWJCIsP9SIDIEe1qP+KaDjYSVjZWP52+9i03VJq7DKdI6zJBPxWBiEHtLQcNRQug66 2o9m8+zWXHO5h31PqeTghmVKBdF+zX/7sy2hewyCJ0ztRwpN7p4XpB0eq219+76Bbs1z QysIR1f3ySYSIqjW1J5vFgbvcpBn2YRzfkBFnWJ8rEudt9Nn1nqbTlFPBwKQf4vxGGII dwGrivgjyMQLzUIHMW0oI2Xz2S9mI6k1Yzhv2dliGhVwBqSlFv6P7+Y9BWeI4Jz0Q27i b4Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726654625; x=1727259425; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FKIBFTzU79Dz+H+moYJbRgOuxH7OS8a1P1TmOsMDee0=; b=aePPR2zf7u5gEdmWQKQCoVsPT21o0lAiHPMeZjDtrvWIcO4SuxtmF8CVQ33Um2KjLC 5oaDUgSrFzVPN6x90fgyL+JMgaJLyaNN+rif1BnXBRkNr/8+c//SFAM+dHhp55xZ3sed dQ1Kwk2eNDB9Lan0MJTp2fq4W90esc98oJeeQQUU29mP0Af20dTom/0D5b2LYODSAX5l WlosoeOavtBDKv8bbS8sGdlCzmDiu7Xc+v88C8vjOaYJh/PanC49tfnW+HTuefBQd7nd 29KAvg1WOhy03UGan5FiZthcuqg6GPB0qxGhJS4QZ9JvTDoU8oRybSb5fFp2YKTDigH/ EGMg== X-Forwarded-Encrypted: i=1; AJvYcCUuMqiAedp5l5WWih8gxBM6+F5jVdjP3161ihsduuRh7imz863txuop5TOmh55PE7PqQ6OqqxhDzUg=@passt.top X-Gm-Message-State: AOJu0YxEsvNbp8kjqJe3fYNvQZKQ5FZqKOQOsQ1WDX+IKobAu0meIU9P BSC/lFsnha8gQArlqDX6Hwtwl6ffB3mTDxk6ZChcuGqRX8Bmw0IWpXUZ6IUKETU= X-Google-Smtp-Source: AGHT+IHF6+IqLjigPYnPEXGkfzO+9mTQgvP4PbEkhitfhonr3MTNjeBkNMQLoghG/muZvEbgN5sXcw== X-Received: by 2002:a05:6000:1f09:b0:371:8ca4:1b76 with SMTP id ffacd0b85a97d-378c2d12989mr10934249f8f.32.1726654624785; Wed, 18 Sep 2024 03:17:04 -0700 (PDT) Received: from localhost.localdomain (ip-046-005-002-171.um12.pools.vodafone-ip.de. [46.5.2.171]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73f99a4sm11863660f8f.57.2024.09.18.03.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 03:17:04 -0700 (PDT) From: Lukasz Gut To: sbrivio@redhat.com Subject: [PATCH v2 3/4] mbuto: Don't try to add ld when adding libraries Date: Wed, 18 Sep 2024 12:12:58 +0200 Message-ID: <20240918101532.85299-5-lgut@lgut.eu> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20240918101532.85299-1-lgut@lgut.eu> References: <20240918101532.85299-1-lgut@lgut.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 7XJ3SD7JG5ESYV42XFOOZVXVERRSR7R4 X-Message-ID-Hash: 7XJ3SD7JG5ESYV42XFOOZVXVERRSR7R4 X-MailFrom: lgut@lgut.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: sevinj.aghayeva@gmail.com, passt-dev@passt.top, Lukasz Gut X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: There is a function to add linker, but it was also added while copying other librares (as dep of libc). Now it is explicitely skipped. Signed-off-by: Lukasz Gut --- mbuto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbuto b/mbuto index 1f92bd9..4f860cd 100755 --- a/mbuto +++ b/mbuto @@ -685,6 +685,10 @@ __libs_copy() { [ "$("${BASENAME}" "${__path}")" = "libfakeroot-sysv.so" ] && \ continue + # ld is handled below, skip one reported by libc + [ "$("${BASENAME}" "${__path}")" = "ld-linux-x86-64.so.2" ] && \ + continue + __destpath="${wd}${__path}" [ -f "${__destpath}" ] && continue -- 2.46.1