diff options
author | Artur Mądrzak <artur@madrzak.eu> | 2017-11-02 15:01:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-07 13:25:31 +0000 |
commit | 6f3b0a48acb22871890c4186a21d371e44751076 (patch) | |
tree | 21785694c0d894cf9d89d615982a6f25d8b53ef6 /scripts/lib/wic/ksparser.py | |
parent | 5b2b572d85177211dc3ce6330ffade22bb5c2f2a (diff) | |
download | poky-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/ksparser.py')
-rw-r--r-- | scripts/lib/wic/ksparser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 99b66eebc5..7850e81d2f 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
@@ -144,6 +144,7 @@ class KickStart(): | |||
144 | part.add_argument('--no-table', action='store_true') | 144 | part.add_argument('--no-table', action='store_true') |
145 | part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda') | 145 | part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda') |
146 | part.add_argument("--overhead-factor", type=overheadtype) | 146 | part.add_argument("--overhead-factor", type=overheadtype) |
147 | part.add_argument('--part-name') | ||
147 | part.add_argument('--part-type') | 148 | part.add_argument('--part-type') |
148 | part.add_argument('--rootfs-dir') | 149 | part.add_argument('--rootfs-dir') |
149 | 150 | ||