summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/ksparser.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-13 22:20:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 18:03:58 +0000
commit9ebc8301965b6b0aedc1d0cb8a9bc3e4893f2592 (patch)
tree60259eec51fd4c61f1cb04fa3203a9412bf2ff28 /scripts/lib/wic/ksparser.py
parent20748d8ddcd41c5c6897d1a711cf157ab1080f9a (diff)
downloadpoky-9ebc8301965b6b0aedc1d0cb8a9bc3e4893f2592.tar.gz
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. (From OE-Core rev: 9256b8799495634ee8aee5d16ff71bd6e6e25ed4) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
-rw-r--r--scripts/lib/wic/ksparser.py1
1 files changed, 1 insertions, 0 deletions
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():
161 part.add_argument('--system-id', type=systemidtype) 161 part.add_argument('--system-id', type=systemidtype)
162 part.add_argument('--use-uuid', action='store_true') 162 part.add_argument('--use-uuid', action='store_true')
163 part.add_argument('--uuid') 163 part.add_argument('--uuid')
164 part.add_argument('--fsuuid')
164 165
165 bootloader = subparsers.add_parser('bootloader') 166 bootloader = subparsers.add_parser('bootloader')
166 bootloader.add_argument('--append') 167 bootloader.add_argument('--append')