commit | d607cfbd51cc2fcc5a7b8b97d5966f7aa4b4fb32 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Thu Apr 04 12:15:22 2019 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Apr 06 17:01:56 2019 +0000 |
tree | 79de3b3e3980a1e0db8bf7804b942dd4060cc520 | |
parent | 89178e08224fcee96f9443b10f3d4c457c08d536 [diff] |
meta-phosphor: move all services to multi-user.target Instead of obmc-standby.target, use multi-user.target. This can be accomplished by changing the definition of SYSTEMD_DEFAULT_TARGET first, however, the explosive approach by removing that variable and hard-coding multi-user.target provides a single-step. Note: This patchset represents effectively the wholesale change of all services in the meta-phosphor layer as well as the targets. There are other parts of OpenBMC that leverage the default variable. Change-Id: I2b3b2274dd6b32d3832d6e768c26b2607f0ce71c Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf b/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf index a300f6a..d382d37 100644 --- a/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf +++ b/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf
@@ -1,3 +1,3 @@ [Unit] -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target
diff --git a/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service b/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service index 4810a7e..6b5c7b9 100644 --- a/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service +++ b/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service
@@ -9,4 +9,4 @@ SyslogIdentifier=phosphor-fru-fault-monitor [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target
diff --git a/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service b/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service index 2f9a25e..8e852a4 100644 --- a/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service +++ b/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service
@@ -10,4 +10,4 @@ BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target