unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48772] [PATCH] gnu: Add lxcfs.
@ 2021-06-01  5:25 Dion Mendel
  2021-06-05 21:23 ` bug#48772: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Dion Mendel @ 2021-06-01  5:25 UTC (permalink / raw)
  To: 48772

* gnu/packages/virtualization.scm (lxcfs): New Variable.
---
 gnu/packages/virtualization.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index f12f862304..501a635a9a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2021 Dion Mendel <guix@dm9.info>
 ;;;
 ;;; 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.")
     (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
   (package
     (name "libvirt")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48772: [PATCH] gnu: Add lxcfs.
  2021-06-01  5:25 [bug#48772] [PATCH] gnu: Add lxcfs Dion Mendel
@ 2021-06-05 21:23 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-06-05 21:23 UTC (permalink / raw)
  To: Dion Mendel; +Cc: 48772-done

Hi,

Dion Mendel <guix@dm9.info> skribis:

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

[...]

> +    (license license:lgpl2.1)))

I changed it to ‘lgpl2.1+’ as noted in the code and applied.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-05 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  5:25 [bug#48772] [PATCH] gnu: Add lxcfs Dion Mendel
2021-06-05 21:23 ` bug#48772: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).