about summary refs log tree commit diff
path: root/nixos/tests/systemd-repart.nix
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2023-10-16 19:03:57 +0200
committernikstur <nikstur@outlook.com>2023-10-16 19:03:57 +0200
commite8b4e945ddfdbe221242131475711e487e1b2eb6 (patch)
treea2c00bf2baf45b3e8de4745284d2fa7d0d010c69 /nixos/tests/systemd-repart.nix
parentf902cb49892d300ff15cb237e48aa1cad79d68c3 (diff)
nixos/systemd-repart: remove superfluous gpt manipulation
Diffstat (limited to 'nixos/tests/systemd-repart.nix')
-rw-r--r--nixos/tests/systemd-repart.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/nixos/tests/systemd-repart.nix b/nixos/tests/systemd-repart.nix
index 22ea8fbd22711..3914d5b323977 100644
--- a/nixos/tests/systemd-repart.nix
+++ b/nixos/tests/systemd-repart.nix
@@ -29,16 +29,6 @@ let
       "+32M",
     ])
 
-    # Fix the GPT table by moving the backup table to the end of the enlarged
-    # disk image. This is necessary because we increased the size of the disk
-    # before. The disk needs to be a raw disk because sgdisk can only run on
-    # raw images.
-    subprocess.run([
-      "${pkgs.gptfdisk}/bin/sgdisk",
-      "--move-second-header",
-      tmp_disk_image.name,
-    ])
-
     # Set NIX_DISK_IMAGE so that the qemu script finds the right disk image.
     os.environ['NIX_DISK_IMAGE'] = tmp_disk_image.name
   '';