summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-07-28 12:29:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-30 08:46:19 +0100
commitae4ee4d51158eb43f770debf6e41646ef8ed9817 (patch)
tree07f33b4865e1f31009c6f2cf9bd545d2fb9cb657 /scripts
parent092f4fafaa051a254588f8c9eee1db66e6aaacab (diff)
downloadpoky-ae4ee4d51158eb43f770debf6e41646ef8ed9817.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py2
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 4f441c1ae5..0a65a9c58d 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -135,7 +135,7 @@ class DirectPlugin(ImagerPlugin):
135 updated = False 135 updated = False
136 for part in parts: 136 for part in parts:
137 if not part.realnum or not part.mountpoint \ 137 if not part.realnum or not part.mountpoint \
138 or part.mountpoint in ("/", "/boot"): 138 or part.mountpoint == "/":
139 continue 139 continue
140 140
141 # mmc device partitions are named mmcblk0p1, mmcblk0p2.. 141 # mmc device partitions are named mmcblk0p1, mmcblk0p2..