summary refs log tree commit diff
path: root/gnu/build/vm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-11 21:34:30 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-12 00:14:52 +0200
commitc6a0536d08e225c6c67647b17f6f0a60b2314752 (patch)
tree3bb57d4c8f78500da0b7df016557955a8bbd1635 /gnu/build/vm.scm
parent286cacaded85f44bb39290253e73a36972f9e343 (diff)
downloadguix-c6a0536d08e225c6c67647b17f6f0a60b2314752.tar.gz
activation: Make sure /etc/sudoers & co. are regular files.
Before that, 'sudo' would exit with:

  sudo: /etc/sudoers is not a regular file
  sudo: no valid sudoers sources found, quitting

* gnu/build/activation.scm (activate-etc): Check if SOURCE matches
  'file-is-directory?'.  If not, use 'copy-file' instead of 'symlink'.
Diffstat (limited to 'gnu/build/vm.scm')
0 files changed, 0 insertions, 0 deletions