Message ID | 20250117142513.264551-1-srinuvasan.a@siemens.com |
---|---|
State | New |
Headers | show
Return-Path: <isar-users+bncBCSPNL5H7MGRBYGQVG6AMGQEUYNWR5Y@googlegroups.com> Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 17 Jan 2025 15:25:43 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f57.google.com (mail-wm1-f57.google.com [209.85.128.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 50HEPh8c006515 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <iupwgm@isar-build.org>; Fri, 17 Jan 2025 15:25:43 +0100 Received: by mail-wm1-f57.google.com with SMTP id 5b1f17b1804b1-4361ac607b6sf16387665e9.0 for <iupwgm@isar-build.org>; Fri, 17 Jan 2025 06:25:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1737123937; cv=pass; d=google.com; s=arc-20240605; b=F2vxsY8Dtsss8lJyOgtyl3KVCmV+YG/bEw+uay1NBKv9NDZQpetJtsq6yIH7IT7Fv2 A2ECIG+qVeggg3hKwuWOXc+CyXI036VnGhR5m+uIJI2r37FSaOeWQnBbT2hbQnpunNwB +7R7VY4CCu4nNcGOaxzUSulK+Z0xjR1ecvAzjDrviWZdq1pDmGh5zQsE1+G6nhsoH4Az M4Z1X3zvArl8eIM0c+poPycU+Yl/IZdMW/PECvvX9yyiyyOf/WlyE82Nougulki9+hWT HxSU96GXW1XJWYX/XVf9h6G62I6IQtKzEm1SLV8MDtPL2rnQbdHZLqTTJoqaF62W7Cj3 RsjQ== 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=wDXxZEuO3hRee7p15AOS8C5y5TGrmS1lJuvpUmHD800=; fh=sbBjmVMoWsvwzA8W0q4Pd9yeffg1AnVdYrWa13Ecjtc=; b=YDrO8a23kwMH+kzBJrGzuqTW43hvUryDzFlZJIxSCbgGBVfAW/3a2SHHSJ16YibGqu rQ4ZNVDUl/cEvMoSxz2UVtscfmmxe0WGTjEfQiBD586Y3pKYqbaPyc7SK+u4W4Q6GCaX 5gWZ+diqHrcbt5MUKhyYeD0D/1H7VYThrL7UFS8+P5j1owuMWd6bA8voJ9OGqfgHFwcu ecwG6mIbzgc+Tk5pYAhMvya6mJQPmH7Ay0GWZk5fiy8zMrjAPd20H75oOGRx4KLRbeFE ib4myDICXM9ZH3g2Ukq8gHrmVrXeRVsMrKXQq0xOQt0ejHfKZQ4RRCYtghG53xSp1TuQ y5Qg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=adwWWjTV; spf=pass (google.com: domain of fm-1324425-20250117142534ec5508e9c927c45079-3ntoti@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117142534ec5508e9c927c45079-3ntoTI@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=1737123937; x=1737728737; 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=wDXxZEuO3hRee7p15AOS8C5y5TGrmS1lJuvpUmHD800=; b=qWxaI9dgxSExOOuU86TIkc2plIUYhAjeZocmL5AJWDb+p471/luOZ3xQcZze7iQIEa oBhwWR0FDqn15KZ6GTIj9+FxRQ1gPtAxmETR5pB0TdulraAeYMt8b1DGwYQ22y9cGEXj 965l0j4RcpMx99rCRLko+jrJaEMgzvZU0HXz4IisyuV4m7sDZvAukpqQ66LoIJig+2VM gp4qm1Ccfy3UrU9cwDhDKAPtYONM/eF9syhMwgz92MuqBZNC5jzKfsCy20m+vbyAVU1z kVeKbrzIG1yRGjC+ma2PG6R5/WnKPC9bwvt/2WSxCwq4ApxsXi8oEyJXHbCr3Bn9zBfh gGEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737123937; x=1737728737; 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=wDXxZEuO3hRee7p15AOS8C5y5TGrmS1lJuvpUmHD800=; b=V0o8kh6MwAVrKZV1tP8vWECUkrzg64m/vmOikuz0z540YdMDxOYp0z0cme2C/MMZ6B j7Zn17TK75wtgt6jKMDGX+NluoX+Y8O9KIU6xlL08kufRbanMULvfS8IIrPTZnfXFQE8 XHxpgJg2OxFtimGFS5wBtK7MoNIPVIW2ab5hEbfTzOUy0c8GbVRQtJPIps3Ghp2gAK2M fzsOARSNKoZ7aGSfe6UbirHWaMTQXu2/OHPnQhG70pFpgLk+/cn7lRojyTDs0TrKATMz hNkfvXcbK/Zs5Qvs2oO8oKzTsucDu3DQprvJGa8rP8RyZKawwu4JdLYws8H45Ly5vBqj uXOQ== X-Forwarded-Encrypted: i=2; AJvYcCX22eRHIXm16X5yvwkz66YhhVo/DxKejbGiiU0k+iUjr3yik1/NfNiJGA//fvRZ9AHO9tUxXIc=@isar-build.org X-Gm-Message-State: AOJu0YxFi/ELqWpma0c/5vwlE2j9SAUWovTaW5SZOQ3VDwl8pYV3NR4g PqEuWNEgHzJyWHQoI8W83182kjDO9eZOaT6P5d6o/lFPXmP5UqGG X-Google-Smtp-Source: AGHT+IFsOHDuTOOtKdt6LyHamaCqHiRP+/uPpa21dNqKBNooO/9dO9909nXsBhA8rE/KOIOM/mR5qw== X-Received: by 2002:a05:600c:3544:b0:434:a781:f5e2 with SMTP id 5b1f17b1804b1-438913cabedmr28366925e9.8.1737123937136; Fri, 17 Jan 2025 06:25:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:ce89:0:b0:434:a968:899c with SMTP id 5b1f17b1804b1-4388abbf019ls3018185e9.2.-pod-prod-07-eu; Fri, 17 Jan 2025 06:25:35 -0800 (PST) X-Received: by 2002:a05:600c:4f05:b0:434:fe62:28c1 with SMTP id 5b1f17b1804b1-438913ef83bmr29727155e9.18.1737123934873; Fri, 17 Jan 2025 06:25:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737123934; cv=none; d=google.com; s=arc-20240605; b=ItrOA8zXZbwlryfP55U09HLnFyo4NXdOmZkaS+p+b7SMk8gSB0GvvCQdFeyF9dZaHq wWmlIhbqC0Pv2MAZEet3VZsyb9+Wo557a2gICON2GQnMdFBk+EZqzLd3qW4zck6W5biV sjkNsVHXfy0DrrgsTsoYEilvfVOlxOecYBVa+uBNOG9s7fofjRd396vsUjzDnoR4q7Ys FK1pjMrENCKEJKM3Rw9UZf+DQ/yVdy2Ea7J66zSaDUr2gasSyldtYnHmdJU5XuxPPNCO aIhiDoFAVZzYdkINvEPxOugBeSuyNUP4R99jScYYigAiL8Meif0EDCLP+gx4bcN3Bm9G ZiNw== 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=wt82Ogp18+V2sAwbwfnrrkOMz8E1wCxwLtC1ATa1dXw=; fh=fJYqdYL3xhCS5FNWeLWGTuHLWIkeGA3KdbQ9U0DP7m0=; b=GlB2LXttBWYFcofnWpSHsPLm5gMscMSIcK+/p4wu3t3F0Yn7lOdOimsjQXUWQ+P+fm m0/vdaVDFd5ROZ+EusMyFsEwnVhuy1C8QB1eEJccHSWG+8oOHaibOO8d6xncJaVWRR8p 8txc7i0JJJE7oYE1B/Payitxq5UqRwQGq/g/P38Tqnb9Qvqt6gJD+lN2/nNC9NY0RoZV L5SzHtbabfmLq6xfnZtX/mUkVBpL8WP01JCXGAkUP143qufPGWj7vxuHgbNw4CS76CrM qUJrk93u197K+rdRwvMCVzv2i8ouGaoQwjF1iFthls0N42YSh3aFk/ZOABEgZVot25pp wMXA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=adwWWjTV; spf=pass (google.com: domain of fm-1324425-20250117142534ec5508e9c927c45079-3ntoti@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117142534ec5508e9c927c45079-3ntoTI@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-437c73e7252si1415475e9.0.2025.01.17.06.25.34 for <isar-users@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2025 06:25:34 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1324425-20250117142534ec5508e9c927c45079-3ntoti@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20250117142534ec5508e9c927c45079 for <isar-users@googlegroups.com>; Fri, 17 Jan 2025 15:25:34 +0100 From: "srinuvasan.a via isar-users" <isar-users@googlegroups.com> To: isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, srinuvasan <srinuvasan.a@siemens.com> Subject: [PATCH] meta/classes/sdk: use rootfs_do_umounts to unmount the filesystem Date: Fri, 17 Jan 2025 19:55:13 +0530 Message-Id: <20250117142513.264551-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=fm1 header.b=adwWWjTV; spf=pass (google.com: domain of fm-1324425-20250117142534ec5508e9c927c45079-3ntoti@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117142534ec5508e9c927c45079-3ntoTI@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 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=-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_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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= |
Series |
meta/classes/sdk: use rootfs_do_umounts to unmount the filesystem
|
expand
|
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index c69f7096..46436d97 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass @@ -90,16 +90,8 @@ sdkchroot_configscript () { ROOTFS_POSTPROCESS_COMMAND:append:class-sdk = " sdkchroot_finalize" sdkchroot_finalize() { - mountpoint -q "${ROOTFSDIR}/dev/pts" && \ - sudo umount "${ROOTFSDIR}/dev/pts" - mountpoint -q "${ROOTFSDIR}/dev/shm" && \ - sudo umount "${ROOTFSDIR}/dev/shm" - mountpoint -q "${ROOTFSDIR}/dev" && \ - sudo umount "${ROOTFSDIR}/dev" - mountpoint -q "${ROOTFSDIR}/proc" && \ - sudo umount "${ROOTFSDIR}/proc" - mountpoint -q "${ROOTFSDIR}/sys" && \ - sudo umount "${ROOTFSDIR}/sys" + + rootfs_do_umounts # Remove setup scripts sudo rm -f ${ROOTFSDIR}/chroot-setup.sh ${ROOTFSDIR}/configscript.sh