From 6f3b0a48acb22871890c4186a21d371e44751076 Mon Sep 17 00:00:00 2001 From: Artur Mądrzak Date: Thu, 2 Nov 2017 15:01:32 +0100 Subject: wic: add 'part-name' argument for naming GPT partitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Nicolas Dechesne Signed-off-by: Richard Purdie --- scripts/lib/wic/ksparser.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/lib/wic/ksparser.py') 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(): part.add_argument('--no-table', action='store_true') part.add_argument('--ondisk', '--ondrive', dest='disk', default='sda') part.add_argument("--overhead-factor", type=overheadtype) + part.add_argument('--part-name') part.add_argument('--part-type') part.add_argument('--rootfs-dir') -- cgit v1.2.3-54-g00ecf