summaryrefslogtreecommitdiffstats
path: root/pydownloadmgr
Commit message (Collapse)AuthorAgeFilesLines
* Port to python 3CamVan Nguyen2018-03-121-7/+11
| | | | | | | | | | Port code to python 3 yet remain backward compatible to python 2. This port is in preparation for yocto 2.4 upgrade. Partially resolves openbmc/openbmc#2920 Change-Id: If174ce9444bde4e21fb086764f4def017e423201 Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
* Add basename for file name in download managerGunnar Mills2017-10-241-2/+3
| | | | | | | | | | | | Added getting the basename for the output file name in download manager. This is to prevent any security holes that would let the user out of the FLASH_DOWNLOAD_PATH dir. (e.g. passing a file name of ../etc/shadow) Resolves openbmc/openbmc#1898 Change-Id: Ie33fe56599e86c29da4b2eae8ef070f0866d054c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* python: add vim modelinesBrad Bishop2016-09-231-0/+2
| | | | | Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* download_mgr: pep8 fixesBrad Bishop2016-09-061-55/+58
| | | | | Change-Id: I7707fa2d76e4ebc07729e5c95038ef57e2ded626 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove workbook dependency from download mgrBrad Bishop2016-07-101-3/+3
| | | | | | | | The download path for temporary files isn't a property of the board. Hardcode /tmp into the application. Change-Id: Ib375ddee9a4c50aa8817980562fbd5b1191b5542 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Defer busname ownership until init completeBrad Bishop2016-07-101-1/+1
| | | | | | | | | Avoid race conditions where applications expecting an object to be present upon recipt of NameOwnerChanged find that the object hasn't been created yet. Change-Id: I4236a3898055a84b00e1eaf37f32e0192b683a0f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Install python workbook to well-known locationBrad Bishop2016-06-101-5/+1
| | | | | | | This removes the need to pass the system configuration to all the scripts. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Reorganize directory structureBrad Bishop2016-06-104-0/+92
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements. A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud