FW: Question about WEBUI

李 星星 ur.starklee at gmail.com
Fri Aug 14 17:55:30 AEST 2020



发件人: 李 星星 <ur.starklee at gmail.com>
日期: 2020年8月14日 星期五 15:54
收件人: 李 星星 <ur.starklee at gmail.com>
主题: Re: Question about WEBUI

hi,
       I try to customize UI design for OpenBmc and I import phosphor-webui and bmcweb package into my github. Then I change BMCWEB_INSECURE_DISABLE_XSS_PREVENTION and BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION turned on. But when I try to rebuild my image and there is an error as below
[cid:image001.png at 01D67253.08FFEB50]
[cid:image002.png at 01D67253.08FFEB50][cid:image003.png at 01D67253.08FFEB50] [cid:image004.png at 01D67253.08FFEB50] . I don’t know why and I cant find any helpful link to solve it. Can you provide some help?

发件人: 李 星星 <ur.starklee at gmail.com>
日期: 2020年8月12日 星期三 16:38
收件人: "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
主题: Question about WEBUI

Hi,
       I am stark and a newbee for openBMC development. Our company are planning to develop a customized software to manage BMC for our template. I am trying to use openBMC as framework and I have set up all required environment.
For now I have set up a system based on Ubantu 16.0.4 and download all packages. Then I successfully build an image based on Romulus and use qemu to start it. And I can open localhost:2443 to manage it. All the steps have been done as Github procedures.
But as requirement we want to customize the WebUI and I try to do as Github. I put phosphor-webui in build directory. And use npm start it. My npm version is 6.14.7. But when I try to login into my image with special IP address. It failed and show cors-xml problem and server unreachable.
After that I find original code in /home/bmc/openbmc/build/tmp/work/all-openbmc-linux/phosphor-webui/1.0+gitAUTOINC+2e1eec80de-r1/git/, and I try to change its logo picture. But it did not work. Can you give some advices how to do that? I can’t find some useful  tutorials.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200814/c766cc08/attachment-0001.htm>


More information about the openbmc mailing list