From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6864480010557718528 X-Received: by 2002:a19:c20d:: with SMTP id l13mr972395lfc.157.1598266950108; 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-Google-Smtp-Source: ABdhPJzNTpD3ApSnfr5zvFia8nP3A1UKI7bqPYGsyodGrKgssUmyjbROz9d0apul5UDhMdqRVgza 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 Return-Path: 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; 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 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 Content-Type: text/plain Return-Path: Vijaikumar_Kanagarajan@mentor.com 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-TUID: aBnll3fa5+Kx 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 -- 2.17.1