guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/197: installer: Let the kernel know about (possibly) changed partitio


From: Danny Milosavljevic
Subject: 26/197: installer: Let the kernel know about (possibly) changed partitions.
Date: Mon, 3 Jul 2017 20:36:54 -0400 (EDT)

dannym pushed a commit to branch wip-installer-2
in repository guix.

commit 36a66f314a62f30d09138dfe6f7a4d4a33eaadac
Author: John Darrington <address@hidden>
Date:   Sat Dec 24 13:14:06 2016 +0100

    installer:  Let the kernel know about (possibly) changed partitions.
    
    * gnu/system/installer/disks.scm (disk-page-key-handler): Call partprobe 
after cfdisk.
---
 gnu/system/installer/disks.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/system/installer/disks.scm b/gnu/system/installer/disks.scm
index 8138017..f0f043a 100644
--- a/gnu/system/installer/disks.scm
+++ b/gnu/system/installer/disks.scm
@@ -90,7 +90,8 @@
       (let ((i (menu-current-item menu)))
        (endwin)
        (system* "cfdisk"
-                (disk-name (list-ref (menu-items menu) i)))))
+                (disk-name (list-ref (menu-items menu) i)))
+        (system* "partprobe")))
 
      ((buttons-key-matches-symbol? nav ch 'continue)
       (delwin (outer (page-wwin page)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]