diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-04-20 23:02:27 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-04-21 22:20:09 +0300 |
commit | 7b2123ff805f73e61fb407b651a866b134486ebb (patch) | |
tree | b7aa9a67850397af7fb9bddb16bfe4f0613a0e56 | |
parent | 954512d5d9584499344a6a228367255367271ed9 (diff) | |
download | openbmc-7b2123ff805f73e61fb407b651a866b134486ebb.tar.xz |
phosphor-state-manager: remove useless target symlink
We do not need to create symlinks to instantiate targets. Remove
the one for `obmc-bmc-service-quiesce@.target`.
Tested:
```
root@witherspoon:/lib/systemd/system# systemctl start obmc-bmc-service-quiesce@0.target
root@witherspoon:~# obmcutil state
CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Quiesced
CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.Off
CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off
BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified
OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I73719f8cbce7ff3e01be868f471627c7acc2f6ca
-rw-r--r-- | meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc index 37932b4b9d..e716c72276 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc +++ b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager-systemd-links.inc @@ -20,10 +20,6 @@ pkg_postinst:${PN}-obmc-targets:append() { TARGET="../phosphor-discover-system-state@.service" ln -s $TARGET $LINK - LINK="$D$systemd_system_unitdir/obmc-bmc-service-quiesce@${i}.target" - TARGET="./obmc-bmc-service-quiesce@.target" - ln -s $TARGET $LINK - mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants/phosphor-reset-host-recovery@${i}.service" TARGET="../phosphor-reset-host-recovery@.service" |