Merge pull request #261452 from nikstur/systemd-repart-gpt-header

nixos/systemd-repart: remove superfluous gpt manipulation

authored by Arian van Putten and committed by GitHub dd3deac8 f370c02b

-10
-10
nixos/tests/systemd-repart.nix
··· 29 "+32M", 30 ]) 31 32 - # Fix the GPT table by moving the backup table to the end of the enlarged 33 - # disk image. This is necessary because we increased the size of the disk 34 - # before. The disk needs to be a raw disk because sgdisk can only run on 35 - # raw images. 36 - subprocess.run([ 37 - "${pkgs.gptfdisk}/bin/sgdisk", 38 - "--move-second-header", 39 - tmp_disk_image.name, 40 - ]) 41 - 42 # Set NIX_DISK_IMAGE so that the qemu script finds the right disk image. 43 os.environ['NIX_DISK_IMAGE'] = tmp_disk_image.name 44 '';
··· 29 "+32M", 30 ]) 31 32 # Set NIX_DISK_IMAGE so that the qemu script finds the right disk image. 33 os.environ['NIX_DISK_IMAGE'] = tmp_disk_image.name 34 '';