mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: open-iscsi: Fix build.
* gnu/packages/disk.scm (open-iscsi)[arguments] <configure-flags>: Remove "-Ddbroot" as the utility iscsiadm requires /var/lib to be writable. <phases>: Add 'dont-install-to-/var. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
committed by
Oleg Pykhalov
parent
95205aaa2c
commit
a275ed6a22
@@ -764,10 +764,15 @@ maintained fork of https://github.com/cleech/open-isns.")
|
||||
#~(list "-Dno_systemd=true"
|
||||
(string-append "-Discsi_sbindir="
|
||||
#$output "/sbin")
|
||||
(string-append "-Ddbroot="
|
||||
#$output "/var/lib/iscsi")
|
||||
(string-append "--sbindir="
|
||||
#$output "/sbin"))))
|
||||
#$output "/sbin"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'dont-install-to-/var
|
||||
(lambda _
|
||||
(substitute* "meson.build"
|
||||
(("install_data\\(iscsi_etc_iface_file_src, install_dir: db_root \\/ 'ifaces'\\)")
|
||||
"")))))))
|
||||
(native-inputs
|
||||
(list meson
|
||||
ninja
|
||||
|
||||
Reference in New Issue
Block a user