aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-08-06 11:24:58 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-08-06 11:31:38 +0200
commit5697a524a75efae6144fcfaad730115910a34171 (patch)
treec6776a019a2cb91ef60813e680a8cba734243b07 /gnu/installer.scm
parent738c0d96215325419872dea92042c9106bddb03a (diff)
downloadguix-5697a524a75efae6144fcfaad730115910a34171.tar
guix-5697a524a75efae6144fcfaad730115910a34171.tar.gz
installer: Remove logical devices.
If a device contains an active logical volume, BLKRRPART will report that the device is busy. This will cause this device to be filtered by "non-install-devices" procedure, which is not desired. Make sure to deactivate all logical volumes before device probing. Fixes <https://issues.guix.gnu.org/42683>. * gnu/installer.scm (installer-program): Add lvm2-static to the inputs. * gnu/installer/parted.scm (remove-logical-devices): New procedure, (init-parted): call it.
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index cb2f5ad2ca..5c3192d7a6 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -318,6 +318,7 @@ selected keymap."
cryptsetup
dosfstools ;mkfs.fat
e2fsprogs ;mkfs.ext4
+ lvm2-static ;dmsetup
btrfs-progs
jfsutils ;jfs_mkfs
ntfs-3g ;mkfs.ntfs