guix-commits
[Top][All Lists]
Advanced

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

28/80: installer: Let the kernel know about (possibly) changed partition


From: John Darrington
Subject: 28/80: installer: Let the kernel know about (possibly) changed partitions.
Date: Tue, 3 Jan 2017 15:49:42 +0000 (UTC)

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

commit 283f5435f182a10db6b2ab5410e6e2fcdc29f3d9
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]