mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] systemd: use install_alternative_tree
@ 2012-11-14 20:51 George McCollister
  2012-11-16 10:47 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: George McCollister @ 2012-11-14 20:51 UTC (permalink / raw)
  To: ptxdist

The contents of the following often need to be customized:
 /etc/systemd/system
 /lib/systemd/system
 /usr/lib/tmpfiles.d

Using install_alternative_tree instead of install_tree will allow
customizations.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
---
 rules/systemd.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/systemd.make b/rules/systemd.make
index 4d3cace..0f78553 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -199,8 +199,8 @@ endif
 		/etc/systemd/journald.conf)
 	@$(call install_alternative, systemd, 0, 0, 0644, \
 		/etc/systemd/logind.conf)
-	@$(call install_tree, systemd, 0, 0, -, /etc/systemd/system/)
-	@$(call install_tree, systemd, 0, 0, -, /usr/lib/tmpfiles.d/)
+	@$(call install_alternative_tree, systemd, 0, 0, /etc/systemd/system/)
+	@$(call install_alternative_tree, systemd, 0, 0, /usr/lib/tmpfiles.d/)
 	@$(call install_copy, systemd, 0, 0, 0644, -, /lib/udev/rules.d/99-systemd.rules)
 	@$(call install_tree, systemd, 0, 0, -, /etc/dbus-1/system.d/)
 	@$(call install_tree, systemd, 0, 0, -, /usr/share/polkit-1/actions/)
@@ -209,7 +209,7 @@ endif
 	@$(call install_copy, systemd, 0, 0, 0644, -, /usr/share/systemd/kbd-model-map)
 
 #	# units
-	@$(call install_tree, systemd, 0, 0, -, /lib/systemd/system/)
+	@$(call install_alternative_tree, systemd, 0, 0, /lib/systemd/system/)
 
 	@$(call install_alternative, systemd, 0, 0, 0644, /etc/vconsole.conf)
 
-- 
1.7.11.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-29 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14 20:51 [ptxdist] [PATCH] systemd: use install_alternative_tree George McCollister
2012-11-16 10:47 ` Michael Olbrich
2012-11-28 18:45   ` George McCollister
2012-11-29 14:37     ` George McCollister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox