mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Integrated building of posix images as a container
Issues: Some intermediate .elf files should not go into final container image. Perhaps those will be built with different or no extension
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user