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, 28 Oct 2026 17:46:28 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 69SGkSGP028254 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 28 Oct 2026 17:46:28 +0100 Received: by mail-wm1-f63.google.com with SMTP id 5b1f17b1804b1-4a20a40d3e9sf9468595e9.0 for ; Wed, 28 Oct 2026 09:46:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1793205982; cv=pass; d=google.com; s=arc-20260327; b=Bv0oclMXN6jN4CllY7cpOZI2NmdifTNvLHYDOYtTEBZxpTXhosXvOq79MH1lEjIB3G CeAeP1+JhrtRCqgCHcOGtK89nUEE/llCI2NmwR29GtAwKAcvWh/6z9SZZp0oX8vbcNWb q4PuUYQ1iOuVkkhtaz6zahqPlFsJsKTcSdiBnxNP6F6MltuEvNIP9RKG8MwHdbnzpbT3 eR4P4OUcRqEiEf0zHdk7YrqimTZyRaOYTeA9YyIolALW5F6jF3AgG+DEFiAwCQSopz2f sPgszzpLykebWxQb86rAA2qVtj9eUGLVuc9JLlWLFNfYcIK/WGUFNB1pSNGzYlkY8rA3 mL/A== 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=4VtoUq5x2cO/P9KeQaczzAvBNHWBNWj8X9MajiaB4vc=; fh=6CNr2rqGGSlNs8gLUSYKXlknlgtDeCOnQB4UuPhl32k=; b=B/NcDiK2/E7B2dwVKyU8M1R+Yq+8IoXafKgyBoqo4pu6uOxGaPEHyovWaMeqMWt+37 g56aYTl2Pi+pV+qEPVH9Di468hkxYAfkNSu0ZdWAB5bSTBr27IcYpOkspbE0Au8j13J7 5PdutXHNXWqKR7yVKDNERF5TCiYfTJmmtaDZg/N7qRPoTPgDmrkO58va6m2c+XgM9g63 XmbA9C4VJD7Z/ohaMTu43euF8zC/wi6GER/qGGO8mPSnZth0RGVpnDRf3ss92DpKVjZm AxuyiGmVx5t/yNii/I8vn0dhlSl4uWmLu4gtinZdWLLCTBP8Iqv56l7hypOQauV5+Yjo FGEQ==; 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=20260707; t=1793205982; x=1793810782; 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=4VtoUq5x2cO/P9KeQaczzAvBNHWBNWj8X9MajiaB4vc=; b=Aa8QdFjv0KwbOOIBGaZ3K56WN3rTwWYKroTkYKv4WsZARp6qpWg4RRmYshKeD2WPni Cvrs6fAJBeeSlnx5vA1zxZPSWFXT5CDhdYEFLRQuTZe9jNF9KWk27v/JJgNqde6CUSSj 6jeyEM3ffqhj6jhu7CJT3L5VCSzEIx105zA92nAwKQHMde07Tgq5MGBTiIzsUxPrr/zy Kc7zFJQLb0LBYWdAZRHj+tUNiSGv35seWGjv0O39uFxxf5F/3ZK72zoqGOAfwUzzTQBs +zw6WGnGZLnztO/l4KAtFKe7olTcF8VAwThirTRIacMf4GFmqnw3aerFaMVqQYqnm+1R qgpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793205982; x=1793810782; 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=4VtoUq5x2cO/P9KeQaczzAvBNHWBNWj8X9MajiaB4vc=; b=1YbURF8dMt3VKqEPSuwJT2bl70O51KLO1cnNZhXjF0MsOP3LSLSiQhlJfR6gzRcrsb D4vTUbZBum/RZE2f2e1WO29JJ3qK3t061jybSi6hMOYHgSgouWKWi3/jBUT/fDTQ739I FLSuAeW7wy5XsRKpz6Spa0TFM+EBMl4gJoANUAHvTgxkXglLqUHPqhRIlLgTcl9XhWEk 69Oi6GFdUh38HnNelnXTv2w1W9+fhjbBZXgLjvL6M+s9Rhm7og06Mir1aGcV3H8GkMoG Z/FM4PKYhVhVfIUGmF7UYUGmzPFxj1ZsVurcC3QFmtEC6nXgH6kWByzdhKLaEclFKJa/ YdTA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBxXWJbKqBM1fTGeeT5YjGspIlubrlhzbGsbXJ4up2Ge/Hjx/FbazQNb6JLoHmLOFV+SCzt6@ilbers.de X-Gm-Message-State: AFq9FYIHXEZV6r6jAGbkYhrdsI8Zwtn7BuwW+Ib6j5N3VBgRXlxbNsrH H/mmI/T49ypjmshz+Q8GeCC/su+q9PuOwtxv3gsKb7PN+ENb9lEivmmt X-Received: by 2002:a05:600c:4f89:b0:4a1:ac66:6059 with SMTP id 5b1f17b1804b1-4a967e8d598mr58418945e9.26.1793205982300; Wed, 28 Oct 2026 09:46:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLddkQEdnHiuKXm2BDNVnlI+p8Vv4TvbkZ2rNNEnk5EHX6Q==" Received: by 2002:a05:600c:4f52:b0:4a6:9958:7ff9 with SMTP id 5b1f17b1804b1-4a922de2e39ls14331435e9.0.-pod-prod-03-eu; Wed, 28 Oct 2026 09:46:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBwi06ANqaE9MuvU4PTwacrhZvBuB3Padg7WTES4icmplQUToMU8amEkT4VOCRqUmUo1KKHo3mQHIK2n@googlegroups.com X-Received: by 2002:a05:600c:8b6d:b0:4a5:e6fd:65e5 with SMTP id 5b1f17b1804b1-4a967f8c344mr63837485e9.31.1793205979170; Wed, 28 Oct 2026 09:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1793205979; cv=none; d=google.com; s=arc-20260327; b=BMYvvnSAqHVoRw6aaJNeW3BSD4Lrk+3+2JFO8REjFIN2hJGOfzD2UJfbwWyton4Qca nAu561vv+tlVQmnjgwDWjx9zG/b5xubb/5USCJtxlz3XFaj3+jScLBc7kdMi1cFXUh6C +GLaQ9T2UtjwJUL7tYJkFCl+s7OJ2QKEGWG68P/yDWiwmOlM7SHlgjA3x/7vJxxDb36e NpDBZ9vCOYCHfsYsAl1T/Rw5oqvlicmlWygFhToXmcnba5eAwuJ3N89wJbacHDfEG+c8 XiqjupbmQMGqjAoZr+khxklvjXzs2w6vgNuCu0deQVPdMDziISQhlzDGhCZaixS9RzOf s8qw== 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=9rF9Fne7Q0P8tylUpztmDPF/wgcgs7QSdF3Gd8R8l6s=; fh=NgIxtCFT2AB5y/A+NcI2hJpUnWk3DgvumaGOS5xPoac=; b=JzAmFAn2Ky/UBQtc/cTjKORgLmv6XmrEkoXZOcqpULz70mFbT3F6DhALVz6YkF9Al0 Ehim5+NlN5FpGLGL+qMHf/oinyFl9A7XxRvnyRC46QLNrNg8wcTSv61a0EM5YJlLncR3 dMIIH5oqbOkfwZyIaHClCbYiGXOA35ZcHb/3u1Kw2LqiCRB5qTTEOqn0KWkZpvlEKvZQ 9wHAWUWLZ3kNaev25ap5HH8HiQyWH8FLII7Sifg7UBVeFtG4YczVyN/OPABBU1a5ggP6 bTxL+1ibDbZehxusuZ0sWBRjSmVmlXqoNHEXEsZjeuBGXeuIrpS7I48VFuC49wj0BeZj PiAA==; 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 5b1f17b1804b1-4aa7c506f96si32695e9.0.2026.10.28.09.46.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Oct 2026 09:46:19 -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.24] (dslb-188-101-247-215.188.101.pools.vodafone-ip.de [188.101.247.215]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 69SGiHC8028240 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Oct 2026 17:44:18 +0100 Message-ID: <7aecd2fd-3c00-41f6-b77e-b72af75e94d7@ilbers.de> Date: Wed, 28 Oct 2026 17:44:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/4] rootfs-add-files: correctly remove files in ROOTFSDIR To: Clara Kowalsky , isar-users@googlegroups.com Cc: felix.moessbauer@siemens.com References: <20261026101018.276241-1-clara.kowalsky@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20261026101018.276241-1-clara.kowalsky@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: XCcK9Y5JTh9c Applied to next, thanks. Zhihang On 10/26/26 11:10, 'Clara Kowalsky' via isar-users wrote: > The existence check uses ROOTFSDIR plus destination, but the removal > command uses destination alone. Since the task runs outside the > image chroot, it targets a build-host path instead. > > Fixes: d2eb951a931c ("add new class to add files directly to the rootfs") > Signed-off-by: Clara Kowalsky > --- > meta/classes-recipe/rootfs-add-files.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/rootfs-add-files.bbclass b/meta/classes-recipe/rootfs-add-files.bbclass > index 38f739ee..d33752f3 100644 > --- a/meta/classes-recipe/rootfs-add-files.bbclass > +++ b/meta/classes-recipe/rootfs-add-files.bbclass > @@ -24,7 +24,7 @@ python rootfs_add_files() { > destination = d.getVarFlag(additional_file_entry, "destination") or "" > source = d.getVarFlag(additional_file_entry, "source") or "" > if os.path.exists(f"{rootfsdir}/{destination}"): > - bb.process.run([ "/usr/bin/rm", "-f", f"{destination}"]) > + bb.process.run(["/usr/bin/rm", "-f", f"{rootfsdir}/{destination}"]) > > dest_dir = os.path.dirname(destination) > bb.process.run(["sudo", "-E", "/usr/bin/mkdir", "-p", f"{rootfsdir}/{dest_dir}" ]) -- 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/7aecd2fd-3c00-41f6-b77e-b72af75e94d7%40ilbers.de.