summaryrefslogtreecommitdiffstats
path: root/rules/systemd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-11-06 16:06:11 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-11-07 09:44:22 +0100
commit4462d49b5e33ccc9cf84ff1b54777f883bfe5276 (patch)
tree96a5a7ef70b3917c629ebef2f567d06ef7ef6cbf /rules/systemd.make
parent45d4484a426c58b1b4fb0c241c0a9474bc7c8c39 (diff)
downloadptxdist-4462d49b5e33ccc9cf84ff1b54777f883bfe5276.tar.gz
ptxdist-4462d49b5e33ccc9cf84ff1b54777f883bfe5276.tar.xz
systemd: only install vconsole.conf if SYSTEMD_VCONSOLE is enabled
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
-rw-r--r--rules/systemd.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make
index 3e62d0353..be9041bb5 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -317,7 +317,9 @@ endif
# # units
@$(call install_tree, systemd, 0, 0, -, /lib/systemd/system/)
+ifndef PTXCONF_SYSTEMD_VCONSOLE
@$(call install_alternative, systemd, 0, 0, 0644, /etc/vconsole.conf)
+endif
@$(call install_copy, systemd, 0, 0, 0755, /var/lib/systemd)