[gnome-ostree-integration] integration: Symlink /etc/resolv.conf -> /run/NetworkManager/resolv.conf
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree-integration] integration: Symlink /etc/resolv.conf -> /run/NetworkManager/resolv.conf
- Date: Fri, 18 Sep 2015 16:15:15 +0000 (UTC)
commit 6f9a77fcb6afd233cadc7871850315e3583a6569
Author: Colin Walters <walters verbum org>
Date: Fri Sep 18 12:14:38 2015 -0400
integration: Symlink /etc/resolv.conf -> /run/NetworkManager/resolv.conf
NetworkManager changed to write a private file by default, let's fix
the system to just use it directly by default.
Makefile-integration.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-integration.am b/Makefile-integration.am
index 7251213..f89dfd2 100644
--- a/Makefile-integration.am
+++ b/Makefile-integration.am
@@ -58,6 +58,8 @@ DBUS_ENABLED_SERVICES = org.freedesktop.NetworkManager org.freedesktop.ModemMana
INSTALL_DATA_HOOKS += integration-services-hook
integration-services-hook:
+ mkdir -p $(DESTDIR)$(sysconfdir)/
+ ln -sf ../run/NetworkManager/resolv.conf $(DESTDIR)$(sysconfdir)/resolv.conf
mkdir -p $(DESTDIR)$(sysconfdir)/systemd/system
ln -sf $(prefix)/lib/systemd/system/graphical.target
$(DESTDIR)$(sysconfdir)/systemd/system/default.target
mkdir -p $(DESTDIR)$(prefix)/lib/systemd/system
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]