From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 27 Nov 2024 08:26:00 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f63.google.com (mail-lf1-f63.google.com [209.85.167.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AR7Q0p5011902 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Nov 2024 08:26:00 +0100 Received: by mail-lf1-f63.google.com with SMTP id 2adb3069b0e04-53daaf7eb9esf555143e87.3 for ; Tue, 26 Nov 2024 23:26:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732692355; cv=pass; d=google.com; s=arc-20240605; b=GbY7Q+irNrNsM9HI11WimjJyzSoTasEOroXzoa2Fi0jCiWUE98jUFCNB3MLrqtzIBN 6i29NUq5uJFtm7SZvK+8jvxBWQ1T/1wSe2CqPfHsy13VZDzcA2kPCE+GvjA2shbjuls1 yHMfxHHJt0LVu0rOb2oh5Sx2n/AXL8/2HOSXDiAcNbllABOKASit6MZI2R7KHRQkWpEx /Rusi3+V6XehBHU2fqWbFp/j5juoD/aj8jUXJLVjpKpB8/OQVCDdRqPLFiHVfLVBDQH8 Y9/SbN2L8GsfHrVkcbXqoLW5mGeaQGR4iyQeztOHhFr/IvBtgmU2zY5xlUUnO4Aw3q02 Z0UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=/bykHnoYni8wrrz/8qBKBXoNhV7g+cnU4z/Es+qjG0g=; fh=kTDfZWaEvLInxPfoMlsvNHL+O9KcSNVN8yfjiT915ic=; b=c9JX8mt1C+NCIawWmYavoriqcFvhIbkl5k5LqKDCy7VHpF+ulDWy1Fh+teFGJJZ2+W JMGHOusun/bWjW0oRRDTR4DPiWd4Lzg0adHzgsGPfoQuEg2nVkY++hGp3dt7vboaAIed 5RoasYiQo236YDvWVebPgCL5vy1Kro+zWPe3zxy81bgsEx3aLBHIzNnluV73DXP5Vcno sxkHec5019eXmm+Dk4UWKIDRvoXyf3pYS3w+Ua/tkQrdQeqwCBfuQJ3u+NSdHIyy0xiZ GvXsUnQUBIJxSA4Vtnf1prw4LuTQtmesZmRAwsIZAzmUuhqtj4061qFnJxOvwWpgIInJ +PtQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732692355; x=1733297155; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=/bykHnoYni8wrrz/8qBKBXoNhV7g+cnU4z/Es+qjG0g=; b=OQjtJ2blDX2uxNiIH/F3G7UPQQzIWPidRxoMk6Y+WnpIbQHsM98wY086pKWyZFvxyD 3Zw2PzfsFbJ5ijYRBkqzD2Ea7jVujhufjp+mt0cOQMHxfpNSR7xSzxr5F1h9joByvMEC q7xvWE4SR+fnLNrwJ32sJHz3v6EeH7l4cMtdAjySSmI6PguhzHPmxZe0vb1VRBXXJjTo VpJcRQk791xhAipgV4XLNY3VxcI1zPxqXnntxYfDhRw29PzoTmBG+em9KXdCc/M9NNr7 DrZXcO+v9XAXCl/mSdxjDnXNeY2FTTAGiv1JLVReSE54tRFxgWvS2gzk1o6wDcp4QfI5 aXBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732692355; x=1733297155; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=/bykHnoYni8wrrz/8qBKBXoNhV7g+cnU4z/Es+qjG0g=; b=aGvTPO8jeHMfeqfdXSpDBkONEuGmfWERXZxJtCI2DG93N7gGKpX8aEiTvVfGfijDem VO/SVJNKvg6sJLhse7N1fwV7p1LwvFWz7gjq18PbV3qW9Ai/A+UzSX/Hl+xY5AJwwAWB fjOZmHy05HgIT7F4obgCwvYLGtnBnYy+EmgqVUfPcsnYfFE4s7mhU7N6ZNCpdZB4FR1Z B94Kz5IgEslnOYF0qEQzdaI1m3wP6LPn5GmyiIKTuB2IpQHJTvjrBAWKwjcBNZPLglvn 4FQfH3xA64R/ndxnHpXk6hM1tuzQEvJFmrb13IRwSP0M5cSZwcJJ0npk7ULZxBCE8ntO 3NpQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUPFlXBEz7qjVzGrlr5Qcik5Zhz5LH03PiRtzHeGWJffW777eIaQOE7EhCfSZMr/Q6zDs4b@ilbers.de X-Gm-Message-State: AOJu0Yw517ZB1h6JpnilpSHNen77XSUEZ3sPHH2u1JCQyG2nCbdC/sLP eW7NTBY4IJxAUfayaa2Xm0BLbC7Vokqmx6kT49KTTKktGV6Vk4L0 X-Google-Smtp-Source: AGHT+IFXAg+LG8B4ox5bWRxrVbhHEh2QBba3Nxr+iemyRx7xMfN0/c84b5IFWest82vrJj1p43Mfag== X-Received: by 2002:a05:651c:210f:b0:2ff:afef:3ed5 with SMTP id 38308e7fff4ca-2ffd60c6fccmr1816391fa.8.1732692353928; Tue, 26 Nov 2024 23:25:53 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9201:0:b0:2ff:d403:b89 with SMTP id 38308e7fff4ca-2ffd4030c8fls1697501fa.1.-pod-prod-01-eu; Tue, 26 Nov 2024 23:25:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVLykqfb3Pjt07Zgy5D39y52i9cCS6NsrNMWd8uiZ7izMkKHLkWhTsIIzNspGyO8QIWvY8sS5tIsEhq@googlegroups.com X-Received: by 2002:a05:651c:545:b0:2ff:a89b:4348 with SMTP id 38308e7fff4ca-2ffd5fcc351mr5620501fa.1.1732692351263; Tue, 26 Nov 2024 23:25:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732692351; cv=none; d=google.com; s=arc-20240605; b=ML0DqLzmmd2vhxWSoqlxZdrnhb9b6kJ0ZSCxto+KLj//mpAh0CXkaqNJ6G54kIMzfq pp6s8jENcgqdEtURguDrlLMnCIVJy130xVCJJTLjrgxh+eQUYGUcydoKEeVO03ls1VOr TWVMW/hpd0y26oxkr3evYy2DWJsMSZjo5ymqBRAqNR/c3tWPpR2hbJtzbuQqYSohqAkX i77tTDtSABT24FHHITUznn7F1+6maYOs1+fGj94NsJgWUHOMmiFNwKlp6R89Rqvfm2le NVFr2O0Eofaw+4Cx+iyZzbD2im0BgFSjw4eMhK+gx9zEF2pqFSQwaREBTOaL9G1tBTsJ igDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=gsusJQCgRDnsoe2m3DQuOa3i/1kjhAdleqUn7nX6noE=; fh=O8qOVoyC4kVwjYhl6ndzNlnWHnJpUJcq4mpswxQLIKQ=; b=chl6K4NknqwcXbiwdg1s3UhkMy1OKa3nD/4se66ZEUg+JmPFlNf8s5/yrdKxBW0HNw h/ha5rtS8G57UYvcfQ34SC7E/+dmGtQWWCskqbAkWDGXdxH1QbirDOp85YIaEb7/qtt2 SCmHN06965xbcoVaB37Y8aUB1r0eoSGw5Df6+Cad+IwFbk3KYpLLayFis6HXlrQgFNzz bUMKMeEyGMXQKu2tuXvP61fqUEZwz4MVXYfX4RUJdBHRJVbiRyv9/E1WQW261QA1PZP1 otZJdo3fzO4Ih5r7go9u8bZaceiyKVJry9MqXyQS8l1az8VBYwaag684Q0OprJqwZ8Qk F2VQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2ffa4d16721si1940781fa.2.2024.11.26.23.25.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Nov 2024 23:25:51 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4AR7PmaJ011897 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Nov 2024 08:25:50 +0100 Message-ID: <7930cd884bc90928657fcf4628cb500a6d20f5ec.camel@ilbers.de> Subject: Re: [PATCH v3] classes/repository: use the proper filename to find the packages under repo From: Uladzimir Bely To: srinuvasan.a@siemens.com, isar-users@googlegroups.com Date: Wed, 27 Nov 2024 10:25:48 +0300 In-Reply-To: <20241120093204.977261-1-srinuvasan.a@siemens.com> References: <47c5e76990ba95e85e07df4542d3aa74e6e002f3.camel@ilbers.de> <20241120093204.977261-1-srinuvasan.a@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.1 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: VssQ1gczoMrk On Wed, 2024-11-20 at 15:02 +0530, srinuvasan.a@siemens.com wrote: > From: Srinuvasan A >=20 > This patch fixes the issue in repo_contians_package function, here we > are adding a few packages to repo again even though the repo already > contains those > packages, ideally we should skip those >=20 > reproduce the issue: >=20 > 1. Create the base-apt > 2. Again retrigger the base-apt (assume that there is no changes in > the previously built base-apt) >=20 > here we observed few packages getting added again to the APT, even > those > packages already available in the repo. >=20 > Basically few packages having the epoch version (automake, git-man, > ssh) in the download folder, > but the same packages are cached in the repo without the epoch > version, due to this > mismatch, it tries to add the packages again into the repo, to fix > this issue, > just find the package name in the repo without the epoch version. >=20 > Signed-off-by: Srinuvasan A Hello. Since now we have https://groups.google.com/g/isar-users/c/NrVHusKyNTA series merged to next, this patch gets incompatible and likely not needed anymore. > --- > =C2=A0meta/classes/repository.bbclass | 3 ++- > =C2=A01 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/meta/classes/repository.bbclass > b/meta/classes/repository.bbclass > index 28e712fd..043c8621 100644 > --- a/meta/classes/repository.bbclass > +++ b/meta/classes/repository.bbclass > @@ -99,7 +99,8 @@ repo_contains_package() { > =C2=A0=C2=A0=C2=A0=C2=A0 local file=3D"$2" > =C2=A0=C2=A0=C2=A0=C2=A0 local package > =C2=A0 > -=C2=A0=C2=A0=C2=A0 package=3D$(find ${dir} -name ${file##*/}) > +=C2=A0=C2=A0=C2=A0 file_name=3D$(echo "${file##*/}" | sed 's/[0-9]\+%3a/= /g') > +=C2=A0=C2=A0=C2=A0 package=3D$(find ${dir} -name ${file_name}) > =C2=A0=C2=A0=C2=A0=C2=A0 if [ -n "$package" ]; then > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # yes > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cmp --silent "$package" = "$file" && return 0 --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 7930cd884bc90928657fcf4628cb500a6d20f5ec.camel%40ilbers.de.