From 9256b8799495634ee8aee5d16ff71bd6e6e25ed4 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 13 Dec 2017 22:20:25 -0500 Subject: wic: Introduce --fsuuid and have --use-uuid make use of UUID too First, allow for wic to be given a filesystem UUID to be used when creating a filesystem. When not provided, wic will generate the UUID to be used. Next, when --use-uuid is passed, we update the fstab to mount things via UUID (and if not found, then use PARTUUID) as UUID is more portable. Signed-off-by: Tom Rini Signed-off-by: Ross Burton --- scripts/lib/wic/ksparser.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/lib/wic/ksparser.py') diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 4fb6868531..e590b2fe3c 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py @@ -161,6 +161,7 @@ class KickStart(): part.add_argument('--system-id', type=systemidtype) part.add_argument('--use-uuid', action='store_true') part.add_argument('--uuid') + part.add_argument('--fsuuid') bootloader = subparsers.add_parser('bootloader') bootloader.add_argument('--append') -- cgit 1.2.3-korg