diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-28 12:29:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 08:46:19 +0100 |
commit | ae4ee4d51158eb43f770debf6e41646ef8ed9817 (patch) | |
tree | 07f33b4865e1f31009c6f2cf9bd545d2fb9cb657 /scripts/lib/wic/plugins | |
parent | 092f4fafaa051a254588f8c9eee1db66e6aaacab (diff) | |
download | poky-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/lib/wic/plugins')
-rw-r--r-- | 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 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.. |