diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-07-29 21:20:25 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-08-24 11:53:34 +0200 |
commit | 5a167af30fd0c3db9d92613bd68820c6716eff5b (patch) | |
tree | 1a15891a41f14ead90d8f299271326fd8f5c4d91 /rules/rc-once.make | |
parent | 7eb5bf20e497b283541b79b77846f2945a08e2db (diff) | |
download | ptxdist-5a167af30fd0c3db9d92613bd68820c6716eff5b.tar.gz ptxdist-5a167af30fd0c3db9d92613bd68820c6716eff5b.tar.xz |
rc-one: use systemd system-update mechanism
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/rc-once.make')
-rw-r--r-- | rules/rc-once.make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rules/rc-once.make b/rules/rc-once.make index f01bbe9d8..aaed7443b 100644 --- a/rules/rc-once.make +++ b/rules/rc-once.make @@ -48,9 +48,8 @@ ifdef PTXCONF_INITMETHOD_SYSTEMD @$(call install_alternative, rc-once, 0, 0, 0644, \ /lib/systemd/system/rc-once.service) - @$(call install_alternative, rc-once, 0, 0, 0644, \ - /lib/systemd/system/rc-once.target) - @$(call install_copy, rc-once, 0, 0, 0755, /etc/systemd/system) + @$(call install_link, rc-once, ../rc-once.service, \ + /lib/systemd/system/system-update.target.wants/rc-once.service) endif @$(call install_copy, rc-once, 0, 0, 0755, /etc/rc.once.d) |