gnu: lxd: Add ‘attr’ to inputs and use it in wrapper.
Fixes issue with lxd crashing on startup with: Error: exec: "setfattr": executable file not found in $PATH * gnu/packages/virtualization.scm (lxd)[arguments]: In 'install' phase, add "attr" to the list of packages used in 'wrap-program'. [inputs]: Add ATTR. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d5a9f2a404
commit
dbe221a89a
|
@ -1221,7 +1221,7 @@ (define-public lxd
|
||||||
'()
|
'()
|
||||||
'("bash" "acl" "rsync" "tar" "xz" "btrfs-progs"
|
'("bash" "acl" "rsync" "tar" "xz" "btrfs-progs"
|
||||||
"gzip" "dnsmasq" "squashfs-tools" "iproute2"
|
"gzip" "dnsmasq" "squashfs-tools" "iproute2"
|
||||||
"criu" "iptables"))))
|
"criu" "iptables" "attr"))))
|
||||||
;; Remove unwanted binaries.
|
;; Remove unwanted binaries.
|
||||||
(for-each (lambda (prog)
|
(for-each (lambda (prog)
|
||||||
(delete-file (string-append bin-dir prog)))
|
(delete-file (string-append bin-dir prog)))
|
||||||
|
@ -1247,6 +1247,7 @@ (define-public lxd
|
||||||
("libcap" ,libcap)
|
("libcap" ,libcap)
|
||||||
("lxc" ,lxc)
|
("lxc" ,lxc)
|
||||||
;; Run-time dependencies.
|
;; Run-time dependencies.
|
||||||
|
("attr" ,attr)
|
||||||
("bash" ,bash-minimal)
|
("bash" ,bash-minimal)
|
||||||
("rsync" ,rsync)
|
("rsync" ,rsync)
|
||||||
("tar" ,tar)
|
("tar" ,tar)
|
||||||
|
|
Loading…
Reference in a new issue