linux-initrd: Allow setuid binaries from the unionfs to run.

* guix/build/linux-initrd.scm (boot-system): Pass the 'suid' option to
  UNIONFS.
This commit is contained in:
Ludovic Courtès 2014-04-30 22:11:01 +02:00
parent 4dfe6c58ee
commit d8a7a5bfd5
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ to it are lost."
;; Make /root a union of the tmpfs and the actual root. ;; Make /root a union of the tmpfs and the actual root.
(unless (zero? (system* unionfs "-o" (unless (zero? (system* unionfs "-o"
"cow,allow_other,use_ino,dev" "cow,allow_other,use_ino,suid,dev"
"/rw-root=RW:/real-root=RO" "/rw-root=RW:/real-root=RO"
"/root")) "/root"))
(error "unionfs failed"))) (error "unionfs failed")))