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, 06 Dec 2024 08:28:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f55.google.com (mail-wm1-f55.google.com [209.85.128.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4B67SjPu001706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 6 Dec 2024 08:28:45 +0100 Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-434a27c9044sf10596895e9.0 for ; Thu, 05 Dec 2024 23:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733470120; cv=pass; d=google.com; s=arc-20240605; b=Z45mFoTMHNpuvGVTWrvpcyBwVpxr9wH+j0iCHdPtsnaWkzRDd4zxOPGwp3A10dFuAp 86i2CFQ8w8tR1lrBcWSKbZGcqQPFZ+sd6anmA45bQD0wtj1rAFINfQ2CjfIUVQc7Vbuu KyrjEH9CGDDS4WuSlf0kdfIeHJeiGHVHQ+FwLx8QeIDDwdMzAff5RVpJy9UkQ8iALb+K 7uMVijrNT5SsU2O9UqOrZsEMMzK76hHDBC9cAtNsxP1yo9+fX5TT/VgarVqO4kzkl6E9 nk1vrd4QjzgulPi6SExPcX6dwabsAKM7jpqTz3hpEiHMDcXnpWyAspv9k9vZLPDmzAqa xPTw== 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:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=P2aYF9s9KUDFL1yNEzGCdf+9kk1J8YJq2xcc9IR+7hA=; fh=EItFkXXU+xOAZKbqX5iE5PcdJqSpL8G3LVbjpoknb7g=; b=Wo6R931S10Q55/2eDmQQPM9o7JhlildLQFujf7AN5cSVXlpmRSqybJli/zLWFeWozT F7NcBPxkD24eR+vO0L2z1JIuu8w4OmmJRgJACCPylJcB/CbJ2eAUmhC6P2/7ft1mFSXa Uqnl0p3BeUhjJd0NShEP9TLAmhhmxfTrUhtFmBfO0RzKxlQaDrIpOWJMdt0aFgMOLoOo mqFp/Qoyx/gsPKeTNCj+MC3TP4ZsUdGagj6Ih2EYvTEG2uaeDSbIS1mDnxz/F9TmvCAx 2iRR8eQNIUPpMEbDdGujHvqo8PaRi4c0ZCuRpfq6VG7fpohr562XehtxM/E5wnE5nZvs hZZw==; 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=1733470120; x=1734074920; 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 :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=P2aYF9s9KUDFL1yNEzGCdf+9kk1J8YJq2xcc9IR+7hA=; b=PGsPz7nwqyoJStqwMywuv7RCUkLnBsEIdiGRTTCv6Ut8GZKibHBnj5teqCS7UYzruh L/A0gMtyn4UU+LABoM3bbXHWFpBXRinEcEa4JOa3wlq60RRMjVaY4gVeuMqgTYSmtMdy 0qrVyA1WXkPNzV8/PHgULvjh57QlhAQM40e2CgxIZGI9BJC4f3STGotUgH01GNt8WKQy fSGhcel3eJ/s8HL6bQ8V+S+5whk/H3S3BfmNMF4ALNQCXAnUs6FNjWaCGAgCM9RMjEAA 38R97RhwAIeDbM2bZbahvvP1FNm0FNvRZhinmqdWgevgY3dwo9UB1KkDpyCnkvDEpgOs QJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733470120; x=1734074920; 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:autocrypt: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=P2aYF9s9KUDFL1yNEzGCdf+9kk1J8YJq2xcc9IR+7hA=; b=YVQpYHXJX/4nuLTcwfnF1mJn0gvXJ09LSwi0FSpAeVHfm9pfiDx0XZnLUKqmBvn1go ZZvZgFx6cztYqKdPosLeMLvWHWULa3yprwoWM7ouueax8mU3AtaJVmKmGW8FS9F4n6Mh mpJmFKdGlsw2lQCvbeYItFna54tTP2MAsbD5uyq6l7K5Xf4BcmEKaXM8MHR6K3tNuNqu VDCLitEFLsPpfAalxYkd4cZ9f+ergew1SmBbOKuEhjDvBxQ2ALc4QQO6qKK3J7VWvL2H rb71P9E7QEYAS42Hu6KihMUOu+RJhE2RQr5RTomB+C3Vy+DTuiv68D8dJ5igwj2NKGLX ObuQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVozE7+tOAjNrFGMPqPMdn+WG6uzf5tFnsQpcinvCqK4uq88OdltWcu14WulODdsJEwWLYi@ilbers.de X-Gm-Message-State: AOJu0YyBJSAscV5OLVJalylnR/XeE7/Q6ZoZ3U93LwZA2SkVlWU2RzJJ AulgxMpjuaZUx7F6QqP8+pTe0TCl76/7zkQ0OvENQVIyrFnFs1wc X-Google-Smtp-Source: AGHT+IG77wEyqcjRELeeqFFr9yiWAjhgs5bDElChRuRxwuEP3la6Qci2Q5rSmdzQ7juwclhDvwNa4w== X-Received: by 2002:a05:600c:3b9b:b0:434:a315:196 with SMTP id 5b1f17b1804b1-434ddebae71mr14032825e9.19.1733470119074; Thu, 05 Dec 2024 23:28:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:a46:b0:434:9ce6:3e4 with SMTP id 5b1f17b1804b1-434d9622079ls9512845e9.1.-pod-prod-01-eu; Thu, 05 Dec 2024 23:28:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWagM93j3dDe36aOWuu46Cc09qXxnGDQcJ0wZ32uKpnXF6hJ9jFKVJL2JoTsgWA4/m5nDnHQUEgzs8E@googlegroups.com X-Received: by 2002:a05:600c:4fcd:b0:434:a711:ace4 with SMTP id 5b1f17b1804b1-434ddeba502mr17056875e9.17.1733470116584; Thu, 05 Dec 2024 23:28:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733470116; cv=none; d=google.com; s=arc-20240605; b=ETZ3Tl+hj3DgLWSLJVTk71f73mcMFC0qWG8zExTroo7hVAP8gCFY1LSpF0F0+r+PKp +QGUj1gnmo+2rvanM1XVKumxRow1USJBfBb+FbHsee79MxE8zRlxZGcF6D0sE9SVOA3Q w9VBv/433jOesDVGwlbdWyDHmTAnRuJ/5vxrpp6+yBkgLf2j2lpH+MVjQjnFWx+NVqr7 IVi726MeqYBiDPK9LwZLtQ43/WF8fDx1IhlIk6nWp34Yawc1Ccv+iY2yWhR1plSnGJuD CTNjbakL3zdAw/yb4Td2koaegUxg54yvhcvfiUGAm1q3ehfRN/Y12gz5nT1VvccHctrt bejA== 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:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=cZqb0Q6vI3ayhjfq+7YCqjH5r9MmoaZ4/xD73YkpjgQ=; fh=BRtEFnQ/hX0tuF3IDXdDV8810JFa3wPtueGeeil1LZw=; b=Zr+AmHLfAjfbcESYF31G29oS911Xfc7DX8a/Tmr3mnbRr5l/+GPi9w5VF+N9mIB66e HerLaXs4ckT3a5hH2ZaiBQ0rLrxZaU4atbznvPqkGqt70Bllf4Unod3XmUV3CR4Ok5AY Fmy4omXwMsDOx8dwIPJNLUy2lyMBJra6IJePjQlcpYXqDSJCwUtRoE30Aj0Dl75tt+FW PZRxaiDraTYJGRtQC0YjQxtk4jNuIBnrkgWbpUG2PFz5oHbKmxH2EHiNUyxXEvtJRtHg O7QsbJZfrJBTQOjf2FOetYmUfbPEwclNat6v1sELJTNPgjfwkUj55rwwQ61t3kIIFNJ1 7Vtw==; 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 5b1f17b1804b1-434da0b8308si607015e9.0.2024.12.05.23.28.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Dec 2024 23:28:36 -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 [IPv6:::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 4B67SXj6001698 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Dec 2024 08:28:34 +0100 Message-ID: Subject: Re: [PATCH] Fix rootfs source list handling in image.bbclass From: Uladzimir Bely To: Vidyasagar G C , isar-users@googlegroups.com Date: Fri, 06 Dec 2024 10:28:33 +0300 In-Reply-To: <20241127174426.4098-1-vidyasagar.gc@siemens.com> References: <20241127174426.4098-1-vidyasagar.gc@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== 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: 2JFt5RKrpTqp On Wed, 2024-11-27 at 23:14 +0530, Vidyasagar G C wrote: > Ensure that the APT sources list is only moved if both the sources- > list > file and the sources.list.d directory exist. This prevents errors > when > APT is not installed, as the sources.list.d directory will be > missing. >=20 > Signed-off-by: Vidyasagar G C > --- > =C2=A0meta/classes/image.bbclass | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass > index 472df3cf..31be4267 100644 > --- a/meta/classes/image.bbclass > +++ b/meta/classes/image.bbclass > @@ -418,7 +418,7 @@ do_rootfs_finalize() { > =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 -maxdepth 1 -name 'qemu-*-static' -type f -delete > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fi > =C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ -e "${ROOTFSDIR}/etc/apt= /sources-list" ]; then > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ -e "${ROOTFSDIR}/etc/apt= /sources-list" ] && [ -e > "${ROOTFSDIR}/etc/apt/sources-list.d" ]; then > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = mv "${ROOTFSDIR}/etc/apt/sources-list" \ > =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 "${ROOTFSDIR}/etc/apt/sources.list.d/bootstrap.lis= t" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fi > --=20 > 2.39.2 >=20 Applied to next, thanks. --=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/= cf2f482568ac61e43c47783c64d3371eca7fe953.camel%40ilbers.de.