summaryrefslogtreecommitdiffstats
path: root/rules/systemd.make
diff options
context:
space:
mode:
authorArtur Wiebe <artur@4wiebe.de>2017-03-20 15:34:35 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-03-24 15:06:30 +0100
commit7042f09587f435ead777efe4b79076be062f5089 (patch)
treea5ed0b910db6429c8e402a8046063d67e7e59e0a /rules/systemd.make
parent001a500ed937de18e1e5448e213668f38cbd61f1 (diff)
downloadptxdist-7042f09587f435ead777efe4b79076be062f5089.tar.gz
ptxdist-7042f09587f435ead777efe4b79076be062f5089.tar.xz
rootfs: option to link /etc/resolv.conf to /lib/systemd/resolv.conf
Signed-off-by: Artur Wiebe <artur@4wiebe.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
-rw-r--r--rules/systemd.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make
index e3b05ef51..6b49e9710 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -336,6 +336,7 @@ ifdef PTXCONF_SYSTEMD_TIMEDATE
endif
ifdef PTXCONF_SYSTEMD_NETWORK
@$(call install_copy, systemd, 0, 0, 0755, -, /usr/bin/systemd-resolve)
+ @$(call install_copy, systemd, 0, 0, 0644, -, /lib/systemd/resolv.conf)
@$(call install_alternative, systemd, 0, 0, 0644, \
/etc/systemd/resolved.conf)
endif