From 90a2b8c64a0155a1cd663ee5408dc6bb09d64123 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sun, 11 Dec 2022 01:00:00 +0100
Subject: [PATCH] install: Add lvm2-static system package.

* gnu/system/install.scm (%installer-disk-utilities): Add lvm2-static.
---
 gnu/system/install.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index f6f1923121..3f5352be87 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -465,6 +465,8 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
   ;; A well-rounded set of packages for interacting with disks, partitions and
   ;; file systems, included with the Guix installation image.
   (list parted gptfdisk ddrescue
+        ;; Use the static LVM2 because it's already pulled in by the installer.
+        lvm2-static
         ;; We used to provide fdisk from GNU fdisk, but as of version 2.0.0a
         ;; it pulls Guile 1.8, which takes unreasonable space; furthermore
         ;; util-linux's fdisk is already available, in %base-packages-linux.