summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/partition.py
diff options
context:
space:
mode:
authorArtur Mądrzak <artur@madrzak.eu>2017-11-02 15:01:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-07 13:25:31 +0000
commit6f3b0a48acb22871890c4186a21d371e44751076 (patch)
tree21785694c0d894cf9d89d615982a6f25d8b53ef6 /scripts/lib/wic/partition.py
parent5b2b572d85177211dc3ce6330ffade22bb5c2f2a (diff)
downloadpoky-6f3b0a48acb22871890c4186a21d371e44751076.tar.gz
wic: add 'part-name' argument for naming GPT partitions
The WIC's 'part' can now give a name for GPT partition in WKS file. It's similar to '--label', but is naming partintions instead file systems. It's required by some bootloaders to partitions have specified names. (From OE-Core rev: 9b60e3466ed7cff0cea10815851eb1304002eb52) Signed-off-by: Artur Mądrzak <artur@madrzak.eu> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> 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 b623bb9e6d..66e61ba70c 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -51,6 +51,7 @@ class Partition():
51 self.no_table = args.no_table 51 self.no_table = args.no_table
52 self.num = None 52 self.num = None
53 self.overhead_factor = args.overhead_factor 53 self.overhead_factor = args.overhead_factor
54 self.part_name = args.part_name
54 self.part_type = args.part_type 55 self.part_type = args.part_type
55 self.rootfs_dir = args.rootfs_dir 56 self.rootfs_dir = args.rootfs_dir
56 self.size = args.size 57 self.size = args.size