From patchwork Mon Aug 24 03:02:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijai Kumar K X-Patchwork-Id: 17 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a05:7000:4605:0:0:0:0 with SMTP id b5csp2197792mae; Mon, 24 Aug 2020 04:02:30 -0700 (PDT) X-Received: by 2002:a2e:8615:: with SMTP id a21mr2473221lji.357.1598266950401; Mon, 24 Aug 2020 04:02:30 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1598266950; cv=pass; d=google.com; s=arc-20160816; b=o/37SUZf1rtPiki1GH8PeUHU74lMo05zVhV5ge5mNxid2ZB2SBOCqslVft4zoXWAd0 V+TYuRlHxYECBhAYUUqt+SPgPXBPF8QIcs/bTwR+eW4aNvk93iMRW+6O5kA7wrMOZdie l1Q7htaxv/mWu27d5dlaPJo2CSGiTgLD5A2oTeXgVSZUURRqBfj/ynEm85OSJ6n6k+wc mA0T93rxqOsJLbn5IiDt9ISVdnxaL1woMr63bNS6q3kSdcz4rTRVm5i6/qpOPTcfR6yp 6QiN+/b9aR3l/oCveCYic1UySHkXaQcijytsWKDnziDcBThBzjV2e7StGMn239lRyUPQ wgIQ== ARC-Message-Signature: i=3; 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:references:in-reply-to :message-id:date:subject:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=vSf+5anA+wjwcLE24aidlF0EOAmigZzXLT+bLZFT6TI=; b=iGlZOJOS76Bop6HCuD9yYjvz8Nf9eFlNQON7qDSOwvSFjOemKShAlUI+4sQM5ZX+e6 0T5zwcGBK+CLsqYQuinHQlIvH6tvE4ZrxbVvJxfkgh/5wa+/TNCmjxQshAGTHVhAlv/B R1byKI2Encar0cQr09MrhipZA9o8XwcizkAA32yCmdVXLgSEarafgkOWcNoHnJl8l9So k4D6f8RG9WkDFTmL8+6E7dJWl+ErIWGhfS28zlw0GY/aKmOLHB+LQShcaemIWw71AJUk fyrWZVMqOGIR6b7/tiIN0od7pxI8qE6E8ZrkYLBiPSLFGFCyBUt+b7Ll4anLtn9DeXqc s32A== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=LjJkd39D; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcw7ho6fuybrbrn4r35akgqe7gc4g4a@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCW7HO6FUYBRBRN4R35AKGQE7GC4G4A@googlegroups.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id a26sor1862143lfr.42.2020.08.24.04.02.30 (Google Transport Security); Mon, 24 Aug 2020 04:02:30 -0700 (PDT) Received-SPF: pass (google.com: domain of isar-users+bncbcw7ho6fuybrbrn4r35akgqe7gc4g4a@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=LjJkd39D; arc=pass (i=2 spf=pass spfdomain=mentor.com); spf=pass (google.com: domain of isar-users+bncbcw7ho6fuybrbrn4r35akgqe7gc4g4a@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCW7HO6FUYBRBRN4R35AKGQE7GC4G4A@googlegroups.com ARC-Seal: i=2; a=rsa-sha256; t=1598266950; cv=pass; d=google.com; s=arc-20160816; b=JSgSrdFO4tFVYtMajkR3pF8uwQD4gPAynr6DBkLDFgnyWtPmTXFgJvFFNooopKlxKC csZWLXndGe3ph6C/iI+9RV9F6yzJZWSw4NAzCMBbdVENeNSWQ7sDB+w6b0drOZuYyb4x vn4pN+6muiBP0pR3+a4h1Wy+Mr4DEMZKXoYBwtFSLkL7Et3jkwhhGecOb98PxFLL5Ilk 9OhP1UibYZZP9Mv2nrhr2T3l4A/p4XwljU28RS205EpRuCc8q2y9SQDotuCG7/DtH2xo Vx2XiqCZc/iKoa4pJn5177YEhGNWE11N60Mek42YzSczGAOfgfMSXh6a7B0WVh3TlwcD VI4w== 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:references:in-reply-to :message-id:date:subject:to:from:ironport-sdr:ironport-sdr:sender :dkim-signature; bh=vSf+5anA+wjwcLE24aidlF0EOAmigZzXLT+bLZFT6TI=; b=oFK/1E6LYXlVvFCkBJOp9CnL1735KaGTj1pp0cUgMrp3IuiPNsGz4OT/OPymQjkTtS UsTt6S/K2wfg3p2+al9gBXGVf5JDXgDeABOvGGfvNKfIGmXILDYrqkVIx9E0nhVS8CmC k0kv5nG1BkdTF9kmg4WCsbFLTpfhhyI8oKGrhA/+xWV96d/Ae5zIM/P0p9hEQPSu60lZ 77OhSJjJAIUk9nbE0NBJpctkhWpNxukZfCOLH0P2SrVYWDKKTecxq7Oe9VWfvAAYWU+s lYcrxmjc+3jz3UwykK6DFs5zr5fQ1iolbveBLQuTWyanvOY906SbH00Q/jEMvSSzx8Xh yOyw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:ironport-sdr:ironport-sdr:from:to:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=vSf+5anA+wjwcLE24aidlF0EOAmigZzXLT+bLZFT6TI=; b=LjJkd39DIDyoCL7B38Nfkl2Z6JuWsHq1RrmwhfiTi0biISrdpyo+g8kyIXZMzfrZ52 KfmrIwyYBxCrgNUf+15TwNntpah9xrG4v/nmXS+4zYLtfwsw3czZ6G2QphVB6dWzi/ey fbCuN2St8UacsLfWqirMGlza5Nrw9GiaoTU3UHZlTjznOwCxvD9Nd6bHpomC8yKtN7ot ndK5O+XobD1f6bIBircF3jhDjBxhR5tOzV9aF7YkguaxJ98y/4szrYmk0itRCivxPH9g 8hbnCB1ex0HW9XXUPPrHsmsn3MLveMG5OGtVxxeiJ5Ow6iDN/TPHMhjX3oRLrlbIlfux 9A/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:ironport-sdr:ironport-sdr:from:to:subject :date:message-id:in-reply-to:references:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=vSf+5anA+wjwcLE24aidlF0EOAmigZzXLT+bLZFT6TI=; b=N7oxAnPAjWuZyZV75+FVfKg+7nrQGPxnkwdkG4qmsMmO5k8SYFPsh2ZBnHii0WZeLa F20xqLwgxquUiu4Cf6RqjQdvsw6tG97tMpqMv/zyiHtx9jfbjZj9YNfoYN8Nkt6HR152 Ruh9GfMtcy4crdWCqsMEp8WhVzpeRnKRuj8yHO4BusX4AaOkRAglgaa06dexMBQUJLoe 5H7/vHXPNMGzLUMVOISGDBgMuwbXFEYXf0eYfLZhD3i7ijPBvgTXGQkP4E8xpy+UHo4i xOBkyipg/yMciUQtkyQf9ueTL8EcmWgDHOKf3yyLr0XQEi6ROs71RhYIqScELkL5Pscg 1KfA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM532BuQW7GzOsJSj/MmF7yPF1TBYBh75quRpOUqXt76G2q/42i+4l Rf7LYwyTDVthbFgrNImEN/M= X-Google-Smtp-Source: ABdhPJyr8F7MtmQrqOp4S3zJJOhQylW0owynWbv67uuvaF0JNJAwemShMeftLdhe+vVtNKofHLQcFA== X-Received: by 2002:a19:644:: with SMTP id 65mr2252774lfg.143.1598266950055; Mon, 24 Aug 2020 04:02:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:60e:: with SMTP id 14ls1663382lfg.0.gmail; Mon, 24 Aug 2020 04:02:29 -0700 (PDT) X-Received: by 2002:ac2:44a2:: with SMTP id c2mr24680lfm.194.1598266949328; Mon, 24 Aug 2020 04:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598266949; cv=none; d=google.com; s=arc-20160816; b=SW6i3vujoyectDAhvYzmWLq4NQvCTmPBTTtixV6JEJtsVBWmKMOGS9Aja4GYdwK0S0 uDTZ8O8vn5CpYdfyINNDTf4mygy9oIyGHPH+cPqE7QB7k2BDHG5ysXkydq3WZkqpXaux qjyZ6WrRHoxWUQ3nNto0xHaP5PZDJx9k51LmctBUg82uMezSkm+Rq4H+HimMN4C3o+xH dnTSr/flLQkjjrjGH+hLDMv3Wvqx9LMjpKfcJM1VZVp/umntXkEOYO9wFcQKho/UGxQE /HarLAoBaU7bA6iShXwgq8M/j9RcXWXxQtRWHcNWGaTLmakOCS0m0tY7kTS5jSNUysWT 8Lmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:to:from :ironport-sdr:ironport-sdr; bh=xG0xR0L+KZCW2zI11hocj20TIYXLxvmBG8bTSliJLqs=; b=vPXeHkbVphYrtjV83uImd52UBC0fCWiqBUuMEKe04fK2yRac2YC5Zx5nMdz8OR62uB lod8+1YuTl/Xp0VmQenChwTJeX3ruPuLBPXknlSkuP5p6pqd6K3celHS50ux2gwuqZD2 Rm9Sxc3GgM3hj/FBBwpNrzRFFqgYzMbIPY9s9Y57++zTBVA6948we/GF/JqZyrKWmInA yYNH989l4ip5I+t5AZe0km+Ytx+FLc8lYy4znDZQHMpnB1CBnWVcN2ncBMNRuewpDWyg 2kTWm84rOdlDsKCsFz66kKPEAcnGzZ9kxlyybruApefA97GAX614Hqb8Aa2jvvvE/i8B Dw8w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.com Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com. [68.232.137.180]) by gmr-mx.google.com with ESMTPS id b10si202128lff.4.2020.08.24.04.02.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2020 04:02:29 -0700 (PDT) Received-SPF: pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) client-ip=68.232.137.180; IronPort-SDR: vKB9m7eLaTZUFjHv2PkPW14onnSCI8ub1LSF2yXDbUJGOdbmRVyDQcGVzzk1Pmz/3g+b5AA3aX l4Mjyicmur4EZfTyF9WuFoFYusI+ArooHg8qd1CTR6dSx2MEIU+rzaLKF/XiK9iCOUGcMIxmcV JqGoXYRsvR6cenm399aCmUnFXuxtf9zvR2XifDKZMRLAjEF19HOm8rieuEnFX/fK3KiMSgKfRQ MBtF6VNOcO2VY3DNS3uCKV1f9bCg/hgj/B8WU7I/X/nH+CTEMEeAP2tmfhlEBdH1HWhkkDgUor s3g= X-IronPort-AV: E=Sophos;i="5.76,348,1592899200"; d="scan'208";a="52175623" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 24 Aug 2020 03:02:26 -0800 IronPort-SDR: aMTfjZY8dshezUUup4KOviGgsoqcs6ywpbxlOUJAu1w2qOO/Bc5YkwGcffy/ndLf+EoJOlZEdy 6Zpwy2TZfWIYwBdZjJsjUkcXFti11pomXhF2YzGrWBSZPqn9+f2Rqu+FnQAlFysYcb5smYArEE zSKCre+oByYGwxPbP2Z16E6aXzZCPPqFUzv4OgoAp/bGU7ARWMtHCJsiJAZHjJ1flMFws0ojad YzVfYzeKXEQqUknOVVxRhsW6X4iOO6Tgl8wKOsQrYQE46TrttHzWF869AQejf/TK4ze1sbx/QN nYQ= From: Vijai Kumar K To: , Subject: [RFC PATCH 10/10] meta-isar/canned-wks: Remove /boot mountpoint Date: Mon, 24 Aug 2020 16:32:06 +0530 Message-ID: <20200824110206.21410-1-Vijaikumar_Kanagarajan@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200824105905.21110-5-Vijaikumar_Kanagarajan@mentor.com> References: <20200824105905.21110-5-Vijaikumar_Kanagarajan@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Original-Sender: vijaikumar_kanagarajan@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of vijaikumar_kanagarajan@mentor.com designates 68.232.137.180 as permitted sender) smtp.mailfrom=Vijaikumar_Kanagarajan@mentor.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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1675904365665445545?= X-GMAIL-MSGID: =?utf-8?q?1675904365665445545?= In the older version of wic, the fstab entry for /boot mountpoint was skipped. However in the latest wic this is not the case. Adding a /boot mountpoint in part results in creating a fstab entry for automount. Remove it to avoid the unwanted mount which overwrites the contents of /boot in debian rootfilesystem. Signed-off-by: Vijai Kumar K --- meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc | 2 +- meta-isar/scripts/lib/wic/canned-wks/hikey.wks | 2 +- meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc b/meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc index c8ea4c2..e7dabd4 100644 --- a/meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc +++ b/meta-isar/scripts/lib/wic/canned-wks/common-isar.wks.inc @@ -1,3 +1,3 @@ # This file is included into 3 canned wks files from this directory -part /boot --source bootimg-pcbios-isar --ondisk sda --label boot --active --align 1024 +part --source bootimg-pcbios-isar --ondisk sda --label boot --active --align 1024 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 diff --git a/meta-isar/scripts/lib/wic/canned-wks/hikey.wks b/meta-isar/scripts/lib/wic/canned-wks/hikey.wks index 1e82f8c..840858e 100644 --- a/meta-isar/scripts/lib/wic/canned-wks/hikey.wks +++ b/meta-isar/scripts/lib/wic/canned-wks/hikey.wks @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: MIT -part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk mmcblk1 --label efi --part-type EF00 --align 1024 +part --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk mmcblk1 --label efi --part-type EF00 --align 1024 part / --source rootfs --ondisk mmcblk1 --fstype ext4 --label platform --align 1024 --use-uuid diff --git a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks index 2afa016..e0fa7a1 100644 --- a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks +++ b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks @@ -2,7 +2,7 @@ # long-description: Creates a partitioned EFI disk image without any swap that # the user can directly dd to boot media. -part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda --label efi --part-type EF00 --align 1024 +part --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda --label efi --part-type EF00 --align 1024 part / --source rootfs --ondisk sda --fstype ext4 --label platform --align 1024 --use-uuid