From 27ae011b31d831752b97eb209bc2b2206fcf40f7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 28 Jun 2021 11:58:47 +0200 Subject: [PATCH] gnu: upower: Fix build directory. Remove explicit set of UPOWER_CONF_FILE_NAME in up-self-test.c; instead the harness should set it. In Guix we set it explicitly; the right thing is to use AM_TEST_ENVIRONMENT and regenerate the makefiles, but we can't regenerate because current autotools carp on some things, so we patch the Makefile.in instead. Also fix to not try to create /var/lib/upower if /var isn't writable. Based on a patch by Andy Wingo --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3400139..f51ee89 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -181,7 +181,7 @@ $(systemdservice_DATA): $(systemdservice_in_files) Makefile endif install-data-hook: - if test -w $(DESTDIR)$(prefix)/; then \ + if test -w $(DESTDIR)$(localstatedir)/; then \ mkdir -p $(DESTDIR)$(historydir); \ fi -- 2.32.0 bout/'>aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2017-01-16 20:17:46 +0100
committerDavid Craven <david@craven.ch>2017-02-10 17:15:29 +0100
commit3f73aa1a5a4335d536b9afea752689c8e3d95e7c (patch)
tree43ee3322caa92323f5860210f31afb4d94debd41 /tests/elpa.scm
parent29da15738cdca2cfd8ffb60b99ee023d0cd9b21f (diff)
downloadguix-3f73aa1a5a4335d536b9afea752689c8e3d95e7c.tar.gz
guix-3f73aa1a5a4335d536b9afea752689c8e3d95e7c.zip
gnu: Use 'license:' prefix in (gnu packages grub).
* gnu/packages/grub.scm (grub): Add prefix.
Diffstat (limited to 'tests/elpa.scm')
0 files changed, 0 insertions, 0 deletions