openpower-software-manager-ubi: install obmc-flash-bios into bin
OpenBMC executables should be installed in bin, reference:
https://github.com/openbmc/docs/blob/master/anti-patterns.md#placement-of-applications-in-sbin-or-usrsbin
The systemd service files for the openpower updater still run:
"ExecStart=/usr/bin/env obmc-flash-bios" so this change does
not affect them. A subsequent commit will change them to point
to bin.
Tested: Verified obmc-flash-bios was in /usr/bin/ in the BMC and
that a PNOR code update was successful.
(From meta-openpower rev: 200786912b557fdb9c254474d6732deea00979ab)
Change-Id: I00dd1f210aad03be1010b7c27b4a9cc898352e00
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/classes/openpower-software-manager-ubi.bbclass b/meta-openpower/classes/openpower-software-manager-ubi.bbclass
index ae6c388..5b60384 100644
--- a/meta-openpower/classes/openpower-software-manager-ubi.bbclass
+++ b/meta-openpower/classes/openpower-software-manager-ubi.bbclass
@@ -3,8 +3,8 @@
PACKAGECONFIG_append = " ubifs_layout"
do_install_append() {
- install -d ${D}${sbindir}
- install -m 0755 ${WORKDIR}/obmc-flash-bios ${D}${sbindir}/obmc-flash-bios
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/obmc-flash-bios ${D}${bindir}/obmc-flash-bios
}
SYSTEMD_SERVICE_${PN} += " \