Help patching rest_dbus.py

guhan balasubramanian guhan.sac at gmail.com
Wed Jul 18 04:10:37 AEST 2018


Hi,

We are trying to make some custom changes to the phosphor web application.
Since the web application is present in meta-phosphor, we were trying to
patch the web application from our own meta layer.

>From the tmp/work/ directory, I was able to create a git patch for the
rest_dbus.py file in phosphor-gevent and phosphor-rest.

But since the source is not included directly, I get a quilt error saying
that there is no file to patch.

The web (bottle) application I see, is included through the following
variable:
SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/wsgi_app"

Can someone please help with what I am missing or the best way to go about
this?

-----
bash-4.2$ tree phosphor-rest/
phosphor-rest/
├── phosphor-rest
│   └── 0001-rest-dbus-test.patch
└── phosphor-rest.bbappend

1 directory, 2 files
bash-4.2$ cat phosphor-rest/phosphor-rest.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/phosphor-rest:"
SRC_URI += " \
     file://0001-rest-dbus-test.patch \
"
bash-4.2$
-------


Thanks,
Guhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180717/41c442b0/attachment.html>


More information about the openbmc mailing list