From patchwork Sat Oct 12 13:29:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 3869 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Sat, 12 Oct 2024 15:28:26 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f185.google.com (mail-qt1-f185.google.com [209.85.160.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49CDSPJI014765 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 12 Oct 2024 15:28:26 +0200 Received: by mail-qt1-f185.google.com with SMTP id d75a77b69052e-45efe547818sf53046481cf.1 for ; Sat, 12 Oct 2024 06:28:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728739699; cv=pass; d=google.com; s=arc-20240605; b=CffSftWMZl8cDYnesfupIWtzKNZBtFI7tsgejDY1iX8+gzXb3QmVebb0yJ8URNGBRh L3KLRe9vVnvjSkFYvmY7bKx669LNkP3tshM3Q1ehHuTW0VCktAYzOGTg6/iFV1YOLmqZ 7xjRuOZ/PQo/nyWKKub1uSBvV/WlT1M5FA5RqIDyjjuX1doVMI1YCf0hh2N69ngviGiI aNLVYw2ZxjNpYmSp3E/HVyMBipWsvtoFvADpYzVDXMPxH5EpA8h/dCXUYLHwOkgzAGFu I6Dnh05DlB2zr2Er+oVYiyXo1lChFVx8RyOUa+F7y7tmuGd+l0ohtkJQvSwwHNkf7kp3 QcUA== 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:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6UdPyjO3UehBArd0wzqhXYE2LiaQe9gIAAweA30G3Fg=; fh=8aMC/wpCk61P2blPLnEArzRjNsLX6qZpI+StZ9ZYwpM=; b=OjjDDzGxjYyOUvbFWiJ3t+Taz2ibx5CEdxhxCKoqaWQ7eVYZvH20NIEHlOJnPp70pj 9+HlOR8mMZPcWI+mVhgIzOuyRI1wtFv+KmGErkTXGyrScf9zep542osZL0m88zOpTyam yioEoeVvdk0sBgMA5iCckG5wlwRIp5IKWbPXWNNlOtNsUb9oILtghgyL6FnRquQPV9p7 T0ybHUX96wfIaz0He7YVpAQ6XFOZ0SzZ9hSLMSTrr9piVS/uqbH/8TMsBfcEWo2cArVB 2U9e0vXHSsPnw3y0N+N82w7HsPqL5rXlETTGSIqRmjZY/O6EzvRA2gF8Mhv0OssSqpnU vY9w==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=SYw6+3GK; spf=pass (google.com: domain of fm-1324425-2024101213281653e1fcb2003c478ba1-ysal_a@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1324425-2024101213281653e1fcb2003c478ba1-ySal_a@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728739699; x=1729344499; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=6UdPyjO3UehBArd0wzqhXYE2LiaQe9gIAAweA30G3Fg=; b=fflTm/KPlF3TgZIKUTTVLa/u+IRVvAJjE7eq39kU6hvAIaIMBVDNivUInmck41jawd StRPXinZWCcZrZVpJShiqMR/gcGcON+P4RG01N9qIAlJVOzuDbnLX9no0qI0g5XlNazU sYBXjBVYSsjJsfGTBhrtaZ87XJHzNudZ8QZdhCvOi+NTuY4Fwo7DSCAUbcYzb3EYZ8RA BQqmk4LwFFbsavIeyU0jVICSCcDCh3eC+f9Bor7yDsV5zZjansidS4KFPrlj5B9Ewsek ap8hXrJwK/sk3Q6AeVF3Cb6UKf/L919o+XGZyTmnDMI2wQ9beVL6Ptowg3+JY86eYnb0 24Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728739699; x=1729344499; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6UdPyjO3UehBArd0wzqhXYE2LiaQe9gIAAweA30G3Fg=; b=WgTnlldBTFjd3ddQbH7XWfOt+KxUC9aK4dM02u5E3Az2nVPBgcXHTgB13OXYZuioXh 0mLJ6U6zMsn4TeCgDp2IpYCubjEK4IWE849dBqje7m1k3iLpVaD0McdFKo8EY/gRRYyo r+6/w1ID1Chk50oDhHhqwnQ7Xt5FIFE+dH8w39nGQj3Qf8xB2BF7ZdsDz3o6NqVbostJ BknHYMX/vlMzle1kh/bkjJiuA8FZwzxPfvyoS7hYNynbvmH/W/d3YOuIru6x2iQRR52D Ua4pkNVKjZgT8b/UrhCYtXs8IAbFY3BZ79bHCSkv6EAhrHMPcpuYONQ0rTu7jjT5uUIu +wJw== X-Forwarded-Encrypted: i=2; AJvYcCV8Uma4+3pSASPgg20T8eCbF7jF+jTXqjr4w6eRSAKGmwnRnUX05MwTsyDY4FZP17lkY/Bh1UA=@isar-build.org X-Gm-Message-State: AOJu0YxoeZBuB4LCzrBVxaqSr7h3ofi0XLMHVuC9PSnmIVkQahOkRN4W /ZYhoYFHVSI+/3E2JsVfKDqFogH5dYrdGJy7tnqyNGoPwddeVugn X-Google-Smtp-Source: AGHT+IFcNiBPgBxSmQMoIGCb915a3Qn+FTN1dS5k+Lz3mu4uTNcFwoo05yII4I6vyYzSUJ/XG3Honw== X-Received: by 2002:ac8:7e92:0:b0:460:4275:efc7 with SMTP id d75a77b69052e-4604bc2ddafmr88953151cf.37.1728739699522; Sat, 12 Oct 2024 06:28:19 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:250:b0:458:2aac:e50d with SMTP id d75a77b69052e-4603fb32a8dls41235311cf.0.-pod-prod-01-us; Sat, 12 Oct 2024 06:28:18 -0700 (PDT) X-Received: by 2002:a05:6102:3a06:b0:4a1:4f98:ded0 with SMTP id ada2fe7eead31-4a465a8a6famr5406154137.22.1728739698399; Sat, 12 Oct 2024 06:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728739698; cv=none; d=google.com; s=arc-20240605; b=GhoBJ7tXXfvDxozhgjUjECf+ExtoxPvDz3sN5/yoU/1I+ym4/kC4E2YCJ140w9WKny o5POFCKWJwLttlokG/GXX3wPxgEOjv1Yp3tVoEy4Lq1Ya8xX8s0pD712rAF3BQECktB2 NCPgdnWh0ovYM43SnVonRgt5yocDDTe/q6b0mO5HZP4WIMUZxXRNeCR1GuQFa3lPJ1aT wRzhrDNsr7KvpJICqkZUZM9sJOa3CRZWi0BnBsAjPALP5na+ugYGbsMSYuVbF3jFD6Kr Bk7tVcpA+dgzjHpi1jvfRucTK3tpw+XNsbKHl7CLQExZXtmoenGuYzXXqC5xOtZYVm0k cwgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=uQCGIEf0vAsKoJkEcGZCIrQFxi6duiXo/bQJmZGOe5Y=; fh=fJYqdYL3xhCS5FNWeLWGTuHLWIkeGA3KdbQ9U0DP7m0=; b=io/ozPSj+1Mhn23J8yjXgqwKSKP97z1Ufai03oD+ZsspAesNpwLpMu7LUAUVzJI1o2 kOx7YCU+cXro7O+E5tnwp75aNVKoo2hTgy6yEON5V8/AghiywnKNxTCOpoS5ED2s+Mv7 vSXBjI8zjHK3yFG6sF9kBK010Ai2F7vuOQZ2jD1WuN8lGOXOBc9Nkolq+LDB+6QXN/CU jYJXximkk4rUWf16Aeq5VCeeZgio4MCfjEp1taTENryfJCt9ntYrrjHMG2E0EpOIu3fA uE0Irmf30bgd8jWyXMuqA20+oQ2vKKCB3GabQARFYV0SwHLd+LmOYZKmCAXCbvwE5zCe QQTw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=SYw6+3GK; spf=pass (google.com: domain of fm-1324425-2024101213281653e1fcb2003c478ba1-ysal_a@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1324425-2024101213281653e1fcb2003c478ba1-ySal_a@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net. [185.136.64.226]) by gmr-mx.google.com with ESMTPS id ada2fe7eead31-4a457abbdbasi218758137.1.2024.10.12.06.28.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Oct 2024 06:28:18 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1324425-2024101213281653e1fcb2003c478ba1-ysal_a@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) client-ip=185.136.64.226; Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 2024101213281653e1fcb2003c478ba1 for ; Sat, 12 Oct 2024 15:28:16 +0200 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, srinuvasan Subject: [PATCH] meta/classes/dpkg-base: remove os module in python function Date: Sat, 12 Oct 2024 18:59:10 +0530 Message-Id: <20241012132910.1298091-1-srinuvasan.a@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=SYw6+3GK; spf=pass (google.com: domain of fm-1324425-2024101213281653e1fcb2003c478ba1-ysal_a@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1324425-2024101213281653e1fcb2003c478ba1-ySal_a@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.com 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: srinuvasan By default os module imported in python function, hence remove this import from the "isar_export_build_settings" function. Signed-off-by: srinuvasan --- meta/classes/dpkg-base.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index c97ee651..2eb6bfbd 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -231,7 +231,6 @@ def isar_deb_build_options(d): # use with caution: might contaminate multiple tasks def isar_export_build_settings(d): - import os os.environ['DEB_BUILD_OPTIONS'] = isar_deb_build_options(d) os.environ['DEB_BUILD_PROFILES'] = isar_deb_build_profiles(d)