ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

FTC1050:Rainier: getting [ERROR "webassets.hpp":139] Cannot determine content-type for /usr/share/www/changeLogo.sh #3629

Closed gtmills closed 1 year ago

gtmills commented 1 year ago

When starting bmcweb (so every boot of the bmc) see the following trace

[ERROR "webassets.hpp":139] Cannot determine content-type for /usr/share/www/changeLogo.sh

Can we move that script to somewhere else?

gtmills commented 1 year ago

Also would be good if changeLogo.sh didn't have .sh at the end

gtmills commented 1 year ago

Let's put this in /usr/bin From Adriana:

/usr/bin for all bmc app scripts as the general rule. Dir description for reference: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html

seems we've also documented that in an antipattern so yeah we're good with /usr/bin

lxwinspur commented 1 year ago

@gtmills Review by: https://github.com/ibm-openbmc/openbmc/pull/284

lxwinspur commented 1 year ago

@ChicagoDuan FYI ^

gtmills commented 1 year ago

Reed copied to GHE and merged. Closing. Thanks for all the help here!