Subject: bug#48772: closed (Re: bug#48772: [PATCH] gnu: Add lxcfs.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Jun 2021 21:24:01 +0000

Your bug report

#48772: [PATCH] gnu: Add lxcfs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
48772: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48772
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#48772: [PATCH] gnu: Add lxcfs.
From: Ludovic Courtès <[email-masked]>
To: Dion Mendel <[email-masked]>
Cc: [email-masked]
Date: Sat, 05 Jun 2021 23:23:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Dion Mendel <[email-masked]> 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’.

Subject: [PATCH] gnu: Add lxcfs.
From: Dion Mendel <[email-masked]>
To: [email-masked]
Date: Tue, 1 Jun 2021 13:25:53 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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 <[email-masked]>
 ;;; Copyright © 2021 Leo Famulari <[email-masked]>
 ;;; Copyright © 2021 Pierre Langlois <[email-masked]>
+;;; Copyright © 2021 Dion Mendel <[email-masked]>
 ;;;
 ;;; 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