From 51638edaa00befaed58e2def255d46ae44d9234f Mon Sep 17 00:00:00 2001 From: Kevin Hao Date: Wed, 12 Sep 2018 08:44:46 +0800 Subject: 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 Reviewed-by: Tom Rini Signed-off-by: Richard Purdie --- scripts/lib/wic/partition.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/lib/wic/partition.py') 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 -- cgit v1.2.3