diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-01 23:26:57 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-01 23:26:57 +0200 |
commit | 58863b93b0d9a191d5cca695fe0a0dfbb067ebba (patch) | |
tree | 1ee1aba5905862aaee952689e59dd2d8a9e2fce6 /gnu/installer | |
parent | 2e559a358582fd8f56a035d0fac97be229752dfb (diff) | |
parent | 0c518f974e64f23846ae51ea2c68b479202fdca9 (diff) | |
download | guix-58863b93b0d9a191d5cca695fe0a0dfbb067ebba.tar.gz |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/installer')
-rw-r--r-- | gnu/installer/parted.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm index 641a1f45e8..84fdbe24fb 100644 --- a/gnu/installer/parted.scm +++ b/gnu/installer/parted.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018, 2019 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2022 Josselin Poiret <dev@jpoiret.xyz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -983,6 +984,11 @@ exists." (for-each (lambda (partition) (and (data-partition? partition) + ;; Do not remove logical partitions ourselves, since + ;; disk-remove-partition* will remove all the logical partitions + ;; residing on an extended partition, which would lead to a + ;; double-remove and ensuing SEGFAULT. + (not (logical-partition? partition)) (disk-remove-partition* disk partition))) non-boot-partitions) |