diff options
author | Artur Mądrzak <artur@madrzak.eu> | 2017-11-08 12:04:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:54 +0000 |
commit | 67094521712fa85138e216bb05876fd0c6161598 (patch) | |
tree | cbb3b23f355dbbb4874b826f743332c5ec8789be /scripts/lib/wic/ksparser.py | |
parent | f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284 (diff) | |
download | poky-67094521712fa85138e216bb05876fd0c6161598.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.
Backport from master, without it WIC cannot be used on Qualcomm based machines.
(From OE-Core rev: 45aee3d57697f8dcc967120b5afd280d5ceadd21)
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>
(cherry picked from commit 9b60e3466ed7cff0cea10815851eb1304002eb52)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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 | ||