gnu: 389-ds-base: Avoid dependency on systemd-detect-virt.

* gnu/packages/openldap.scm (389-ds-base)[arguments]: Remove invocation of
systemd-detect-virt.
This commit is contained in:
Ricardo Wurmus 2022-12-14 22:46:21 +01:00
parent e2bcd41ce3
commit 7b8cac86ba
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -282,6 +282,10 @@ (define-public 389-ds-base
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-references
(lambda _
;; Avoid dependency on systemd-detect-virt
(substitute* "src/lib389/lib389/instance/setup.py"
(("container_result = subprocess.*") "container_result = 1\n")
(("container_result.returncode") "container_result"))
(substitute* "ldap/servers/plugins/sync/sync_persist.c"
(("nspr4") "nspr"))
(substitute* "src/lib389/lib389/utils.py"