/nix/libstore/

l.scm?id=83670e02bc1be9481a6957a8cdb977f35a0ac483'>Collapse)Author 2020-03-23installer: Fix cow-store umount issue.Mathieu Othacehe * gnu/installer/final.scm (kill-cow-users): Ignore exception that could be raised if a process disappears between reading its pid and its maps file. 2020-03-05installer: Fix cow-store umount.Mathieu Othacehe This fixes <https://bugs.gnu.org/39712>. The guix-daemon was preventing the cow-store umount, so restart it. Some udevd workers, using cow-store files might also still be around, so have some umount retries. * gnu/installer/final.scm (kill-cow-users): New procedure, (umount-cow-store): restart guix-daemon and kill all processes started from within the cow-store before trying to umount the store overlay. Also try 5 times to umount the overlay in case it is still busy. 2020-03-05installer: Honor /tmp/installer-system-init-options.Ludovic Courtès * gnu/installer/final.scm (install-system): Honor "/tmp/installer-system-init-options". 2020-03-05installer: Run commands without hopping through the shell.Ludovic Courtès * gnu/installer/utils.scm (run-shell-command): Rename to... (run-command): Remove call to 'call-with-temporary-output-file' and hop through Bash. Expect COMMAND to be a list of strings rather than a string. * gnu/installer/final.scm (install-system): Turn INSTALL-COMMAND into a list of strings and pass it to 'run-command'. * gnu/installer/newt/page.scm (edit-file): Likewise.