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; Fri, 23 Oct 2026 15:36:14 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f56.google.com (mail-lf1-f56.google.com [209.85.167.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 69NDaDSC025043 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Oct 2026 15:36:13 +0200 Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-5ba3e136779sf404148e87.1 for ; Fri, 23 Oct 2026 06:36:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1792762568; cv=pass; d=google.com; s=arc-20260327; b=abhkr7XpB5YOVSGwA+CUbX3cNWZT79ApElxjEpJl53PCJ8XASc/O8XJ69rckUMWBKJ /B0CDnwTpBF3g+YOy6kfM9d+dWc9de8G3LB9O7kC9UXpmeTC1PEMyTc0y3Gis4Se/KdR /r1R7R0tclE2bAGieF0tuDjI+HemMqH7Ik00gU0IiBnPFCey5p39hvgYOlZaCGHCZ/WA WXUvDlqg5o8MG1HbLoPxdhnDdpaundXOSiHXm9BddNW1FN8O+y0FxmOZm/O4bhHx1j7D SBX2hDFR0ZP0K5eOBuai39cajY/bg5mqS+8MBMGWIpu7Kg17EmDoVVQkrFpK0DAeC2hG vu1g== 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:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=Yfc6BL5mBQ0xFxyocqbrYuWzSW/PalXVdqGDsA+aB+Y=; fh=18dduzKhiRBtNMNh1xImdhsmQZTPJ7R9RttjOxuAIQc=; b=BPTkx7ejZGL6D4xaXziZXTq5ACYQhldAXcIiFmUHnXLT1IQwqDf9+cjST59RE9+ukD 3Gh7BARPQ4jrj+gNd2uPw253dIrECvOCM7icU9umPf+2NdQ3rupVsEEe/QfB4I8KzGyw 08RC//4WiNFgBiui/j0u/kT/4nbqkLdartzszF4I/5LUYNxUblB09IlKVc+VUwXiQ9aJ Fvz0JcMQcJ2M/7O/lG/MpzIBnVHjjvSMPMgeTDsR6isjrEP/e5a6tBoyQkkRycWSgTDE TXGlLoRjpOEhGgtZ5DEiaboSOSAV1TtKNcphQV0wWili736sQeTQm09UlmqtpIuqHUAh 8MfQ==; 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=1792762568; x=1793367368; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-type :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Yfc6BL5mBQ0xFxyocqbrYuWzSW/PalXVdqGDsA+aB+Y=; b=Pwz6i5P6qrZZSLmlCD2WM16U5mjxYcSAnJorO8+8oKzzx6fJm+l9EDgCyWQoo+/wzk Bw5ZXO+NF49/qqXCTvU2foy+jpqRLc+AED/dJVgdErdcGIIOzdF0OLBaYbCa0SWDmBzW J1oC1Go4ue9ObOT4/m3169wjbo8IXcWDilFAXcitrDSs/8iEJ8ZDq8bpL88Tl4PUl8xe Np1maaOKdYLD3bh7JsT0qRWk+lQT1CBZDfc3TS7NsXKDQ1jy7lmCrCMjJVyBaK8dWuIU /eX/SqExMJCmsV/vqFXmguw1WCpbcsII0ol0kFEI2ELVR/cQ80c1cwxWxsIXZqDzV97y EFuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792762568; x=1793367368; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :content-type:x-original-authentication-results:x-original-sender :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Yfc6BL5mBQ0xFxyocqbrYuWzSW/PalXVdqGDsA+aB+Y=; b=bUAiMkiqs/pk8P38BjzChydjuBMDii/N+y4uIyYPGwLUIbtGO8T08pVLkKiXq7A26n HYqXo6IcvAPX9ihQUKSjcCgSyyjo7wEJ+gWCX+cXmny6686SncmHEqZEg1otgMSJGuKL +238Hk+A+hTd1hUcH5+nVVfeM6PEYDsphS8pSGf1K4O/64Kk5VG6eUSNr1xW+aFUlFCw RoQNCedTuptBVDO6dm9pNdn6QrkcF29M21nEd9jIN2TdO5UBV6j7vyANBuYcUIuy8kf3 nnZMHxWrB9UvlBK6pk0dFjusNguhUAkBq/rYLCLyLsbMvsAyQV6dD+6QBKAKqPMUMQux JwRw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBwCPTfxnzO6sMY+DQkucUY89RS7dF/o3+pXPT4x1jYJr2L8T9tL0GbM6NFG8qhWUrc3+bIH@ilbers.de X-Gm-Message-State: AFq9FYJtvZg+DGwYUtQ78pfSWhM62Ixsb9YGN9CRK6tGbrmNfiL3gK5y biabKLpzsiFGJ/v++F2R/VrgLQnOd9P9BxxwOBbLo+bOV4hTKm5tfr1z X-Received: by 2002:a05:6512:2389:b0:5be:4f02:52fa with SMTP id 2adb3069b0e04-5bfb09f5357mr837540e87.22.1792762567531; Fri, 23 Oct 2026 06:36:07 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLdeQrDJ0OHQpgqrFGKcEODeW5cSSxx8+xxLKpP34b23y2A==" Received: by 2002:a05:651c:25d1:20b0:3a9:a53f:81ba with SMTP id 38308e7fff4ca-3ac6520e19bls2182681fa.0.-pod-prod-09-eu; Fri, 23 Oct 2026 06:36:04 -0700 (PDT) X-Received: by 2002:a05:651c:31da:b0:3ab:10e7:e080 with SMTP id 38308e7fff4ca-3ac661928aamr5443341fa.0.1792762564071; Fri, 23 Oct 2026 06:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1792762564; cv=none; d=google.com; s=arc-20260327; b=SllMgLvA8m3RZVIz2iBiLPgsakcKxmflSWGeY8GQY7O+VeTwQJ/EwqbTEzkQYXwQxg ye+zClPEbWwue1JQrUZvMKPjaq3ax5ULBUlCkqjXD598mmsxlGXzUfvv7PlD0wxCo8O4 0oWz2e2PqPAw8yNiNLTi9yIas76VWVE0LqEqY4ZLiWdev2FGJN4l5Wf7zK8c7n0CyT5g sYkS4WTNFnbKwphWVS9lvNd2H/WL1Attrk4OgL8kD+YE33dt2yceUC6AgdaUNhn6pwVj LZ3Cz10cg5wpVX8VJzjjGB3aRfphBMWf8FPI0DHCucqcMraS7FF4W9RXdn0P7S5SsEIp gHvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=2Iu6gYDNR7R4daDE/ivKBRpdM5fPd77yPyLcIAqQAJA=; fh=u+3kXEMzY4uVhDBiujW2QUo7NnpMLrGEgMQBYpCTRN4=; b=B7PfafqJvFIrcW8kSmREqo347+hqmTU2tSdwo+h8UXDzqiVaHAWTA3cunvfjNnKG9I 9Sl+ULTcNtAqOAjDVUuzTEoQNF2+ZU/x/F1fUGskBMMl7mgwWxiKhzRsvrCbh3yosrTy HpImSUerP+YH3UQvoLmrUFrIpdGpbKqJmlksPKnYjcM7lHIqH/DPR/HOVPNB2TS+k4Co S1G1GC1nNi6B0VfPSLgslm6IKaqQFCjymW0TBo00m4pE4BdXKfWUcyLjPEU8BvCy9CD/ DzIIs3yDPeMYTaPDmPdTDuJWQxwIA9nv33ofOkkRYIAF9xoKH8o/foDktIoctv+QtSJ6 uaww==; 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 38308e7fff4ca-3ac65d00e0dsi274411fa.17.2026.10.23.06.36.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Oct 2026 06:36:03 -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 laptop-0xxx.promwad.com (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 69NDXhYh025025 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Oct 2026 15:34:02 +0200 From: Aliaksei Karpovich To: isar-users@googlegroups.com Cc: Aliaksei Karpovich Subject: [PATCH 1/2] rootfs: clean rootfs dir before unpack from sstate Date: Fri, 23 Oct 2026 15:33:33 +0200 Message-ID: <20261023133338.32200-1-akarpovich@ilbers.de> X-Mailer: git-send-email 2.53.0 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: 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 Content-Type: text/plain; charset="UTF-8" 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: sHzRmyVs1Vil In case when rootfs is restored (unpacked) from sstate, we have to clean rootfs dir because it can contain files from previous build which should not be included in current rootfs and will not be deleted during unpack. --- meta/classes-recipe/rootfs.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass index 4fd627c2..99e701e9 100644 --- a/meta/classes-recipe/rootfs.bbclass +++ b/meta/classes-recipe/rootfs.bbclass @@ -776,6 +776,7 @@ rootfs_install_sstate_finalize() { # - after restoring from cache, there will be a tar which we unpack and then delete if [ -f rootfs.tar ]; then run_privileged_heredoc <<'EOF' + rm -rf ${ROOTFSDIR}/* mkdir -p ${ROOTFSDIR} tar -C ${ROOTFSDIR} -xp ${SSTATE_TAR_ATTR_FLAGS} -f rootfs.tar EOF -- 2.53.0 -- 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/20261023133338.32200-1-akarpovich%40ilbers.de.