mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 12:23:15 +01:00
configuration_retrieve pending work done
This commit is contained in:
@@ -91,16 +91,10 @@ class LinuxContainerPacker:
|
||||
f.write(file_body)
|
||||
f.close()
|
||||
|
||||
def pack_container(self):
|
||||
# TODO: Need to sort this, we cannot call it in global space
|
||||
# as configuration file is not presnt in beginning
|
||||
config = configuration_retrieve()
|
||||
|
||||
self.generate_container_lds([self.kernel_image_in, \
|
||||
self.rootfs_elf_in, \
|
||||
def pack_container(self, config):
|
||||
self.generate_container_lds([self.kernel_image_in, self.rootfs_elf_in, \
|
||||
self.atags_elf_in])
|
||||
self.generate_container_assembler([self.kernel_image_in, \
|
||||
self.rootfs_elf_in, \
|
||||
self.generate_container_assembler([self.kernel_image_in, self.rootfs_elf_in, \
|
||||
self.atags_elf_in])
|
||||
os.system(config.user_toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
% (self.container_elf_out, self.container_lds_out, \
|
||||
@@ -158,11 +152,7 @@ class DefaultContainerPacker:
|
||||
f.write(file_body)
|
||||
f.close()
|
||||
|
||||
def pack_container(self):
|
||||
# TODO: Need to sort this, we cannot call it in global space
|
||||
# as configuration file is not presnt in beginning
|
||||
config = configuration_retrieve()
|
||||
|
||||
def pack_container(self, config):
|
||||
self.generate_container_lds(self.images_in)
|
||||
self.generate_container_assembler(self.images_in)
|
||||
os.system(config.user_toolchain + "gcc " + "-nostdlib -o %s -T%s %s" \
|
||||
|
||||
Reference in New Issue
Block a user