Message ID | 20230106180242.3276764-1-roberto.foglietta@linuxteam.org |
---|---|
State | Rejected, archived |
Headers | show
Return-Path: <isar-users+bncBD74TYH44AKRBR6E4GOQMGQERQ6WBRY@googlegroups.com> Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 06 Jan 2023 19:02:55 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f62.google.com (mail-ot1-f62.google.com [209.85.210.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 306I2rm9013659 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Jan 2023 19:02:54 +0100 Received: by mail-ot1-f62.google.com with SMTP id l44-20020a0568302b2c00b006782da3829esf1068100otv.16; Fri, 06 Jan 2023 10:02:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673028168; cv=pass; d=google.com; s=arc-20160816; b=Xu9R0ch9r9TmTveh57IP1O/3tRSxr0M/nfOOBH7u7LUhVcujKvimOBbKsR6oWyFur4 fkgDBwJbWjbwbSB0l/D+XHFuVBlcCOS8jvfi+iuI9RX8dHntgBO+Ae/TB3Oi90+ilV8s CB4GOEjOzuTrYQG6EpqQ7facygRlF4upFQF7VGO+3xjVVqgBiDNI0s4Ujv6nIiV21Ea2 iyh5jaLZ+1BE2uCVF0GnWKXZCz0IX55OV9TRSLc2FtNrzJ3Vv4ddBa4v2Qo0b8wJn6yQ U0u+z3sfrirXvX22QRSs9gkv/0ut+efMKf/0HuLhdI9pxR2b7TEDBhBbVfe+MmK5wUTG d41w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=cCSKyWY3XOXYSrMFpIda45FIyoCdzLNAERbal1CLzE0=; b=MJe1IS/ISIasTaPOsLWUdOeb4HEVZK9S4MGQrrcgBg9Bme8VXRzlP50pF9+1w0zKh6 ImOANYfZ34hC/pm1IdJ2BOuapiwmtBRq8ydmALlaBIQ1H4ODoSuotZ8e0Vp54RUNb+kj tYcVBkdcCrGGfZqe4AmpF3k9yzaNsYlaH+9WMfeY8Jvmwy8oMJE1p1SMTnHGuWGLdVML fFwq8jNkOaLd9RpRxmt3xdUDDxSBJuExWOF6+UP06mR8DxW4Tt1CYZQ9PtZUyIytYPY2 5ARH2tI/ASXngDHK2ddgPV1PBDuAEIJ6ai4EZjqO/SDQsKRhI7r3fHouBLma8eNgUKyI SOEA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 5.144.164.169 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=cCSKyWY3XOXYSrMFpIda45FIyoCdzLNAERbal1CLzE0=; b=NfWTPgkSjinOpZrsvVKY8p7w3v3urdNYM4B2ghxcDfYf+7oFdNIoF1fKIpfhQk6M6d Abn6zNqOsz7Xd0QycmMHu65JY0RxjOekKG1QluX4yKgoQOzZsocNk8ItqKmDdQbv1uYH LAigW8IE1hCLM/denkFk2r2lvbAbgt/6mi/cwsTCqttHvT1GTTDQu43HTmL8/33Ra8a5 9s7DoHrvyZLg+MsK/MT2ZyNpy1OZdtvV5XIxiopg3m53wxeEzrUrRWqK/TYuf7kLcaSC 5gSp2S6cqC+/FyewzIXf4WPO+o9WfVbcCVoZc9PfygNtBGXb/NBZBPxASgAliB2DVCvD dqbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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 :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=cCSKyWY3XOXYSrMFpIda45FIyoCdzLNAERbal1CLzE0=; b=jpUjHvJ4M5fH1U7XO2QngscR6rZJhaxJf+fGmy3v5aiQsID2ASJWdH0xNcnYfb/WxJ I6bGslmT5YbXALsCRnT76W8XBKyiFRZJGinVbT/lol6Bw/hzBCS/MK0ZGDkhwDH51CFS 8PfxYIjAoqPNMgihPY5SPXLyKaT6qMQOiz8+ZsPra/A4JeqXUOvmcjYbEoGZJoUD4rFX ogEKnvHn7rqpEpwBQLTWDeMw9qcsEXCS1jLTZElWfR5Ku0eTk06qPN0j7G0Hs8RkSB5Z LPUJ9EDclTsERF5CR3WFsxAmlwTY4DH8nu4dvNTsgIVDyd40W8omvh9Chi540bajUL9H 6d7w== Sender: isar-users@googlegroups.com X-Gm-Message-State: AFqh2kp8L+kozY5QKl5uVri20Pd1whJ6f3JGEtl4e2a/ahQdv0q772Ww m/5ZJUcTZ5ElJAeZBD1UnD8= X-Google-Smtp-Source: AMrXdXsmEvriwQzKgFrkjUaIEIIlZBu/gL9xEDHDKzydQQ0pEfjqMpiT2KCOUrbm4QqTWtifsP23TQ== X-Received: by 2002:a05:6870:ed4e:b0:14c:872a:aa11 with SMTP id ex14-20020a056870ed4e00b0014c872aaa11mr2627717oab.59.1673028168183; Fri, 06 Jan 2023 10:02:48 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:5241:b0:13c:4c86:219f with SMTP id o1-20020a056870524100b0013c4c86219fls13332125oai.7.-pod-prod-gmail; Fri, 06 Jan 2023 10:02:47 -0800 (PST) X-Received: by 2002:a05:6870:7f0d:b0:156:f2a2:fb01 with SMTP id xa13-20020a0568707f0d00b00156f2a2fb01mr591239oab.13.1673028167337; Fri, 06 Jan 2023 10:02:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673028167; cv=none; d=google.com; s=arc-20160816; b=wok8w9aa00Z6CIrfVchcKquYAJNQQSc1jpbsv/RAZIYgAN6rDt3Ls+MtDRrXcTKTWd yHCXwA49dpxXNR3zRQ6MUecjWQu214DXdvc2SvJqqCcQcBLBbkNDXMt2VPTpRD6Zx/Eg bYOL8lfRdRO8sMWRZ1h8xheCSSG1Fr94i/aAUr5OF8LWcif/6O5C8rEO/QTdXCAwyyDB uaEdXr6xk/JrDj76aZHI/1Qkv13CLeWT4WYvs4n6e8phoVdte6alzg/ByJVO3MWo7ByS hd921it7XvF7kA8mdo9TyN17ZuKcDR620VVFnQZ+si/vySoiUbZpkIIi8G/lJakt/8Hb zXUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=mbQ4c1d5CqTeMoseX90rie1lWS4dnEV6bHKfJMauZGU=; b=SPxsWjSbHdydkszHpSUkluDYIEo9lOlkLYn+VHVye1eEJdPH1Ji9EngmyQegDF2wJD keOm7pExEBm5RywUYtwDYgPaoxFzMe8OsNaUs+Tl4hwogWbfobFzNdtJagT+lBF0wK3y OWkRMTg8nqcrNNk6Jck86OV+wJdMG0EMxPF5wAkQ8yY1d1nA/i45jwOjW7blVBUwADex rheu2zuvmCgTYeK0oRh4ImfGwi/56XfS4XyzSZByF6RMxdjwoLO2EZYSQBdUKIFg/890 kCgFEgp+cE9pzNLXBpZZGZ3Yi86sUuJqzSECrdLFf0W29vpu1WvTyiJ5dI7g0f1w4VSs P4lg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 5.144.164.169 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Received: from relay08.th.seeweb.it (relay08.th.seeweb.it. [5.144.164.169]) by gmr-mx.google.com with ESMTPS id a20-20020a056870d61400b00144a469b41dsi194034oaq.4.2023.01.06.10.02.46 for <isar-users@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Jan 2023 10:02:46 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@linuxteam.org designates 5.144.164.169 as permitted sender) client-ip=5.144.164.169; Received: from localhost.localdomain (unknown [IPv6:2a02:8071:3187:7b80:94ac:6ff9:3c29:fa3b]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id 191183EBD1; Fri, 6 Jan 2023 19:02:45 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com Subject: [PATCH v2] rootfs: lock undefined in corner cases, bugfix Date: Fri, 6 Jan 2023 19:02:42 +0100 Message-Id: <20230106180242.3276764-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: roberto.foglietta@linuxteam.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 5.144.164.169 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: <isar-users.googlegroups.com> X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: <https://groups.google.com/group/isar-users/post>, <mailto:isar-users@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:isar-users+help@googlegroups.com> List-Archive: <https://groups.google.com/group/isar-users List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>, <mailto:isar-users+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>, <https://groups.google.com/group/isar-users/subscribe> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= |
Series |
[v2] rootfs: lock undefined in corner cases, bugfix
|
expand
|
diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index 786682d..b4785f2 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -200,11 +200,14 @@ python do_rootfs_install() { if (d.getVarFlag(cmd, 'isar-apt-lock') or "") == "acquire-before": lock = bb.utils.lockfile(d.getVar("REPO_ISAR_DIR") + "/isar.lock", shared=True) + else: + lock = "" bb.build.exec_func(cmd, d) if (d.getVarFlag(cmd, 'isar-apt-lock') or "") == "release-after": - bb.utils.unlockfile(lock) + if (lock != ""): + bb.utils.unlockfile(lock) progress_reporter.finish() } addtask rootfs_install before do_rootfs_postprocess after do_unpack