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, 29 Jul 2026 10:55:50 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f64.google.com (mail-lf1-f64.google.com [209.85.167.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 66T8toBL016266 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 29 Jul 2026 10:55:50 +0200 Received: by mail-lf1-f64.google.com with SMTP id 2adb3069b0e04-5b01965458esf486804e87.0 for ; Wed, 29 Jul 2026 01:55:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1785315344; cv=pass; d=google.com; s=arc-20260327; b=Tgo/kC7xOMCyWwCCOpW+9lBMPq5kps+Xu5Xtgy7QuTUqJvF4cZ5LEEEbQUeKJidwDR h9FEN2sa/bp44fZFUANSwAPe/ui/v020ZHW+zmL5i4MJ2YZQCDJI+oZR15pG9WxvFg76 zZWre/VSl+2Qx4IDHatidJvZNd9uQuF63vjua/N6TCWVPGLLQaaw0i8NIGPyJKP77Yyu 4ZfoGjbRrs1z8+k8tGtg4UwmfZz9lnf8qWeMvW+jhquGHWSHlJCT14XWgUE0z0iBMx6J wZpGHbJdFqaCewhI7peKimEVuDB9MM2symCEyATHa3qLQlIurNIsZr4tuXztTDnFcae1 0haw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=8ZZM/mSKXog8liYK6RCFUCLMIYoEVaZpABv1RVEgKjo=; fh=6zzpXx9ZSIKV4/biMy/66Kl3qI1cU7f9YxSF9HWGS28=; b=Z0Mggmk/hij8uRC71z18kW4o9ejitXGKRnhes9bxemfHBLQJpNVSzESesl4zK8P48Z dyj1ciEd2gGCtpJZvC8TiC/CCZUaQFZV6ZO3+8MEFHfCAVLMwfCzjY/1wGXk5BAlna7K EGU8ufBSJBsM1gBiQHVpNolX7WB6ZXA85+0B60gbm9/Tu+RY62YL0dJfCoFUO/qc7Opv sNl+by0+dYygr2luuvTssVwGvc4K+qAbjdZSezojArXfHhQY7LEWtPgl05URk+PurNhy jpoos6MqaEKmUR/i7/q1EM8/jBfpem493rlrzOPYeqcxHRMOaPi6hks5C4SzWKji6D61 pskw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1785315344; x=1785920144; 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:content-transfer-encoding:content-type :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=8ZZM/mSKXog8liYK6RCFUCLMIYoEVaZpABv1RVEgKjo=; b=QhLLhgoz+rtTB3y6OUDjbcnwb/4GQ3wveAKyz0XEI+sedbVafrfXF7iKI7QT4IyB2o 4ZT7XbWoAilfHJROYObQM/FaWh1Z6cC8hpnJSD6ewOT90P9egFlr0Dro/zn92UJ+Iite 5kvzbFWDUpVTXVGw404McXM0YVtYeutucisNR90pCUiGuyWSWbMH2mSJgaBdMuzpooO3 Y2rPaZP21ZOG6j7J8ITkCJIv8fnwEBR81nP7CCvS82kixSzNRGWnjiIlavviZ74hf/kw cwZOVrLj9lZ/UCVJH0kt/XAnPmOoE3Ncdbs2FU1bU5LFZV3qOUdrAH/H1fIAjpUr3lKK mfiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785315344; x=1785920144; 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 :content-transfer-encoding:content-type:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-beenthere:x-gm-message-state:sender:from:to:cc:subject :date:message-id:reply-to:content-type; bh=8ZZM/mSKXog8liYK6RCFUCLMIYoEVaZpABv1RVEgKjo=; b=ONpL31VhTOb2CWiMMOMc2tn5qi/NHZyZa8y9tQLN2xqXNZo197r45mg6K32Xc7kl5t ZjdCNCg5yJev4sHwyhsFpDOlRU3AelwmGAIVgjc0S21VUoHxts9tRm0mNGnECsflH5gM 3oW45j0+fr0/owmu7qu+zJpxSe9W8SK0sFiAPvCobZ3SrOwqw7xbN1Srx1EFXLJfUxsq HXyWF5Kcwp1L+KhhBMEnZNKZ46v7fz2vhpXlXD6guK5JshCfUh53borcBbY0k582gLVh cUFzV+j2ZnVh/qAVDF3O2ilEQGXlHJMeqx0+4T/qU6cCPz/U/zd9V8CGouCSw5SNAh8x T+Nw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AHgh+RoNuPTpSNxNnOErUwBAbnVWsR928QEmDWrnANkl+PfmbE/19KeBZzBExqYovol9wcbqIBWV@ilbers.de X-Gm-Message-State: AOJu0YxhYjfRM+frdWalgAcDgasF9OYdyYfH+GUnj7wRN60ObL/GDjr/ ELuCJmbf9KGjgtdeo0KOCuIeKQOAId/p8p7p46Sb0LmlrI5QLIcR0MHp X-Received: by 2002:a05:6512:3d17:b0:5b2:158e:9918 with SMTP id 2adb3069b0e04-5b2d023ae55mr1284337e87.19.1785315344434; Wed, 29 Jul 2026 01:55:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Aa7YSPT+sRdGDfy4Y/ieDJMbNzgeRbvD7GauaXxQHsxZYbYbuA==" Received: by 2002:a05:6512:65c5:20b0:5b0:1f26:8a3a with SMTP id 2adb3069b0e04-5b2b02fbf27ls844011e87.1.-pod-prod-03-eu; Wed, 29 Jul 2026 01:55:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AHgh+Rq1UDqCAe08d3XtrEjn6YCe6u9WOXulY1h7lmWMGm/+abl4gm1lP67gQcVtY+X3pCm2JG4DGc/XN4mL@googlegroups.com X-Received: by 2002:a05:6512:3990:b0:5b2:a22c:50e7 with SMTP id 2adb3069b0e04-5b2d025f1aamr1186364e87.32.1785315341799; Wed, 29 Jul 2026 01:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1785315341; cv=none; d=google.com; s=arc-20260327; b=OtU1tjk1ZiepwJt14+BcAiIr8y3tjVjq5dDDAfmsNMA7kHrGDDigiK1pVQwjUzWNDX /+nz1Qrg+saW3IlL9V4cZt8YMLy7Sap3ZWcIvFBT3xphhQQq3+aOQtTbdt/8eE6jMiej /cnF0pxYrScu9syMrDxkTpcR6j4Uu8jXBPYX5BM+6vQ2MiLLR3d6nnWi5E6s7Eqz74/M 0yY/K/mMNejBK8M9y7f8FWH8jm7Tx2RxgYKNW1HP1qoNPLo6UYldsx0hzIb0Hc0tB/VF LDvzHxKNFrWFnmIraw8A1QwChPJb/9p8jyFRuyJGXdTsvM2z4gdkzEZuqURcbVePFM/T 63Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=byvadpmgZbkOgpVGuGyl7D8DZBBjW+T3MbwdzopZdPE=; fh=PICfM4Fo6fj0YFd/Sa2/vzFoNnq31QOnYxZYf2j1CDU=; b=lHc+Xqz5A/bPqgnAhafJpfRc1arqK3BorWC8ZxwFy0Vw1ZV54ME86DxGNpm4ohinSO Z2RpyCSTue7u0N4AM9gVWraGLPxVCePfne1HdaA4kun6JwzqPWAWH6HyHmiS4nGOygx7 yoAVRzLFaXVsfyQfVHZEWk0tKtwtHOtmWcaZlCYggFkdsKWbtdIoDYZHOjyHCMDONtzw 4l7f/W02/GWmIkXsJwRVeLeT95UJMVk0dzsmnx/enmabqS/YBBmTiOGw3nPQVcZHH2R+ z2v7FZ+yHcY8z4xjNaLabHOjv8Q15MNXd3pN8Hj18nkPDQmsvbOxd+VSYlqU16a3agrP gi5w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-5b2d76fa2eesi32736e87.8.2026.07.29.01.55.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Jul 2026 01:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [10.54.4.147] (62.122.174.6.serverel.net [62.122.174.6] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 66T8ter0016258 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Jul 2026 10:55:40 +0200 Message-ID: <1c3606e4-ec08-4701-8487-688cb8e01d67@ilbers.de> Date: Wed, 29 Jul 2026 11:55:40 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [v8 12/14] rootfs: Add version and arch for downloaded package To: "MOESSBAUER, Felix" , "isar-users@googlegroups.com" References: <20260727112812.2255297-1-akarpovich@ilbers.de> <20260727112812.2255297-13-akarpovich@ilbers.de> <68a1b865aadba40d6e85aaf6c9064c8d1c35be03.camel@siemens.com> Content-Language: en-US From: Aliaksei Karpovich In-Reply-To: <68a1b865aadba40d6e85aaf6c9064c8d1c35be03.camel@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable 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: akarpovich@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@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: zkG2XLV+nSJS On 7/28/26 11:25, MOESSBAUER, Felix wrote: > On Mon, 2026-07-27 at 13:26 +0200, Aliaksei Karpovich wrote: >> It fixes following error: >> =C2=A0| E: Internal Error, Pathname to install is not absolute 'gcc-14-= base_14.2.0-19_arm64.deb' >> >> In case of cross compile the arch of package is lost. F.e. the >> gcc-14-base_14.2.0-19_arm64.deb will be transformed in >> gcc-14-base name and amd64 version will be downloaded instead of >> arm64. We should take into account arch and version. >> After this fix package name will be extracted in following way: >> gcc-14-base_14.2.0-19_arm64.deb -> gcc-14-base:arm64=3D14.2.0-19 >> >> Signed-off-by: Aliaksei Karpovich >> --- >> =C2=A0meta/classes-recipe/rootfs.bbclass | 4 +++- >> =C2=A01 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/ro= otfs.bbclass >> index 2ffbbca7..f6913cff 100644 >> --- a/meta/classes-recipe/rootfs.bbclass >> +++ b/meta/classes-recipe/rootfs.bbclass >> @@ -374,13 +374,15 @@ rootfs_install_pkgs_isar_download() { >> =C2=A0=C2=A0=C2=A0=C2=A0 # Command apt-get install do not cache package= s from local repos >> =C2=A0=C2=A0=C2=A0=C2=A0 # We can obtain non cached package URIs by rec= alling install command here >> =C2=A0=C2=A0=C2=A0=C2=A0 # No need in export those files to dl_dir, so = we can run it right after >> +=C2=A0=C2=A0=C2=A0 # Package name extraction from URI for download : li= bmagic-mgc_1%3a5.46-5_amd64.deb -> libmagic-mgc:amd64=3D1:5.46-5 >> =C2=A0=C2=A0=C2=A0=C2=A0 rootfs_cmd --bind "${ROOTFSDIR}/var/cache/apt/= archives" /var/cache/apt/archives \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 --bind "${WORKDIR}/dpkg/lock" /var/lib/dpkg/lock \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 --bind "${WORKDIR}/dpkg/lock-frontend" /var/lib/dpkg/= lock-frontend \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 --chdir "/var/cache/apt/archives" \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 ${ROOTFSDIR} \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 -- /usr/bin/sh -c "apt-get ${ROOTFS_APT_ARGS} --print= -uris ${ROOTFS_PACKAGES} |=C2=A0 \ >> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sed -n \"s|^[^ ]* \(= [^_]*\)_[^_]*_[^_]*\\.deb .*|\1|p\" | \ >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sed -n 's|^[^ ]* \([= ^_]*\)_\(.*\)_\([^_]*\)\.deb .*|\1:\3=3D\2|p' | \ >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sed 's/%3a/:/g' | \ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xargs -r apt-g= et download" > Hi, as we use --print-uris, the result should be something that can > directly be downloaded with curl (and a specific user-agent). Is there > any particular reason to use apt for the download? If not, the whole > reformatting could be avoided. > > Anyways, to me it looks like this is fix independent of the series. > > Felix Thank for idea. This fix will be redone with curl and moved into separate patch. --=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/= 1c3606e4-ec08-4701-8487-688cb8e01d67%40ilbers.de.