On Thu, Sep 23, 2021 at 04:29:57PM +0000, Arvin Schnell wrote: > > When modifying a GPT parted clears all GUID specific > attributes. This happens even when modifying unrelated > partitions, e.g. adding a new partition. According to the UEFI > standard these bits must be preserved (see Table 24 of the UEFI > spec[1]) even when only modifying the other attributes. > > The attached patch solves the problem by having the full > attributes instead of the two flags hidden and legacy_boot in > GPTPartitionData and modifying the full attributes directly.
Thanks, merge into master. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
