summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/partition.py
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-09-12 08:44:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 07:42:28 +0100
commit821711bf2edc3d2eb5a695653ff5d439f43520be (patch)
tree6083410a9373b1c0235c58521bd59ef5076bdad0 /scripts/lib/wic/partition.py
parent92bc2b3e84f71871878ae6137ae08af7cb981ed0 (diff)
downloadpoky-821711bf2edc3d2eb5a695653ff5d439f43520be.tar.gz
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. (From OE-Core rev: 51638edaa00befaed58e2def255d46ae44d9234f) 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.py1
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():
47 self.fsopts = args.fsopts 47 self.fsopts = args.fsopts
48 self.fstype = args.fstype 48 self.fstype = args.fstype
49 self.label = args.label 49 self.label = args.label
50 self.use_label = args.use_label
50 self.mkfs_extraopts = args.mkfs_extraopts 51 self.mkfs_extraopts = args.mkfs_extraopts
51 self.mountpoint = args.mountpoint 52 self.mountpoint = args.mountpoint
52 self.no_table = args.no_table 53 self.no_table = args.no_table