From 00420ec42140c1b752132bda190dede85756d157 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Wed, 19 Apr 2017 13:42:47 -0300 Subject: 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 Signed-off-by: Fabio Berton Signed-off-by: Richard Purdie --- scripts/wic | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/wic') 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): dest='compressor', help="compress image with specified compressor") subparser.add_argument("-m", "--bmap", action="store_true", help="generate .bmap") + subparser.add_argument("--no-fstab-update" ,action="store_true", + help="Do not change fstab file.") subparser.add_argument("-v", "--vars", dest='vars_dir', help="directory with .env files that store " "bitbake variables") -- cgit 1.2.3-korg