me
/
guix
Archived
1
0
Fork 0

gnu: Add lxcfs.

* gnu/packages/virtualization.scm (lxcfs): New Variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Dion Mendel 2021-06-01 13:25:53 +08:00 committed by Ludovic Courtès
parent 23ab8d417e
commit 404f6145ee
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 30 additions and 0 deletions

View File

@ -19,6 +19,7 @@
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2021 Leo Famulari <leo@famulari.name> ;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2021 Dion Mendel <guix@dm9.info>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1065,6 +1066,35 @@ Through a powerful API and simple tools, it lets Linux users easily create and
manage system or application containers.") manage system or application containers.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public lxcfs
(package
(name "lxcfs")
(version "4.0.8")
(home-page "https://github.com/lxc/lxcfs")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page)
(commit (string-append "lxcfs-" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1f74wy88si2ia035pcvciq5821kc8jcb75w1f8vhbp0cd29rqdpi"))))
(arguments
'(#:configure-flags '("--localstatedir=/var")))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs
`(("fuse" ,fuse)))
(build-system gnu-build-system)
(synopsis "FUSE based filesystem for LXC")
(description "LXCFS is a small FUSE filesystem written with the intention
of making Linux containers feel more like a virtual machine.
It started as a side-project of LXC but is useable by any runtime.")
(license license:lgpl2.1+)))
(define-public libvirt (define-public libvirt
(package (package
(name "libvirt") (name "libvirt")