e91d321a | 19-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Call processImage from inotify
Change-Id: I0b748f93f8e34552cef67616317c28660284ac99 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
368cfcbb | 27-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Change inotify to look at IN_CLOSE_WRITE flag
The inotify is triggering before the image is done downloading. This leads to a corrupted tar. Look at the IN_CLOSE_WRITE flag instead.
Change-Id: Ib9d
Change inotify to look at IN_CLOSE_WRITE flag
The inotify is triggering before the image is done downloading. This leads to a corrupted tar. Look at the IN_CLOSE_WRITE flag instead.
Change-Id: Ib9d3f97ae3c48960a0bdf84250a66d1f8254a7f5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
49739431 | 21-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Sanitize FileName string
For security reasons, the FileName string must be sanitized. Resolves openbmc/openbmc#1331
Change-Id: I90aeda32421caf16e6919cffb71dd0450e4cf868 Signed-off-by: Gunnar Mills
Sanitize FileName string
For security reasons, the FileName string must be sanitized. Resolves openbmc/openbmc#1331
Change-Id: I90aeda32421caf16e6919cffb71dd0450e4cf868 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
3a482f67 | 20-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create image dir if needed
Change-Id: If1c1a62292027ae98d1ba1c6d62bd72d0ae8a307 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
a733df5f | 11-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create error log on fail
Use elog to create error log on fail.
Change-Id: I27863f5102f56fa04defbab1831c462bf152f771 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
a927de48 | 06-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Call tftp
Call tftp using fork/exec. The file is downloaded to /tmp/images/ which the inotify daemon will monitor.
Change-Id: Id69fea183503dd95181acb9bcdb57c1e6d7bb070 Signed-off-by: Gunnar Mills <
Call tftp
Call tftp using fork/exec. The file is downloaded to /tmp/images/ which the inotify daemon will monitor.
Change-Id: Id69fea183503dd95181acb9bcdb57c1e6d7bb070 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
ef4781fe | 19-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add Common.FilePath interface
Change-Id: I4de5b1a4d16e427de84b88365c0136ddd2b42deb Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
cebd1021 | 17-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Pass in the version purpose.
Since this will handle both the host and the bmc images, need to be able to pass in the version purpose.
Change-Id: If09b3b81d9dc6166c61a4780ddaed7e1bdc021d0 Signed-off
Pass in the version purpose.
Since this will handle both the host and the bmc images, need to be able to pass in the version purpose.
Change-Id: If09b3b81d9dc6166c61a4780ddaed7e1bdc021d0 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
392f294d | 12-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Move base version code to phosphor-bmc-code-mgmt
The version code should handle both the host and the bmc images. Moving from openpower-pnor-code-mgmt to phosphor-bmc-code-mgmt. This code has been r
Move base version code to phosphor-bmc-code-mgmt
The version code should handle both the host and the bmc images. Moving from openpower-pnor-code-mgmt to phosphor-bmc-code-mgmt. This code has been reviewed before, the only changes are renaming to "namespace phosphor" and renaming the files to version from version_host_software_manager. I also remove setting the Purpose to Host.
Change-Id: I80849ce680beee0d09de686bab8fb53152996476 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
059e2335 | 12-Apr-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
image manager: add inotify watch
Add an inotify watch to the known software image location.
Hook the inotify fd with sd-event, so that on callback, version d-bus objects can be created based on the
image manager: add inotify watch
Add an inotify watch to the known software image location.
Hook the inotify fd with sd-event, so that on callback, version d-bus objects can be created based on the newly added software image.
Resolves openbmc/openbmc#1444.
Change-Id: I5c460f820c8d3a851b8ddc969f26d38870c36991 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
7f160bc8 | 11-Apr-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Rename version_software_manager_main.cpp
In view of a single process that watches image upload locations via inotify, and creates software version d-bus objects (both default and via user-supplied i
Rename version_software_manager_main.cpp
In view of a single process that watches image upload locations via inotify, and creates software version d-bus objects (both default and via user-supplied images), renaming version_software_manager_main.cpp to image_manager_main.cpp.
Change-Id: Id12deefd9377f7ba4ce4889f26f2f32d01cc5d38 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
701e021c | 03-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Initial Download manager
This is the basic download manager that implements xyz/openbmc_project/Common/TFTP.interface.yaml
Change-Id: I429b0f2fbce3864dee5051af727b88b3a3fe1227 Signed-off-by: Gunnar
Initial Download manager
This is the basic download manager that implements xyz/openbmc_project/Common/TFTP.interface.yaml
Change-Id: I429b0f2fbce3864dee5051af727b88b3a3fe1227 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
9e408ea1 | 28-Mar-2017 |
Gunnar Mills <gmills@us.ibm.com> |
phosphor-bmc-code-mgmt README
Change-Id: I4783aca83d361889cc360a864ff7fed0ef2f894e Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
af4759e8 | 13-Feb-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Optimize namespace with using VersionInherit alias
Change-Id: Ie82359b1cc2eb042672743a1336da044e70ac1d9 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
32159fb9 | 31-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Use phosphor-dbus-interfaces directly
Change-Id: I6d65c4a582115a1280ed705eb33f6c354d001f21 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
89484c79 | 27-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Set Activation properties on application startup
Change-Id: I8a7f2be4dc3321b70d55a4c8b624a36800ff48b2 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
ed92dfa4 | 27-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add Software Activation Interface
Change-Id: I922d6cfe31b6a20bd228167c5e12def69d5ef113 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
a673ee0f | 23-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Determine Version properties on application startup
Change-Id: I38c323aa9dd0ec37c5ae7a1f60f61da207ce7c1c Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
edb04dc5 | 18-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add a .gitignore to phosphor-bmc-code-mgmt
This will ignore all the automake output files
Change-Id: Iaeb573dabd0366ebc8f16841af12136153924d4f Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
01a323b5 | 18-Jan-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add base support for BMC code management
This is the starting code needed to build the application.
Change-Id: Ied9beee1ea4f12805622c17c99c01b89c3f74d50 Signed-off-by: Gunnar Mills <gmills@us.ibm.c
Add base support for BMC code management
This is the starting code needed to build the application.
Change-Id: Ied9beee1ea4f12805622c17c99c01b89c3f74d50 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
063f3074 | 18-Jan-2017 |
Patrick Williams <patrick@stwcx.xyz> |
Initial commit |