diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2018-09-12 08:44:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-12 08:18:09 +0100 |
commit | 51638edaa00befaed58e2def255d46ae44d9234f (patch) | |
tree | 7a9bbf34353a7ffcccad98e3b01e17dd6454626f /scripts/lib/wic/partition.py | |
parent | 3e222bf3e0631b385dc46b02b6ba890451c291b2 (diff) | |
download | openembedded-core-51638edaa00befaed58e2def255d46ae44d9234f.tar.gz openembedded-core-51638edaa00befaed58e2def255d46ae44d9234f.tar.bz2 openembedded-core-51638edaa00befaed58e2def255d46ae44d9234f.zip |
wic: Introduce the --use-label partition parameter
We can use this parameter to make the wic use the label to name a
partition in /etc/fstab.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r-- | scripts/lib/wic/partition.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 5054779b1b..3da7e23e61 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py @@ -47,6 +47,7 @@ class Partition(): self.fsopts = args.fsopts self.fstype = args.fstype self.label = args.label + self.use_label = args.use_label self.mkfs_extraopts = args.mkfs_extraopts self.mountpoint = args.mountpoint self.no_table = args.no_table |