diff options
author | Thomas Haller <thaller@redhat.com> | 2019-08-27 16:19:37 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-08-27 16:31:55 +0200 |
commit | 081b16cdb8dadddf750065674f44208e5cec9314 (patch) | |
tree | 5cce19cb3be0054a4ddd9002ad71044bafa5d7cc /contrib | |
parent | 01ef7c4079506b9ebd025cd8604205365d194a37 (diff) | |
download | NetworkManager-081b16cdb8dadddf750065674f44208e5cec9314.tar.gz |
contrib/rpm: explicitly set runstatedir to "/run" when building release tarball
Nowadays, we should prefer "/run" over "/var/run". When not specifying
during ./configure, autotools however still defaults to "/var/run".
This default is also visible in the pre-generated documenation, for
example `man NetworkManager.conf` says
Unless the symlink points to the internal file /run/NetworkManager/resolv.conf,
in which case the ...
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/fedora/rpm/build_clean.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index 8a22792e20..2b0eb8abdb 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -130,6 +130,7 @@ fi if [[ $NO_DIST != 1 ]]; then ./autogen.sh \ + --with-runstatedir=/run \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ |