<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Would this be a viable solution to add support for partition names in case of gpthd? I hope I do not bother you with this, but it would really help to have this ability.</p>
<p><br>
</p>
<p></p>
<div>diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py</div>
<div>index 696225925..e151ef289 100644</div>
<div>--- a/elbepack/hdimg.py</div>
<div>+++ b/elbepack/hdimg.py</div>
<div>@@ -335,6 +335,10 @@ def create_partition(</div>
<div>             ppart.setFlag(_ped.PARTITION_LBA)</div>
<div>     else:</div>
<div>         ppart = parted.Partition(disk, ptype, geometry=g)</div>
<div>+    </div>
<div>+    if disk.type == "gpt" and \</div>
<div>+        part.has("name"):</div>
<div>+        ppart.set_name(part.text("name"))</div>
<div> </div>
<div>     cons = parted.Constraint(exactGeom=g)</div>
<div>     disk.addPartition(ppart, cons)</div>
<div>diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd</div>
<div>index 34f4562c0..551e354ba 100644</div>
<div>--- a/schema/dbsfed.xsd</div>
<div>+++ b/schema/dbsfed.xsd</div>
<div>@@ -1807,6 +1807,13 @@</div>
<div>           </documentation></div>
<div>         </annotation></div>
<div>       </element></div>
<div>+      <element name="name" type="rfs:string" minOccurs="0" maxOccurs="1"></div>
<div>+        <annotation></div>
<div>+          <documentation></div>
<div>+             human readable name of the partition used for naming a gpt partition</div>
<div>+          </documentation></div>
<div>+        </annotation></div>
<div>+      </element></div>
<div>       <element name="binary" type="rfs:string" minOccurs="0"></div>
<div>         <annotation></div>
<div>           <documentation></div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div>
<table class="ImprintUniqueIDTable" style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</tbody>
</table>
<font style="font-family:Arial;font-size:10pt;">i. A.</font><font size="2" face="Arial">
</font><font size="2" face="Arial"></font><font style="font-family:Arial;font-size:10pt;">Martin</font><font size="2" face="Arial">
</font><font style="font-family:Arial;font-size:10pt;">Steih</font> <font style="font-family:Arial;font-size:10pt;"><br>
</font><font style="font-family:Arial;font-size:10pt;">Projektleiter</font> <font style="font-family:Arial;font-size:10pt;"><br>
</font><font style="font-family:Arial;font-size:10pt;">Entwicklung</font><br>
<br>
<font size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: arial; FONT-WEIGHT: bold; COLOR: #d51231">Lachmann & Rink GmbH<br>
</span>
<div style="FONT-SIZE: 8pt; FONT-FAMILY: arial; COLOR: #42454a"><span style="font-family:Arial;font-size:8pt;"><a href="mailto:Martin.Steih@lachmann-rink.de" title="Click to send email to Steih, Martin" target="" style="font-family:Arial;font-size:8pt;" id="LPNoLP"><span style="font-family:Arial; font-size:8pt;">Martin.Steih@lachmann-rink.de</span></a></span>
 | <span style="font-family:Arial;font-size:8pt;"><a href="https://www.lachmann-rink.de" title="" target="" style="font-family:Arial;font-size:8pt;" id="LPNoLP"><span style="font-family:Arial; font-size:8pt;">www.lachmann-rink.de</span></a></span><br>
fon: <span style="font-family:Arial;font-size:8pt;color:#42454A;text-decoration:none;">
<a href="tel:+49 2734 2817 430" title="" target="" style="font-family:Arial;font-size:8pt;color:#42454A;text-decoration:none;" id="LPNoLP"><span style="font-family:Arial; font-size:8pt; color:#42454A; text-decoration:none;">+49 2734 2817 430</span></a></span><br>
<br>
Hommeswiese 129, 57258 Freudenberg | Otto-Hahn-Straße 18-20, 44227 Dortmund<br>
Geschäftsführer: Dipl.-Ing. Arjan Bijlard, Dipl.-Inf. Claudius Rink | Amtsgericht Siegen, HRB 2600</div>
</font></div>
</div>
</div>
</body>
</html>