mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
23 lines
311 B
Python
23 lines
311 B
Python
#
|
|
# Build script to autogenerate and compile a container image
|
|
#
|
|
# Copyright (C) 2009 B Labs
|
|
#
|
|
import os
|
|
from os.path import join
|
|
|
|
Import('environment')
|
|
|
|
cwd = os.getcwd()
|
|
|
|
os.chdir("/opt/codezero/conts/linux")
|
|
|
|
os.system("scons")
|
|
|
|
image = []
|
|
image.append(File("container.elf"))
|
|
|
|
os.chdir(cwd)
|
|
|
|
Return('image')
|