aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Delmar Davis <ddavis3@jaguarlandrover.com>2015-05-06 23:32:39 +0000
committerDonald Delmar Davis <ddavis3@jaguarlandrover.com>2015-05-06 23:32:39 +0000
commit1afbae126b4597a3928a325df4f6c41b30591b80 (patch)
tree57db3c6cca71d067725d67baed24fa23f165a7b6
parent281762a14f0f6679cfa5d56933a47250100f0573 (diff)
still not working
-rwxr-xr-xloader.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/loader.py b/loader.py
index 0eab54c..594a6d2 100755
--- a/loader.py
+++ b/loader.py
@@ -80,6 +80,7 @@ def check_environment(d):
retval |= Flags.NO_IMAGES.value
subprocess.call(["umount","/mnt/obs"])
+ subprocess.call(["mkdir","/mnt/obs"])
try:
subprocess.check_call(["mount","depot:/home/public/OBS_Downloads","/mnt/obs"])
@@ -229,8 +230,8 @@ def load_bmap_image(d,directory):
try:
proc = subprocess.Popen(
cmd,
- stdout=subprocess.PIPE,
-# stderr='/dev/null',
+ stdout=output,
+ stderr=subprocess.PIPE,
universal_newlines=True,
)
@@ -385,7 +386,7 @@ while True:
archive_image(d,'/mnt/local/')
continue
if choice=="obs":
- load_image(d,'/mnt/obs/snapshots/tizen/ivi-3.0/latest/images/atom/')
+ load_image(d,'/mnt/obs/snapshots/')
continue
else: