gnu: qemu: Enable Samba support.

* gnu/packages/virtualization.scm (qemu)[arguments]: Change #:configure-flags to
a list, add --smbd flag.
[inputs]: Add samba.
This commit is contained in:
Rutger Helling 2017-12-27 10:09:26 +01:00
parent e8e860a559
commit 8427650305
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 6 additions and 1 deletions

View File

@ -52,6 +52,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages samba)
#:use-module (gnu packages selinux)
#:use-module (gnu packages sdl)
#:use-module (gnu packages spice)
@ -96,7 +97,10 @@
'(;; Running tests in parallel can occasionally lead to failures, like:
;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead)
#:parallel-tests? #f
#:configure-flags '("--enable-usb-redir" "--enable-opengl")
#:configure-flags (list "--enable-usb-redir" "--enable-opengl"
(string-append "--smbd="
(assoc-ref %build-inputs "samba")
"/sbin/smbd"))
#:phases
(modify-phases %standard-phases
(replace 'configure
@ -164,6 +168,7 @@
("ncurses" ,ncurses)
;; ("pciutils" ,pciutils)
("pixman" ,pixman)
("samba" ,samba)
("sdl" ,sdl)
("spice" ,spice)
("usbredir" ,usbredir)