mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
lvm2
This commit is contained in:
commit
7d216f40e7
1 changed files with 24 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system go)
|
#:use-module (guix build-system go)
|
||||||
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages backup)
|
#:use-module (gnu packages backup)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages cryptsetup)
|
#:use-module (gnu packages cryptsetup)
|
||||||
|
@ -215,6 +216,27 @@ mapper. Kernel components are part of Linux-libre.")
|
||||||
|
|
||||||
(define-public lvm2
|
(define-public lvm2
|
||||||
(package
|
(package
|
||||||
(inherit lvm2-past-20311)
|
(inherit gnu:lvm2)
|
||||||
(version "2.03.221-reallyoldversion")
|
(version "2.03.22")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (list (string-append "https://sourceware.org/ftp/lvm2/LVM2."
|
||||||
|
version ".tgz")
|
||||||
|
(string-append "ftp://sources.redhat.com/pub/lvm2/releases/LVM2."
|
||||||
|
version ".tgz")))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0z6w6bknhwh1n3qfkb5ij6x57q3wjf28lq3l8kh7rkhsplinjnjc"))
|
||||||
|
(patches (search-patches "glicid/packages/patches/lvm2-no-systemd.patch"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(use-modules (guix build utils))
|
||||||
|
|
||||||
|
;; Honor sysconfdir.
|
||||||
|
(substitute* "make.tmpl.in"
|
||||||
|
(("^confdir = .*$")
|
||||||
|
"confdir = @sysconfdir@\n")
|
||||||
|
(("DEFAULT_SYS_DIR = @DEFAULT_SYS_DIR@")
|
||||||
|
"DEFAULT_SYS_DIR = @sysconfdir@"))))))
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Reference in a new issue