summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-07 18:54:29 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-21 01:32:23 +0000
commit1978766f41afbedd11b956a8fe4a1abe3c236503 (patch)
tree6c16a3ea22c637efb7fb0035d188f9940a2d37cc /meta-phosphor/common/recipes-devtools/python/python-bottle.inc
parentb1a91377a8352bb0f450e8bedbd5082d88066083 (diff)
downloadtalos-openbmc-1978766f41afbedd11b956a8fe4a1abe3c236503.tar.gz
talos-openbmc-1978766f41afbedd11b956a8fe4a1abe3c236503.zip
bottle: pull in vanilla python email modules
Bottle depends on a utility module in the email package included with the Python distro to parse rfc1123 and rfc850 timestamps. A flash footprint optimized package: python-email-utils was introduced in 5baa96f51, and Bottle made to depend on that. OpenBMC doesn't currently support a minimal distro flavor, so reverting the original optimization seems to bring some benefits: 1 - reduced comprehensional complexity 2 - reduced maintenance burden 3 - possibility for bottle recipe upstreaming to meta-oe Until OpenBMC offers a low footprint distro feature, flash constrained machines should make these types of optimizations elsewhere. The size increase for the witherspoon target was as follows (~268k): 18661376 obmc-phosphor-image-witherspoon-20180607204542.rootfs.squashfs-xz 18935808 obmc-phosphor-image-witherspoon-20180607205204.rootfs.squashfs-xz Tested: Built witherspoon image and verified REST API functional Change-Id: Ib417df2c71feea6d46d783605d690e0362176992 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-devtools/python/python-bottle.inc')
-rw-r--r--meta-phosphor/common/recipes-devtools/python/python-bottle.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-devtools/python/python-bottle.inc b/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
index 129c059d5..159ded660 100644
--- a/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
+++ b/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
@@ -14,7 +14,7 @@ inherit setuptools
inherit pypi
RDEPENDS_${PN} += " \
- python-email-utils \
+ python-email \
python-json \
python-netserver \
"
OpenPOWER on IntegriCloud