[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7023/8267] wic: add /boot mount point to fstab by default



commit ae4ee4d51158eb43f770debf6e41646ef8ed9817
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Fri Jul 28 12:29:27 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]
    
    (From OE-Core rev: 2376b05512ddb8c4ec3aaf1df11071f536a76bd9)
    
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/lib/wic/plugins/imager/direct.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 4f441c1..0a65a9c 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -135,7 +135,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..


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]