From fc81e38aed2df98ed8c83b3ce7970f6434765a41 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Sat, 6 Apr 2019 13:58:07 -0400 Subject: update upstream subtrees A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop --- .../stardragon4800-rep2-console-client@.service | 2 +- .../phosphor-gpio-presence@.service | 2 +- .../gpio/phosphor-gpio-monitor_%.bbappend | 2 +- .../classes/obmc-phosphor-systemd.bbclass | 2 +- .../obmc-chassis-hard-poweroff@.target | 4 +- .../obmc-targets/obmc-chassis-powered-off@.target | 4 +- .../obmc-targets/obmc-chassis-poweroff@.target | 4 +- .../obmc-targets/obmc-chassis-poweron@.target | 4 +- .../obmc-targets/obmc-chassis-powerreset@.target | 2 +- .../systemd/obmc-targets/obmc-host-quiesce@.target | 4 +- .../systemd/obmc-targets/obmc-host-reboot@.target | 4 +- .../systemd/obmc-targets/obmc-host-reset@.target | 2 +- .../obmc-targets/obmc-host-shutdown@.target | 2 +- .../obmc-targets/obmc-host-start-pre@.target | 4 +- .../systemd/obmc-targets/obmc-host-start@.target | 4 +- .../systemd/obmc-targets/obmc-host-started@.target | 2 +- .../obmc-targets/obmc-host-starting@.target | 2 +- .../obmc-targets/obmc-host-startmin@.target | 4 +- .../obmc-targets/obmc-host-stop-pre@.target | 4 +- .../systemd/obmc-targets/obmc-host-stop@.target | 4 +- .../systemd/obmc-targets/obmc-host-stopped@.target | 2 +- .../obmc-targets/obmc-host-stopping@.target | 2 +- .../systemd/obmc-targets/obmc-power-off@.target | 2 +- .../systemd/obmc-targets/obmc-power-on@.target | 2 +- .../obmc-targets/obmc-power-start-pre@.target | 4 +- .../systemd/obmc-targets/obmc-power-start@.target | 2 +- .../obmc-targets/obmc-power-stop-pre@.target | 4 +- .../systemd/obmc-targets/obmc-power-stop@.target | 2 +- .../iotools/iotools/iotools-setup.service | 2 +- .../phosphor-certificate-manager@.service | 2 +- .../chassis/files/obmc-phosphor-chassisd.service | 2 +- .../org.openbmc.control.Chassis@.service | 2 +- .../host-failure-reboots@.service | 2 +- .../obmc-sync-inventory-item@.service | 2 +- .../org.openbmc.control.Power@.service | 2 +- .../chassis/obmc-op-control-power_git.bb | 2 +- .../console/obmc-console/obmc-console@.service | 2 +- .../xyz.openbmc_project.Time.Manager.service | 2 +- .../phosphor-dbus-monitor.service | 2 +- .../xyz.openbmc_project.ObjectMapper.service | 2 +- .../obmc-dump-monitor.service | 2 +- .../xyz.openbmc_project.Dump.Manager.service | 2 +- .../fans/files/obmc-phosphor-fand.service | 2 +- .../org.openbmc.control.Fans.service | 2 +- .../flash/files/obmc-phosphor-flashd.service | 2 +- .../flash/obmc-flash-bios/obmc-flash-init.service | 2 +- .../org.openbmc.control.Flash.service | 2 +- .../org.openbmc.control.BmcFlash.service | 2 +- .../org.openbmc.managers.Download.service | 2 +- ...yz.openbmc_project.Software.BMC.Updater.service | 2 +- .../xyz.openbmc_project.Software.Download.service | 2 +- .../xyz.openbmc_project.Software.Sync.service | 2 +- .../xyz.openbmc_project.Software.Version.service | 2 +- .../phosphor-gpio-presence@.service | 2 +- .../org.openbmc.control.Host@.service | 2 +- .../host/phosphor-host-postd_git.bb | 3 +- .../interfaces/slpd-lite/slpd-lite.service | 2 +- .../xyz.openbmc_project.Inventory.Manager.service | 2 +- .../phosphor-ipmi-bt/org.openbmc.HostIpmi.service | 2 +- .../phosphor-ipmi-fru/obmc-read-eeprom@.service | 2 +- .../recipes-phosphor/ipmi/phosphor-ipmi-host.inc | 2 +- .../phosphor-ipmi-host/phosphor-ipmi-host.service | 2 +- .../phosphor-ipmi-kcs/org.openbmc.HostIpmi.service | 2 +- .../leds/phosphor-led-manager/bmc_booted.conf | 4 +- .../obmc-fru-fault-monitor.service | 2 +- .../xyz.openbmc_project.LED.GroupManager.service | 2 +- .../leds/phosphor-led-manager_git.bb | 2 +- .../logging/phosphor-hostlogger_git.bb | 3 +- .../xyz.openbmc_project.Logging.service | 2 +- .../xyz.openbmc_project.Syslog.Config.service | 2 +- .../recipes-phosphor/mboxd/mboxd/mboxd.service | 2 +- .../recipes-phosphor/network/inarp/inarp.service | 2 +- .../recipes-phosphor/network/network_git.bb | 3 +- .../xyz.openbmc_project.Network.SNMP.service | 2 +- .../recipes-phosphor/sensors/dbus-sensors_git.bb | 2 +- .../xyz.openbmc_project.Settings.service | 2 +- .../files/phosphor-discover-system-state@.service | 2 +- .../files/xyz.openbmc_project.State.BMC.service | 2 +- .../xyz.openbmc_project.State.Chassis.service | 2 +- .../files/xyz.openbmc_project.State.Host.service | 2 +- .../state/phosphor-state-manager_git.bb | 4 +- .../system/files/obmc-phosphor-sysd.service | 2 +- .../org.openbmc.control.Bmc@.service | 2 +- ...yz.openbmc_project.LDAP.PrivilegeMapper.service | 2 +- .../xyz.openbmc_project.Ldap.Config.service | 2 +- .../xyz.openbmc_project.User.Manager.service | 2 +- .../uart-render-controller.service | 2 +- .../ipmi/phosphor-ipmi-fru_%.bbappend | 2 +- meta-quanta/meta-gsj/conf/machine/gsj.conf | 1 + .../ipmi/gsj-ipmi-sensor-map-native.bb | 19 + .../ipmi/gsj-ipmi-sensor-map/config.yaml | 527 +++++++++++++++++++++ .../ipmi/phosphor-ipmi-fru_%.bbappend | 2 +- .../ipmi/phosphor-ipmi-fru_%.bbappend | 2 +- 93 files changed, 652 insertions(+), 108 deletions(-) create mode 100644 meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map-native.bb create mode 100755 meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service index dce0eec0d..0e2772c7e 100644 --- a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/console/stardragon4800-rep2-console-client/stardragon4800-rep2-console-client@.service @@ -6,4 +6,4 @@ ExecStart=/usr/bin/env stardragon4800-rep2-console-client.sh SyslogIdentifier=stardragon4800-rep2-console-client.sh [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service b/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service index 0f8396c7b..cf10ed8f1 100644 --- a/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service @@ -10,4 +10,4 @@ ExecStart=/usr/bin/env phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${ SyslogIdentifier=phosphor-gpio-presence [Install] -RequiredBy={SYSTEMD_DEFAULT_TARGET} +RequiredBy=multi-user.target diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend index 801b34683..8e0515347 100644 --- a/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend @@ -4,7 +4,7 @@ PCIE_CARD_E2B_INSTANCE = "pcie-card-e2b" TMPL = "phosphor-gpio-presence@.service" INSTFMT = "phosphor-gpio-presence@{0}.service" -TGT = "${SYSTEMD_DEFAULT_TARGET}" +TGT = "multi-user.target" FMT = "../${TMPL}:${TGT}.requires/${INSTFMT}" SYSTEMD_LINK_${PN}-presence_append_zaius += "${@compose_list(d, 'FMT', 'PCIE_CARD_E2B_INSTANCE')}" diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass index e89230212..9b4419bcd 100644 --- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass @@ -49,7 +49,7 @@ inherit systemd inherit useradd _INSTALL_SD_UNITS="" -SYSTEMD_DEFAULT_TARGET ?= "obmc-standby.target" +SYSTEMD_DEFAULT_TARGET ?= "multi-user.target" envfiledir ?= "${sysconfdir}/default" # Big ugly hack to prevent useradd.bbclass post-parse sanity checker failure. diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-hard-poweroff@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-hard-poweroff@.target index 48fc44169..a033f6050 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-hard-poweroff@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-hard-poweroff@.target @@ -1,7 +1,7 @@ [Unit] Description=Chassis%i (Hard Power Off) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service Conflicts=obmc-chassis-poweron@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powered-off@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powered-off@.target index 84c1ddab1..c043f3744 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powered-off@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powered-off@.target @@ -1,7 +1,7 @@ [Unit] Description=Chassis%i (Powered Off) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service Conflicts=obmc-chassis-poweron@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target index 080d72456..69209e64a 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweroff@.target @@ -1,7 +1,7 @@ [Unit] Description=Chassis%i (Power Off) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service Conflicts=obmc-chassis-poweron@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target index 55f6d919b..cd7c2fc49 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-poweron@.target @@ -1,7 +1,7 @@ [Unit] Description=Chassis%i (Power On) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service Wants=mapper-subtree-remove@-xyz-openbmc\x5fproject-software\x3Axyz.openbmc_project.Software.ActivationBlocksTransition.service diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powerreset@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powerreset@.target index 8d7c47e6b..03036f301 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powerreset@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-chassis-powerreset@.target @@ -4,4 +4,4 @@ Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStop=yes [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-quiesce@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-quiesce@.target index 4f10419ab..900995b9f 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-quiesce@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-quiesce@.target @@ -1,6 +1,6 @@ [Unit] Description=Quiesce Target -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target RefuseManualStop=yes Conflicts=obmc-chassis-poweroff@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reboot@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reboot@.target index dc280ea65..a01b94251 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reboot@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reboot@.target @@ -1,7 +1,7 @@ [Unit] Description=Reboot Host%i -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-org-openbmc-control-chassis%i.service After=mapper-wait@-org-openbmc-control-chassis%i.service Conflicts=obmc-host-startmin@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reset@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reset@.target index ca95d843c..84d870163 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reset@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-reset@.target @@ -4,4 +4,4 @@ Conflicts=obmc-host-stop@%i.target RefuseManualStop=yes [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target index 4768a567f..012d364a1 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-shutdown@.target @@ -1,6 +1,6 @@ [Unit] Description=Power%i Host Off -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target RefuseManualStop=yes OnFailure=obmc-chassis-poweroff@%i.target OnFailureJobMode=flush diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target index 2bc270c14..fe5514618 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start-pre@.target @@ -1,7 +1,7 @@ [Unit] Description=Start Host%i (Pre) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Conflicts=obmc-host-stop@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start@.target index 144b63387..790ef6af9 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-start@.target @@ -1,7 +1,7 @@ [Unit] Description=Start Host%i -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-org-openbmc-control-chassis%i.service After=mapper-wait@-org-openbmc-control-chassis%i.service Conflicts=obmc-host-stop@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-started@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-started@.target index eb0a9383b..fcd51be89 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-started@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-started@.target @@ -1,6 +1,6 @@ [Unit] Description=Host%i (Started) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target After=obmc-host-starting@%i.target Conflicts=obmc-host-stop@%i.target RefuseManualStart=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-starting@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-starting@.target index 408139dd4..52e7bea83 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-starting@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-starting@.target @@ -1,6 +1,6 @@ [Unit] Description=Host%i (Starting) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target After=obmc-host-start-pre@%i.target Conflicts=obmc-host-stop@%i.target RefuseManualStart=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-startmin@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-startmin@.target index 6e924adcd..fc93cdce4 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-startmin@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-startmin@.target @@ -1,7 +1,7 @@ [Unit] Description=Start Host%i Minimum -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-org-openbmc-control-chassis%i.service After=mapper-wait@-org-openbmc-control-chassis%i.service Conflicts=obmc-host-stop@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop-pre@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop-pre@.target index e88d3ea58..9fc3296b1 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop-pre@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop-pre@.target @@ -1,7 +1,7 @@ [Unit] Description=Stop Host%i (Pre) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Before=obmc-host-stopping@%i.target Conflicts=obmc-host-startmin@%i.target RefuseManualStart=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop@.target index 8e99bccdb..d8f3cc938 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stop@.target @@ -1,7 +1,7 @@ [Unit] Description=Stop Host%i -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=mapper-wait@-org-openbmc-control-chassis%i.service After=mapper-wait@-org-openbmc-control-chassis%i.service After=obmc-chassis-poweroff@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopped@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopped@.target index 74039fc25..c9689790b 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopped@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopped@.target @@ -1,6 +1,6 @@ [Unit] Description=Host%i (Stopped) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target Wants=obmc-host-stopping@%i.target After=obmc-host-stopping@%i.target Before=obmc-power-stop-pre@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target index f087dea72..41c4b7f95 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-host-stopping@.target @@ -1,6 +1,6 @@ [Unit] Description=Host%i (Stopping) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target Wants=obmc-host-stop-pre@%i.target After=obmc-host-stop-pre@%i.target Before=obmc-host-stopped@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-off@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-off@.target index c47b21e47..7fda29b1e 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-off@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-off@.target @@ -1,6 +1,6 @@ [Unit] Description=Power%i (Off) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target After=obmc-power-stop@%i.target Conflicts=obmc-chassis-poweron@%i.target RefuseManualStart=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-on@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-on@.target index 52135ffc9..b55d90907 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-on@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-on@.target @@ -1,6 +1,6 @@ [Unit] Description=Power%i (On) -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target After=obmc-power-start@%i.target Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStart=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target index 1a1ea6319..2b5fdbbd7 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start-pre@.target @@ -1,7 +1,7 @@ [Unit] Description=Power%i On (Pre) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start@.target index a977d5ad3..720548e2d 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-start@.target @@ -1,7 +1,7 @@ [Unit] Description=Power%i On After=obmc-power-start-pre@%i.target -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target Conflicts=obmc-chassis-poweroff@%i.target RefuseManualStart=yes RefuseManualStop=yes diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target index 50d5050bb..5460914b2 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop-pre@.target @@ -1,7 +1,7 @@ [Unit] Description=Power%i Off (Pre) -Wants={SYSTEMD_DEFAULT_TARGET} -After={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target +After=multi-user.target Wants=obmc-host-stopped@%i.target After=obmc-host-stopped@%i.target Conflicts=obmc-chassis-poweron@%i.target diff --git a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop@.target b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop@.target index f0429d786..fc22eb1f3 100644 --- a/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop@.target +++ b/meta-phosphor/recipes-core/systemd/obmc-targets/obmc-power-stop@.target @@ -2,7 +2,7 @@ Description=Power%i Off Wants=obmc-power-stop-pre@%i.target After=obmc-power-stop-pre@%i.target -Wants={SYSTEMD_DEFAULT_TARGET} +Wants=multi-user.target Conflicts=obmc-chassis-poweron@%i.target Conflicts=fsi-disable.service RefuseManualStart=yes diff --git a/meta-phosphor/recipes-devtools/iotools/iotools/iotools-setup.service b/meta-phosphor/recipes-devtools/iotools/iotools/iotools-setup.service index 2d2693026..a5f8f6885 100644 --- a/meta-phosphor/recipes-devtools/iotools/iotools/iotools-setup.service +++ b/meta-phosphor/recipes-devtools/iotools/iotools/iotools-setup.service @@ -8,4 +8,4 @@ ExecStart=/usr/bin/env iotools --make-links SyslogIdentifier=iotools [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager/phosphor-certificate-manager@.service b/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager/phosphor-certificate-manager@.service index d661b75c4..a8215662e 100644 --- a/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager/phosphor-certificate-manager@.service +++ b/meta-phosphor/recipes-phosphor/certificate/phosphor-certificate-manager/phosphor-certificate-manager@.service @@ -8,4 +8,4 @@ SyslogIdentifier=phosphor-certificate-manager Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/files/obmc-phosphor-chassisd.service b/meta-phosphor/recipes-phosphor/chassis/files/obmc-phosphor-chassisd.service index e981dc06d..2ca9fe327 100644 --- a/meta-phosphor/recipes-phosphor/chassis/files/obmc-phosphor-chassisd.service +++ b/meta-phosphor/recipes-phosphor/chassis/files/obmc-phosphor-chassisd.service @@ -7,4 +7,4 @@ ExecStart=/usr/bin/env obmc-phosphor-chassisd SyslogIdentifier=obmc-phosphor-chassisd [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service index 76acd19a1..cfda54a02 100644 --- a/meta-phosphor/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service @@ -11,4 +11,4 @@ Environment="PYTHONUNBUFFERED=1" TimeoutStartSec=180s [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-host-failure-reboots/host-failure-reboots@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-host-failure-reboots/host-failure-reboots@.service index 88769c77a..26345ee5f 100644 --- a/meta-phosphor/recipes-phosphor/chassis/obmc-host-failure-reboots/host-failure-reboots@.service +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-host-failure-reboots/host-failure-reboots@.service @@ -10,4 +10,4 @@ Type=oneshot RemainAfterExit=yes [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service index 784df407b..416fddc13 100644 --- a/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service @@ -10,4 +10,4 @@ SyslogIdentifier=sync_inventory_items.py RemainAfterExit=yes [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/org.openbmc.control.Power@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/org.openbmc.control.Power@.service index 9903e6e26..21494ca5d 100644 --- a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/org.openbmc.control.Power@.service +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/org.openbmc.control.Power@.service @@ -10,4 +10,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power_git.bb b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power_git.bb index ab2a18e60..8bae112ae 100644 --- a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power_git.bb +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power_git.bb @@ -90,7 +90,7 @@ SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'HARD_OFF_FMT_CTRL', 'OBMC_CHASSIS # Force the standby target to run the chassis reset check target RESET_TMPL_CTRL = "obmc-chassis-powerreset@.target" -SYSD_TGT = "${SYSTEMD_DEFAULT_TARGET}" +SYSD_TGT = "multi-user.target" RESET_INSTFMT_CTRL = "obmc-chassis-powerreset@{0}.target" RESET_FMT_CTRL = "../${RESET_TMPL_CTRL}:${SYSD_TGT}.wants/${RESET_INSTFMT_CTRL}" SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'RESET_FMT_CTRL', 'OBMC_CHASSIS_INSTANCES')}" diff --git a/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console@.service b/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console@.service index 26e452c3c..246544a62 100644 --- a/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console@.service +++ b/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console@.service @@ -9,4 +9,4 @@ SyslogIdentifier=obmc-console-server Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/datetime/phosphor-time-manager/xyz.openbmc_project.Time.Manager.service b/meta-phosphor/recipes-phosphor/datetime/phosphor-time-manager/xyz.openbmc_project.Time.Manager.service index e819e35ac..362e06a91 100644 --- a/meta-phosphor/recipes-phosphor/datetime/phosphor-time-manager/xyz.openbmc_project.Time.Manager.service +++ b/meta-phosphor/recipes-phosphor/datetime/phosphor-time-manager/xyz.openbmc_project.Time.Manager.service @@ -15,4 +15,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/dbus/phosphor-dbus-monitor/phosphor-dbus-monitor.service b/meta-phosphor/recipes-phosphor/dbus/phosphor-dbus-monitor/phosphor-dbus-monitor.service index 9440f0c2d..b9d93608b 100644 --- a/meta-phosphor/recipes-phosphor/dbus/phosphor-dbus-monitor/phosphor-dbus-monitor.service +++ b/meta-phosphor/recipes-phosphor/dbus/phosphor-dbus-monitor/phosphor-dbus-monitor.service @@ -8,4 +8,4 @@ ExecStart=/usr/bin/env phosphor-dbus-monitor SyslogIdentifier=phosphor-dbus-monitor [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service b/meta-phosphor/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service index 5e348142a..5f7bd9599 100644 --- a/meta-phosphor/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service +++ b/meta-phosphor/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service @@ -17,4 +17,4 @@ RestartSec=5 EnvironmentFile={envfiledir}/obmc/mapper [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/obmc-dump-monitor.service b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/obmc-dump-monitor.service index 0e8ef3b5d..aa3837d89 100644 --- a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/obmc-dump-monitor.service +++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/obmc-dump-monitor.service @@ -7,4 +7,4 @@ SyslogIdentifier=phosphor-dump-monitor Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/xyz.openbmc_project.Dump.Manager.service b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/xyz.openbmc_project.Dump.Manager.service index 131c8cdaf..515f8fc00 100644 --- a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/xyz.openbmc_project.Dump.Manager.service +++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/xyz.openbmc_project.Dump.Manager.service @@ -10,4 +10,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/fans/files/obmc-phosphor-fand.service b/meta-phosphor/recipes-phosphor/fans/files/obmc-phosphor-fand.service index 958474989..a7d0b4b22 100644 --- a/meta-phosphor/recipes-phosphor/fans/files/obmc-phosphor-fand.service +++ b/meta-phosphor/recipes-phosphor/fans/files/obmc-phosphor-fand.service @@ -7,4 +7,4 @@ ExecStart=/usr/bin/env obmc-phosphor-fand SyslogIdentifier=obmc-phosphor-fand [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service b/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service index ec6391d5c..adcee2684 100644 --- a/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service +++ b/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service @@ -14,4 +14,4 @@ BusName={BUSNAME} Environment="PYTHONUNBUFFERED=1" [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/files/obmc-phosphor-flashd.service b/meta-phosphor/recipes-phosphor/flash/files/obmc-phosphor-flashd.service index 3a7f3d53a..26959196e 100644 --- a/meta-phosphor/recipes-phosphor/flash/files/obmc-phosphor-flashd.service +++ b/meta-phosphor/recipes-phosphor/flash/files/obmc-phosphor-flashd.service @@ -7,4 +7,4 @@ ExecStart=/usr/bin/env obmc-phosphor-flashd SyslogIdentifier=obmc-phosphor-flashd [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/obmc-flash-init.service b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/obmc-flash-init.service index de196d0ea..dcb561e0d 100644 --- a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/obmc-flash-init.service +++ b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/obmc-flash-init.service @@ -9,4 +9,4 @@ ExecStart=/bin/sh -c "busctl call `mapper get-service /org/openbmc/control/flash SyslogIdentifier=obmc-flash-init [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/org.openbmc.control.Flash.service b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/org.openbmc.control.Flash.service index 842add34d..53502fc23 100644 --- a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/org.openbmc.control.Flash.service +++ b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bios/org.openbmc.control.Flash.service @@ -11,4 +11,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service index bb97d8ab9..95396e30a 100644 --- a/meta-phosphor/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service +++ b/meta-phosphor/recipes-phosphor/flash/obmc-flash-bmc/org.openbmc.control.BmcFlash.service @@ -12,4 +12,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service b/meta-phosphor/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service index f3ff75dfe..55ee6d40c 100644 --- a/meta-phosphor/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service +++ b/meta-phosphor/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service @@ -10,4 +10,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.BMC.Updater.service b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.BMC.Updater.service index ef1a1c434..bd46bcdba 100644 --- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.BMC.Updater.service +++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.BMC.Updater.service @@ -13,4 +13,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Download.service b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Download.service index a4934f865..ea7cc151e 100644 --- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Download.service +++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Download.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Sync.service b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Sync.service index 1ff33a2fe..7141841f5 100644 --- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Sync.service +++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Sync.service @@ -7,4 +7,4 @@ SyslogIdentifier=phosphor-sync-software-manager Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Version.service b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Version.service index 0141245b2..a8f6159ef 100644 --- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Version.service +++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager/xyz.openbmc_project.Software.Version.service @@ -10,4 +10,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service index df758246f..acb6af748 100644 --- a/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service +++ b/meta-phosphor/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-presence@.service @@ -10,4 +10,4 @@ ExecStart=/usr/bin/env phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${ SyslogIdentifier=phosphor-gpio-presence [Install] -RequiredBy={SYSTEMD_DEFAULT_TARGET} +RequiredBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/host/obmc-op-control-host/org.openbmc.control.Host@.service b/meta-phosphor/recipes-phosphor/host/obmc-op-control-host/org.openbmc.control.Host@.service index e9227110e..6619c1898 100644 --- a/meta-phosphor/recipes-phosphor/host/obmc-op-control-host/org.openbmc.control.Host@.service +++ b/meta-phosphor/recipes-phosphor/host/obmc-op-control-host/org.openbmc.control.Host@.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb b/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb index 5692eb9bc..e1114e8aa 100644 --- a/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb +++ b/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb @@ -25,10 +25,9 @@ POST_CODE_BYTES ?= "1" SERVICE_FILE = "lpcsnoop.service" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}" -SYSTEMD_DEFAULT_TARGET ?= "obmc-standby.target" EXTRA_OECONF = " \ SNOOP_DEVICE="${SNOOP_DEVICE}" \ POST_CODE_BYTES="${POST_CODE_BYTES}" \ - SYSTEMD_TARGET="${SYSTEMD_DEFAULT_TARGET}" \ + SYSTEMD_TARGET="multi-user.target" \ " diff --git a/meta-phosphor/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service b/meta-phosphor/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service index 5d587093f..4cbeb8487 100644 --- a/meta-phosphor/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service +++ b/meta-phosphor/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service @@ -9,4 +9,4 @@ SyslogIdentifier=slpd Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service index c3ae5adcc..cf2bc9ac0 100644 --- a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service +++ b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service @@ -10,4 +10,4 @@ SyslogIdentifier=phosphor-inventory BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-bt/org.openbmc.HostIpmi.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-bt/org.openbmc.HostIpmi.service index f5abfb5ff..bf69c7d19 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-bt/org.openbmc.HostIpmi.service +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-bt/org.openbmc.HostIpmi.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service index 4bae65d3f..ae8c0388e 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service @@ -11,4 +11,4 @@ ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID SyslogIdentifier=phosphor-read-eeprom [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host.inc b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host.inc index 40dde6dc0..00ca5b896 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host.inc +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host.inc @@ -2,4 +2,4 @@ HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" -SRCREV = "75b480be0428832e57e3a9e29f571f2b7a3848d4" +SRCREV = "0120b68041d58b5fb513b78eaf73dc6ae155df9a" diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service index 29d496797..8beb73273 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service @@ -25,4 +25,4 @@ Type=dbus BusName=xyz.openbmc_project.Control.Host [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-kcs/org.openbmc.HostIpmi.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-kcs/org.openbmc.HostIpmi.service index 0c108fbee..6b75a7d03 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-kcs/org.openbmc.HostIpmi.service +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-kcs/org.openbmc.HostIpmi.service @@ -8,4 +8,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf index a300f6ace..d382d377d 100644 --- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/bmc_booted.conf +++ b/meta-phosphor/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/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service index 4810a7e86..6b5c7b948 100644 --- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service +++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/obmc-fru-fault-monitor.service @@ -9,4 +9,4 @@ ExecStart=/usr/bin/env phosphor-fru-fault-monitor SyslogIdentifier=phosphor-fru-fault-monitor [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service index 2f9a25e91..8e852a4f8 100644 --- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service +++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager/xyz.openbmc_project.LED.GroupManager.service @@ -10,4 +10,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb index 3b3ac827a..8689e06c0 100644 --- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb @@ -38,7 +38,7 @@ DBUS_SERVICE_${PN}-ledmanager += "xyz.openbmc_project.LED.GroupManager.service" SYSTEMD_SERVICE_${PN}-ledmanager += "obmc-led-group-start@.service obmc-led-group-stop@.service" SYSTEMD_SERVICE_${PN}-faultmonitor += "obmc-fru-fault-monitor.service" -SYSTEMD_LINK_${PN}-ledmanager += "../obmc-led-group-start@.service:${SYSTEMD_DEFAULT_TARGET}.wants/obmc-led-group-start@bmc_booted.service" +SYSTEMD_LINK_${PN}-ledmanager += "../obmc-led-group-start@.service:multi-user.target.wants/obmc-led-group-start@bmc_booted.service" STATES = "start stop" TMPLFMT = "obmc-led-group-{0}@.service" diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb index 97a3f94f9..5a6a4d2fe 100644 --- a/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-hostlogger_git.bb @@ -26,14 +26,13 @@ RRECOMMENDS_${PN} += "phosphor-debug-collector" # systemd service setup SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "hostlogger.service" -SYSTEMD_DEFAULT_TARGET ?= "multi-user.target" # Host TTY setup OBMC_CONSOLE_HOST_TTY ?= "ttyVUART0" # Extra parameters for 'configure' script EXTRA_OECONF = "HOST_TTY=${OBMC_CONSOLE_HOST_TTY} \ - SYSTEMD_TARGET=${SYSTEMD_DEFAULT_TARGET}" + SYSTEMD_TARGET=multi-user.target" # Source code repository S = "${WORKDIR}/git" diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Logging.service b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Logging.service index 946c3bf16..77936c72d 100644 --- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Logging.service +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Logging.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service index 240839fd7..e1b1d667a 100644 --- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging/xyz.openbmc_project.Syslog.Config.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service b/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service index 28e4ff4f3..b13f72c05 100644 --- a/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service +++ b/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service @@ -13,4 +13,4 @@ ExecStart=/usr/bin/env mboxd --flash {FLASH_SIZE} --window-size 1M SyslogIdentifier=mboxd [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/network/inarp/inarp.service b/meta-phosphor/recipes-phosphor/network/inarp/inarp.service index 5d26559f0..6e85131e1 100644 --- a/meta-phosphor/recipes-phosphor/network/inarp/inarp.service +++ b/meta-phosphor/recipes-phosphor/network/inarp/inarp.service @@ -7,4 +7,4 @@ SyslogIdentifier=inarp Restart=always [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/network/network_git.bb b/meta-phosphor/recipes-phosphor/network/network_git.bb index 82c276fe0..aa6addbb9 100644 --- a/meta-phosphor/recipes-phosphor/network/network_git.bb +++ b/meta-phosphor/recipes-phosphor/network/network_git.bb @@ -25,8 +25,7 @@ S = "${WORKDIR}/git" SERVICE_FILE = "xyz.openbmc_project.Network.service" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}" -SYSTEMD_DEFAULT_TARGET ?= "obmc-standby.target" EXTRA_OECONF = " \ - SYSTEMD_TARGET="${SYSTEMD_DEFAULT_TARGET}" \ + SYSTEMD_TARGET="multi-user.target" \ " diff --git a/meta-phosphor/recipes-phosphor/network/phosphor-snmp/xyz.openbmc_project.Network.SNMP.service b/meta-phosphor/recipes-phosphor/network/phosphor-snmp/xyz.openbmc_project.Network.SNMP.service index f5a1d7274..6b7ffcd1d 100644 --- a/meta-phosphor/recipes-phosphor/network/phosphor-snmp/xyz.openbmc_project.Network.SNMP.service +++ b/meta-phosphor/recipes-phosphor/network/phosphor-snmp/xyz.openbmc_project.Network.SNMP.service @@ -10,4 +10,4 @@ Type=dbus BusName=xyz.openbmc_project.Network.SNMP [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb index c80af3f37..edc974329 100644 --- a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb +++ b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb @@ -2,7 +2,7 @@ SUMMARY = "dbus-sensors" DESCRIPTION = "Dbus Sensor Services Configured from D-Bus" SRC_URI = "git://github.com/openbmc/dbus-sensors.git" -SRCREV = "1345209bd1fd22063564ce0f6fc7c4010e313425" +SRCREV = "c9445d8bf25dff817de1c97734c49330ebc4829d" PV = "0.1+git${SRCPV}" diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/xyz.openbmc_project.Settings.service b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/xyz.openbmc_project.Settings.service index 50e21665c..168d2c723 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/xyz.openbmc_project.Settings.service +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/xyz.openbmc_project.Settings.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/state/files/phosphor-discover-system-state@.service b/meta-phosphor/recipes-phosphor/state/files/phosphor-discover-system-state@.service index f39803899..4a5e6a7e5 100644 --- a/meta-phosphor/recipes-phosphor/state/files/phosphor-discover-system-state@.service +++ b/meta-phosphor/recipes-phosphor/state/files/phosphor-discover-system-state@.service @@ -16,4 +16,4 @@ ExecStart=/usr/bin/env phosphor-discover-system-state --host %i SyslogIdentifier=phosphor-discover-system-state [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.BMC.service b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.BMC.service index 057af648d..de1da5add 100644 --- a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.BMC.service +++ b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.BMC.service @@ -13,4 +13,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service index 259dd16af..1cab07fcf 100644 --- a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service +++ b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Chassis.service @@ -13,4 +13,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service index 26f523eaa..780f26071 100644 --- a/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service +++ b/meta-phosphor/recipes-phosphor/state/files/xyz.openbmc_project.State.Host.service @@ -15,4 +15,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb index 5408b4750..59c743a69 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-state-manager_git.bb @@ -87,14 +87,14 @@ SYSTEMD_LINK_${PN}-reset-sensor-states += "${@compose_list_zip(d, 'SENSOR_RESET_ # Force the standby target to run the host reset check target RESET_TMPL_CTRL = "obmc-host-reset@.target" -SYSD_TGT = "${SYSTEMD_DEFAULT_TARGET}" +SYSD_TGT = "multi-user.target" RESET_INSTFMT_CTRL = "obmc-host-reset@{0}.target" RESET_FMT_CTRL = "../${RESET_TMPL_CTRL}:${SYSD_TGT}.wants/${RESET_INSTFMT_CTRL}" SYSTEMD_LINK_${PN}-host-check += "${@compose_list_zip(d, 'RESET_FMT_CTRL', 'OBMC_HOST_INSTANCES')}" TMPL = "phosphor-discover-system-state@.service" INSTFMT = "phosphor-discover-system-state@{0}.service" -FMT = "../${TMPL}:${SYSTEMD_DEFAULT_TARGET}.wants/${INSTFMT}" +FMT = "../${TMPL}:multi-user.target.wants/${INSTFMT}" SYSTEMD_LINK_${PN}-discover += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}" # Force the shutdown target to run the chassis-poweroff target diff --git a/meta-phosphor/recipes-phosphor/system/files/obmc-phosphor-sysd.service b/meta-phosphor/recipes-phosphor/system/files/obmc-phosphor-sysd.service index d4dacf546..246d985ba 100644 --- a/meta-phosphor/recipes-phosphor/system/files/obmc-phosphor-sysd.service +++ b/meta-phosphor/recipes-phosphor/system/files/obmc-phosphor-sysd.service @@ -7,4 +7,4 @@ ExecStart=/usr/bin/env obmc-phosphor-sysd SyslogIdentifier=obmc-phosphor-sysd [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/system/obmc-control-bmc/org.openbmc.control.Bmc@.service b/meta-phosphor/recipes-phosphor/system/obmc-control-bmc/org.openbmc.control.Bmc@.service index 9685efecd..937c3bb99 100644 --- a/meta-phosphor/recipes-phosphor/system/obmc-control-bmc/org.openbmc.control.Bmc@.service +++ b/meta-phosphor/recipes-phosphor/system/obmc-control-bmc/org.openbmc.control.Bmc@.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service index 38c6360e0..abd0e6993 100644 --- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.LDAP.PrivilegeMapper.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.Ldap.Config.service b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.Ldap.Config.service index dc6d0da4f..20e518d8c 100644 --- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.Ldap.Config.service +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.Ldap.Config.service @@ -12,4 +12,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.User.Manager.service b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.User.Manager.service index f8926e77c..67d8b8bbc 100644 --- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.User.Manager.service +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager/xyz.openbmc_project.User.Manager.service @@ -9,4 +9,4 @@ Type=dbus BusName={BUSNAME} [Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} +WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service b/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service index 3fd688f31..bc1e99e0a 100644 --- a/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service +++ b/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service @@ -11,4 +11,4 @@ ExecStart=/usr/sbin/obmc-uart-render-controller \ fbterm.service [Install] -WantedBy=obmc-standby.target +WantedBy=multi-user.target diff --git a/meta-quanta/meta-f0b/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-f0b/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index cc2c07110..72c783400 100644 --- a/meta-quanta/meta-f0b/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-quanta/meta-f0b/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -13,7 +13,7 @@ ENVFMT = "obmc/eeproms/{0}" SYSTEMD_ENVIRONMENT_FILE_${PN}_append_f0b := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" TMPL = "obmc-read-eeprom@.service" -TGT = "${SYSTEMD_DEFAULT_TARGET}" +TGT = "multi-user.target" INSTFMT = "obmc-read-eeprom@{0}.service" FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" diff --git a/meta-quanta/meta-gsj/conf/machine/gsj.conf b/meta-quanta/meta-gsj/conf/machine/gsj.conf index e88e0583c..4e4f64d3f 100644 --- a/meta-quanta/meta-gsj/conf/machine/gsj.conf +++ b/meta-quanta/meta-gsj/conf/machine/gsj.conf @@ -25,3 +25,4 @@ PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gsj-apps" PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gsj-apps" PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "gsj-ipmi-inventory-map-native" PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory = "gsj-ipmi-fru-read-inventory-native" +PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory = "gsj-ipmi-sensor-map-native" diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map-native.bb b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map-native.bb new file mode 100644 index 000000000..b716bf054 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Quanta gsj IPMI to DBus Sensor mapping." +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${QUANTABASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native +inherit phosphor-ipmi-host + +PROVIDES += "virtual/phosphor-ipmi-sensor-inventory" + +SRC_URI += "file://config.yaml" + +S = "${WORKDIR}" + +do_install() { + DEST=${D}${sensor_datadir} + install -d ${DEST} + install config.yaml ${DEST}/sensor.yaml +} diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml new file mode 100755 index 000000000..daba925cf --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/gsj-ipmi-sensor-map/config.yaml @@ -0,0 +1,527 @@ +0x30: + entityID: 0x06 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/KL0 + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x31: + entityID: 0x0D + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/KL1 + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x32: + entityID: 0x0E + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/KL2 + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x33: + entityID: 0x0E + entityInstance: 2 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/KL3 + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x3C: + entityID: 0x0A + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/P48V_HSC_Temp + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x70: + entityID: 0x0A + entityInstance: 5 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/P48V_HSC_Current + sensorReadingType: 0x01 + multiplierM: 9 + offsetB: 0 + bExp: 0 + rExp: -2 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x60: + entityID: 0x0A + entityInstance: 3 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/P48V_HSC_Vol + sensorReadingType: 0x01 + multiplierM: 243 + offsetB: 0 + bExp: 0 + rExp: -3 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x90: + entityID: 0x0A + entityInstance: 6 + sensorType: 0x0B + path: /xyz/openbmc_project/sensors/power/P48V_HSC_Power + sensorReadingType: 0x01 + multiplierM: 310 + offsetB: 4 + bExp: 2 + rExp: -2 + scale: -6 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x3D: + entityID: 0x0A + entityInstance: 2 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/P12V_BRIC_Temp + sensorReadingType: 0x01 + bExp: 0 + rExp: 0 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x71: + entityID: 0x0A + entityInstance: 7 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/P12V_BRIC_Current + sensorReadingType: 0x01 + multiplierM: 200 + offsetB: 0 + bExp: 0 + rExp: -3 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x61: + entityID: 0x0A + entityInstance: 4 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/P12V_BRIC_Vol + sensorReadingType: 0x01 + multiplierM: 509 + offsetB: 0 + bExp: 0 + rExp: -4 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + + +0x80: + entityID: 0x1D + entityInstance: 1 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x81: + entityID: 0x1D + entityInstance: 2 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan0_1_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x82: + entityID: 0x1D + entityInstance: 3 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x83: + entityID: 0x1D + entityInstance: 4 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan1_1_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x84: + entityID: 0x1D + entityInstance: 5 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x85: + entityID: 0x1D + entityInstance: 6 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/Fan2_1_RPM + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0x34: + entityID: 0x07 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/1 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x35: + entityID: 0x07 + entityInstance: 2 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/2 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x36: + entityID: 0x07 + entityInstance: 3 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/3 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x37: + entityID: 0x07 + entityInstance: 4 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/4 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x38: + entityID: 0x07 + entityInstance: 5 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/5 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x39: + entityID: 0x07 + entityInstance: 6 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/6 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x3A: + entityID: 0x07 + entityInstance: 7 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/7 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +0x3B: + entityID: 0x07 + entityInstance: 8 + sensorType: 0x01 + path: /xyz/openbmc_project/nvme/8 + sensorReadingType: 0x01 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameParentLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +0xB0: + entityID: 0x20 + entityInstance: 1 + sensorType: 0x0C + path: /xyz/openbmc_project/memory/BmcECC + sensorReadingType: 0x6F + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + mutability: Mutability::Read + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Memory.MemoryECC: + state: + Offsets: + 0x00: + type: string + assert: xyz.openbmc_project.Sensor.Memory.MemoryECC.ECCStatus.CE + 0x01: + type: string + assert: xyz.openbmc_project.Sensor.Memory.MemoryECC.ECCStatus.UE + 0x05: + type: string + assert: xyz.openbmc_project.Sensor.Memory.MemoryECC.ECCStatus.LogFulled \ No newline at end of file diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index 0fb703bc0..32989f2bb 100644 --- a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -13,7 +13,7 @@ ENVFMT = "obmc/eeproms/{0}" SYSTEMD_ENVIRONMENT_FILE_${PN}_append_gsj := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" TMPL = "obmc-read-eeprom@.service" -TGT = "${SYSTEMD_DEFAULT_TARGET}" +TGT = "multi-user.target" INSTFMT = "obmc-read-eeprom@{0}.service" FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" diff --git a/meta-quanta/meta-q71l/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-q71l/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index f50949720..117523265 100644 --- a/meta-quanta/meta-q71l/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-quanta/meta-q71l/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -13,7 +13,7 @@ ENVFMT = "obmc/eeproms/{0}" SYSTEMD_ENVIRONMENT_FILE_${PN}_append_quanta-q71l := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" TMPL = "obmc-read-eeprom@.service" -TGT = "${SYSTEMD_DEFAULT_TARGET}" +TGT = "multi-user.target" INSTFMT = "obmc-read-eeprom@{0}.service" FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" -- cgit v1.2.1