From 80be49b7026f2473128604283289703332d39356 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Fri, 31 May 2019 12:12:11 -0500 Subject: 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 Signed-off-by: Brad Bishop --- meta-openpower/classes/openpower-software-manager-ubi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-openpower/classes') diff --git a/meta-openpower/classes/openpower-software-manager-ubi.bbclass b/meta-openpower/classes/openpower-software-manager-ubi.bbclass index ae6c3880b..5b60384f1 100644 --- a/meta-openpower/classes/openpower-software-manager-ubi.bbclass +++ b/meta-openpower/classes/openpower-software-manager-ubi.bbclass @@ -3,8 +3,8 @@ SRC_URI += "file://obmc-flash-bios" 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} += " \ -- cgit v1.2.3