unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41644] [WIP] gnu: Add aufs-standalone.
@ 2020-06-01 13:19 Danny Milosavljevic
  2020-06-02  9:21 ` Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2020-06-01 13:19 UTC (permalink / raw)
  To: 41644; +Cc: Danny Milosavljevic

* gnu/packages/linux.scm (aufs-standalone): New variable.
---
 gnu/packages/linux.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

This package would need a patched Linux kernel (see aufs5-base.patch,
aufs5-mmap.patch and aufs5-standalone.patch)--that's using a definition
of "standalone" I wasn't previously aware of.  So I will not try to
develop this package further for the time being.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0a154fd6cc..771fba4593 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -986,6 +986,40 @@ It grants direct and undocumented access to your hardware that may cause damage
 and should be used with caution, especially on untested models.")
       (license license:gpl3+))))        ; see README.md (no licence headers)
 
+(define-public aufs-standalone
+  (let ((commit "230a4e746cb37dc760530233521f732bb932212c") ; branch 5.4
+        (revision "0"))
+    (package
+      (name "aufs-standalone")
+      (version (git-version "5.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sfjro/aufs5-standalone.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0wq40m8acqqhr2p0sh81wzcdrcabzmvjd15x0y7mdkhwmhyhas9h"))))
+      (build-system linux-module-build-system)
+      (arguments
+       `(#:tests? #f   ; No tests exist
+         #:make-flags
+         (list "CONFIG_AUFS_FS=m"
+               ;; See config.mk
+               "EXTRA_CFLAGS=-DCONFIG_AUFS_BRANCH_MAX_127=y -DCONFIG_AUFS_SBILIST=y -DCONFIG_AUFS_DEBUG=y")
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'chdir
+             (lambda _
+               (chdir "fs/aufs")
+               #t)))))
+      (home-page "https://github.com/sfjro/aufs5-standalone/tree/aufs5.4")
+      (synopsis "Linux kernel module aufs")
+      (description "This package provides the Linux kernel module
+@code{aufs}.")
+      (license license:gpl2+))))
+
 (define-public rtl8812au-aircrack-ng-linux-module
   (let ((commit "945d6ed6505c32f0993b1dba576388e92e78101b")
         (revision "0"))




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

* [bug#41644] [WIP] gnu: Add aufs-standalone.
  2020-06-01 13:19 [bug#41644] [WIP] gnu: Add aufs-standalone Danny Milosavljevic
@ 2020-06-02  9:21 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-06-02  9:21 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 41644


Hey Danny,

> This package would need a patched Linux kernel (see aufs5-base.patch,
> aufs5-mmap.patch and aufs5-standalone.patch)--that's using a definition
> of "standalone" I wasn't previously aware of.  So I will not try to
> develop this package further for the time being.

Hehe, not that standalone indeed. Maybe we can close this ticket then?

Thanks,

Mathieu




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

end of thread, other threads:[~2020-06-02  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 13:19 [bug#41644] [WIP] gnu: Add aufs-standalone Danny Milosavljevic
2020-06-02  9:21 ` Mathieu Othacehe

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).