diff --git a/config/configuration.py b/config/configuration.py index cc16989..d8e1912 100644 --- a/config/configuration.py +++ b/config/configuration.py @@ -106,7 +106,7 @@ class configuration: if param2 == "LINUX": self.containers[id].type = "linux" elif param2 == "C0_POSIX": - self.containers[id].type = "cps" + self.containers[id].type = "posix" elif param2 == "BARE": self.containers[id].type = "bare" diff --git a/conts/posix/fs0/SConscript b/conts/posix/fs0/SConscript index 97ba5ff..73da02b 100644 --- a/conts/posix/fs0/SConscript +++ b/conts/posix/fs0/SConscript @@ -5,7 +5,8 @@ import os, sys arch = config.arch -sys.path.append('../../../../') +sys.path.append('../../../') + from config.lib import * from tools.pyelf.lmanext import * diff --git a/scripts/conts/containers.py b/scripts/conts/containers.py index 8d7ed8d..bc79895 100755 --- a/scripts/conts/containers.py +++ b/scripts/conts/containers.py @@ -48,8 +48,11 @@ def source_to_builddir(srcdir, id): # calling specific bare containers def build_posix_container(projpaths, container): images = [] + cwd = os.getcwd() + os.chdir(POSIXDIR) + print POSIXDIR print '\nBuilding the Posix Container...' - scons_cmd = 'scons -f ' + join(POSIXDIR, 'SConstruct') + ' cont=' str(container.id) + scons_cmd = 'scons ' + 'cont=' + str(container.id) print "Issuing scons command: %s" % scons_cmd os.system(scons_cmd) builddir = source_to_builddir(POSIXDIR, container.id)