[oe-commits] [openembedded-core] 07/43: wic: add /boot mount point to fstab by default

git at git.openembedded.org git at git.openembedded.org
Sat Jul 22 07:20:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 35375e7c08328a4e6165cbd32d896380766e961c
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Thu Jun 15 15:13:46 2017 +0300

    wic: add /boot mount point to fstab by default
    
    wic avoided adding /boot to fstab for no reason.
    This exception was hardcoded in the wic code.
    
    There is no need for this as mountpoint in .wks file is an optional
    field. It can be used only if user wants to have partitions
    automatically mounted on system boot.
    
    [YOCTO #11662]
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 scripts/lib/wic/plugins/imager/direct.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 1079c32..e4f39d6 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -133,7 +133,7 @@ class DirectPlugin(ImagerPlugin):
         updated = False
         for part in parts:
             if not part.realnum or not part.mountpoint \
-               or part.mountpoint in ("/", "/boot"):
+               or part.mountpoint == "/":
                 continue
 
             # mmc device partitions are named mmcblk0p1, mmcblk0p2..

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list