diff options
author | Mark H Weaver <mhw@netris.org> | 2018-05-21 13:22:32 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2018-05-21 13:22:32 -0400 |
commit | 0661758e133c0384d20043d3526b5ebc794e1f04 (patch) | |
tree | 46fb6d731fd0e562379ecfffba499deb17847a23 /gnu/system.scm | |
parent | 539bf8f2c071b53834829259bb3fabf0390c5dc6 (diff) | |
parent | c036959b1a61c37c9b7d72e655e1441f2feefb6e (diff) | |
download | patches-0661758e133c0384d20043d3526b5ebc794e1f04.tar patches-0661758e133c0384d20043d3526b5ebc794e1f04.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/system.scm')
-rw-r--r-- | gnu/system.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index c68455bddc..816e66415c 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -841,9 +841,8 @@ hardware-related operations as necessary when booting a Linux container." (define (operating-system-root-file-system os) "Return the root file system of OS." - (find (match-lambda - (($ <file-system> device title "/") #t) - (x #f)) + (find (lambda (fs) + (string=? "/" (file-system-mount-point fs))) (operating-system-file-systems os))) (define (operating-system-initrd-file os) |