diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2017-04-19 13:42:47 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-26 11:05:01 +0100 |
commit | 5c98f20f5c3e7c022737d766d25bb820149cd5fd (patch) | |
tree | 11d59db848c312ced55b369323a87d1bbfe609c5 /scripts/wic | |
parent | b7485a088033356785407ce21e8f53ab6b8df21c (diff) | |
download | poky-5c98f20f5c3e7c022737d766d25bb820149cd5fd.tar.gz |
wic: Add option to not change fstab
Create an option to wic doesn't change fstab file, the final
fstab file will be same that in rootfs and wic doesn't update
file, e.g adding a new mount point.
Users can control the fstab file content in base-files recipe.
This is useful if you want to only create an partition but not
add fstab mount point or add new mount point using label e.g:
LABEL=recovery /recovery auto defaults 0 1
(From OE-Core rev: 00420ec42140c1b752132bda190dede85756d157)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic index 592a0e4c25..097084a603 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -342,6 +342,8 @@ def wic_init_parser_create(subparser): | |||
342 | dest='compressor', | 342 | dest='compressor', |
343 | help="compress image with specified compressor") | 343 | help="compress image with specified compressor") |
344 | subparser.add_argument("-m", "--bmap", action="store_true", help="generate .bmap") | 344 | subparser.add_argument("-m", "--bmap", action="store_true", help="generate .bmap") |
345 | subparser.add_argument("--no-fstab-update" ,action="store_true", | ||
346 | help="Do not change fstab file.") | ||
345 | subparser.add_argument("-v", "--vars", dest='vars_dir', | 347 | subparser.add_argument("-v", "--vars", dest='vars_dir', |
346 | help="directory with <image>.env files that store " | 348 | help="directory with <image>.env files that store " |
347 | "bitbake variables") | 349 | "bitbake variables") |