Skip to content

Commit

Permalink
delete using_share_folder flag
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiaoyu <[email protected]>
  • Loading branch information
xyyy1420 committed Aug 6, 2024
1 parent 490e908 commit eeff9ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion checkpoint_scripts/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ base_config:
mem_bind: 0
bootloader: "opensbi"
all_in_one_workload: true
using_share_folder: true
boot_for_test: true
archive_id_config:
gcc_version: "gcc12.2.0"
Expand Down
13 changes: 6 additions & 7 deletions checkpoint_scripts/generate_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,12 @@ def __init__(self, config_path) -> None:
}
}

if self.__base_config["using_share_folder"]:
self.global_config["archive_buffer_layout"].update({
"linux": os.path.join(self.__buffer_path, "build", "linux"),
"opensbi": os.path.join(self.__buffer_path, "build", "opensbi"),
"rootfs": os.path.join(self.__buffer_path, "build", "rootfs"),
"gcpt": os.path.join(self.__buffer_path, "build", "gcpt")
})
self.global_config["archive_buffer_layout"].update({
"linux": os.path.join(self.__buffer_path, "build", "linux"),
"opensbi": os.path.join(self.__buffer_path, "build", "opensbi"),
"rootfs": os.path.join(self.__buffer_path, "build", "rootfs"),
"gcpt": os.path.join(self.__buffer_path, "build", "gcpt")
})

def __generate_buffer_folder_name(self):
"""using compile and env info generate archive id"""
Expand Down

0 comments on commit eeff9ad

Please sign in to comment.