Add missing device image cache directory
N3000 image update is failing due to invalid cache folder Test plan (Debian): [PASS] Build, install and verify N3000 image update Story: 2010087 Task: 45628 Signed-off-by: Davi Frossard <dbarrosf@windriver.com> Change-Id: I6adb378a7de4599cc0b1612692282c7b50e36a85
This commit is contained in:
parent
eb3b253ee5
commit
da037fcd12
|
@ -1,2 +1,3 @@
|
|||
etc/init.d
|
||||
lib/systemd/system
|
||||
var/local/share/applications
|
||||
|
|
|
@ -55,7 +55,9 @@ LOG = log.getLogger(__name__)
|
|||
|
||||
# This is the location where we cache the device image file while
|
||||
# writing it to the hardware.
|
||||
DEVICE_IMAGE_CACHE_DIR = "/usr/local/share/applications/sysinv"
|
||||
DEVICE_IMAGE_CACHE_ROOT_DIR = "/var" if six.PY3 else "/usr"
|
||||
DEVICE_IMAGE_CACHE_DIR = DEVICE_IMAGE_CACHE_ROOT_DIR + \
|
||||
"/local/share/applications/sysinv"
|
||||
|
||||
SYSFS_DEVICE_PATH = "/sys/bus/pci/devices/"
|
||||
FME_PATH = "/fpga/intel-fpga-dev.*/intel-fpga-fme.*/"
|
||||
|
|
Loading…
Reference in New Issue