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, 12 Aug 2026 16:25:46 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f57.google.com (mail-wr1-f57.google.com [209.85.221.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 67CEPkd5011428 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Aug 2026 16:25:46 +0200 Received: by mail-wr1-f57.google.com with SMTP id ffacd0b85a97d-47f8398ed9fsf816738f8f.0 for ; Wed, 12 Aug 2026 07:25:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1786544741; cv=pass; d=google.com; s=arc-20260327; b=msrxu0ZQtSFQxy+b/bB4JjePSTtl3ZNgxukK7ujiXuRUnLav0RsSslWh51YUrxdFmY /9FRmfqIX/kuvB7gJ/rc4/hfYk6b8uUKtPi44jtCyZnSxT5VfK8ZP6IFVk9K5pheBRJT lcG5xzgdDg6XsmNEzS768X1uXjnPUsWnTg9x5Sr+QtvVCh4R2NM6WvsZBgz7oh/jw1b2 krgwW5d95Uh+PsQXA7/wVZ/EA/yaDQ//mZ7Ml42JEIABjJyFdM82PMGr49hdtP/fHpMb 8L6ePxHXfnGZ9ilIKgbdODEO/eqsToZRhZCIoYJaHwJQ6tnZMS48wZF2p9lexpupUBGH hp2A== 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:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=cV7ijTUROjEI/WWyDe/4EGdX4WwNbi2g/jSb92gSDY8=; fh=csy9FJ6+7K1u8XyxLJ6XbeutVh3tCA685tVRthOyV0o=; b=DAdc27gTCr/tsDV2cgsv07Cl1qQweVBnVGyvLVZdaxccu1xKXr2XKCz+wXrECJS+Ii 5cProchl2P1jjZFIzxEc5yRUnn3saf6s+3/ThXan0gBCufEoQu2z29YdgBBA5GuOtGqm UR6yknv5ryQSdiX4tN+1YZSJm8OaZyQRUIcmeoXulf5/5yTZ4Q250fOUj8LzSBeaphhr UK8ApKnw2qknACSM372pboNV7YXALU1SODluQ8k3m3LBlDihdtS6qxzlikF2crkJl7NG gvhDcb41AnSOmuYvgc/xsE+ylwNPsLK3F4BgdAUtAB+BGboOtWxqxv15pd8RAJ3d5Zur JHYg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1786544741; x=1787149541; 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-type:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=cV7ijTUROjEI/WWyDe/4EGdX4WwNbi2g/jSb92gSDY8=; b=KrgMs6IRRApZsX9qhK7KfwAPInMaNOKeTHyMx6grxBU2hHt6HtIetTw3cZ7P28XmMs YKQW5axN01nZ0w4vErF03SwRF71a9t2YsAJsNshzhCnYMfDxXNkHcLDo8sJow8eW3bPD L1MFwPUJspmJCd0YgT/qRITP4hhPml4gYyf9rT2SKqse66quuKvojG3ANu6oXiXqPZDq WepjXqtoCFA9pYy5x4cVN9qM4cTd4sjlmZepqq1KQRhOTKveZA/xoleI0g49rv1o9bIB AGveXMjRwLL8qjwE62aNRNH41x9NqOCmRmXmSbuHqk9lAWLp5wG4q+5if3dtMAkcesqT eSTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786544741; x=1787149541; 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-type :in-reply-to:from:content-language:references:cc: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=cV7ijTUROjEI/WWyDe/4EGdX4WwNbi2g/jSb92gSDY8=; b=ffdaLqegpyv+ymWnJE1wPyxfL8dCEYH8ToJ41+PwmQek7+bEtYRuXM/kApFvOn3Q9C HG0jVl4Jxv1+z2xxLyzlTpVHupKcAyWvrhF5b0ToF3KMUOPyyabGpGxvTGs5oFNcmMJK EgId2xU0MtyUGf+C/TNXjbr7kz8GkpLoBpyeRI4RELvRUJKXu3eIPWG1Wxs+dNHNn3Pw VBRJzaHIHCQeGMelgeKDDgqnCIQUWTmYr+N2qOlc/pD/AWhI842vuxU27oUoEkEOfHi3 oFVTlh0B6wspw2YXjRBFDn74XUMXgXeSQW0E8Vp6dTXQND5IKBHUcc0STAYe7Ds81GN6 AwVw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AHgh+RoZD9YJWxZDq4BmyJ2kf/nsi2mRW+gKvtWxbrF3YphBi3PdpoHNGAjhWtEwU74o7mS2HLaS@ilbers.de X-Gm-Message-State: AOJu0Yy9Nczi8WUiGSO6lnfmpIN7shOvG1BpYGFlrsXr7GwTxcZ1HVt6 AKNAUk9FL+hZzt+WzjtaJwZPu8p+QcELedVqiH6K16+ZwYk6iMRmzbiO X-Received: by 2002:a05:6000:46ce:b0:47f:e721:1f77 with SMTP id ffacd0b85a97d-481528d8016mr5763907f8f.13.1786544740774; Wed, 12 Aug 2026 07:25:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Aa7YSPTT6ay3vqSvF9+NJo+GWDgs3cPj0cVDG0Ln8yEJSh+ooA==" Received: by 2002:a05:6000:2183:b0:47f:4e3f:9fd7 with SMTP id ffacd0b85a97d-47ff7da2e90ls4306635f8f.2.-pod-prod-05-eu; Wed, 12 Aug 2026 07:25:38 -0700 (PDT) X-Received: by 2002:a05:6000:4a16:b0:47f:ddc0:602a with SMTP id ffacd0b85a97d-481528fb447mr7957128f8f.18.1786544738531; Wed, 12 Aug 2026 07:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1786544738; cv=none; d=google.com; s=arc-20260327; b=HcaRYGlW5Uybotn5UKj4/nzU96JvGuISELhJgfY3F1F0v/wOw4gTNflSjP1nmj8T33 kL3QNlj8Ru03sixu5piSzljcPB631FE/olDRDfzAB4KKZxqvf1EXqF7Qjq61iPiyekR4 l/wEG7YlvPpPUMG3dbU+2Sn8LcsrGoGrbMyhZ5dhamq7lCxJJPL5k7+l8/HqPXIgLooc 2UqRvKU9XEdGy8MZ8A2HpUqneDpWuFmUnUMmiq+JDDV7rmb5BIZko6bpLi53IYR9vyPi C4yldePXrTUevCsEHdQE8OV2SMNS7vr8FJCX2qmm0y2yfQDhN60Zc3ZpX6ayokuKvV4f TRBQ== 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:cc:to:subject:user-agent:mime-version:date:message-id; bh=vGkoRruZad8/DNyztI4a2oC8JjVqRBPaJcA+QXTHptw=; fh=c16/et40cwUzNT2svpewOU/Cfx7IKOwnXrpBU5ONoII=; b=QXQI9LgRMrlgIHZpBiCc1sz0nCzsO6ucxtJFSZgYIAb2SuBko2IJi5PmmTLuFUn2jL NqwfNbiYzq3QAULbYzBbxsD0nYbNkuC1qfBrzV0thm6WLFikq7p0DI3Z2K6jyfLMbV/i ZIN/mdn806LvboHsMS7EXbwMZeR7bioD1QPwi9SVpI4Wcsd+lWW3zwNAUQQR9L3PnJPD Bqxhm+PUfuJAPsGW+AXqIO2efgbgTrUqCKtzlTXZFyvg1Gu4FaxK0oDVVhuPP820lR3N zmxWQ6U7Cz8giCDamvr0fdoPje/+3c3uk6/HyK2EqhXiU+sxdDtkJr5DIiDdT17XFGsS 6hZg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-48150d2b379si53057f8f.3.2026.08.12.07.25.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Aug 2026 07:25:38 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.139] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 67CEPbVZ011418 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Aug 2026 16:25:37 +0200 Message-ID: <39b03c98-feb8-44b1-add9-df561bc1520d@ilbers.de> Date: Wed, 12 Aug 2026 16:25:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] fix(rootfs): correctly handle handle special package names in isar-apt To: Felix Moessbauer , akarpovich@ilbers.de Cc: isar-users@googlegroups.com References: <20260810121103.1507197-1-felix.moessbauer@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20260810121103.1507197-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@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: tYNS2YdgVmje Applied to next, thanks. Zhihang On 8/10/26 14:11, 'Felix Moessbauer' via isar-users wrote: > When running apt-get install --print-uris, the first component denotes > the download location, the second one the location under which the file > should be stored on disk. The current approach which assumes both are > identical breaks on these cases, resulting in errors like: > > cp: cannot stat > '///base-apt/debian/pool/main/f/file/libmagic-mgc_1%3a5.39-3+deb11u1_amd64.deb': > No such file or directory > > We fix this, by properly URL decoding the first part, while copying in > with the name of the second part. > > Fixes: b294d592 ("fix(rootfs): copy isar-apt packages instead of ...") > Reported-by: Aliaksei Karpovich > Signed-off-by: Felix Moessbauer > --- > @Aliaksei: Please give this a try, it should fix the issue you reported. > Do you have a test case in citest.py that reproduces this issue? > > Best regards, > Felix > > meta/classes-recipe/rootfs.bbclass | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass > index bdb9ea7a..7a638b91 100644 > --- a/meta/classes-recipe/rootfs.bbclass > +++ b/meta/classes-recipe/rootfs.bbclass > @@ -369,8 +369,9 @@ rootfs_install_pkgs_isar_download() { > --chdir "/var/cache/apt/archives" \ > ${ROOTFSDIR} \ > -- /usr/bin/sh -c 'apt-get ${ROOTFS_APT_ARGS} --print-uris ${ROOTFS_PACKAGES} | \ > - sed -n "s|^.file:\(/[^'\'']*/\)[^'\'']*\.deb. \([^ ]*\.deb\) .*|\1\2|p" | \ > - while read -r path; do cp -n "$path" ./ ; done' > + sed -n "s|^.file:\(/[^'\'']*\.deb\). \([^ ]*\.deb\).*|\1 \2|p" | \ > + sed ":a; s|^\([^ ]*\)%|\1\\\\x|; ta" | \ > + while read -r path name; do cp -n "$(/usr/bin/printf "%b" "$path")" "$name" ; done' > } > > ROOTFS_INSTALL_COMMAND += "${@ 'rootfs_install_clean_files' if (d.getVar('ROOTFS_CLEAN_FILES') or '').strip() else ''}" -- 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 email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/39b03c98-feb8-44b1-add9-df561bc1520d%40ilbers.de.