aboutsummaryrefslogtreecommitdiffstats
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:45:12 +0100
commit2376b05512ddb8c4ec3aaf1df11071f536a76bd9 (patch)
tree062a80cbeeab8fda87947b164a33c72065140567 /scripts
parent01efc234a8caab67ed3138ab2de9bbd82ce97b44 (diff)
downloadopenembedded-core-contrib-2376b05512ddb8c4ec3aaf1df11071f536a76bd9.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] 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 4f441c1ae57..0a65a9c58d6 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..