zip-image: factor out with common

Notably, only include the strictly necessary files in the archive, otherwise
initrd's from other builds might get in the way.
This commit is contained in:
Ciro Santilli
2018-08-09 22:25:52 +01:00
parent f5a997b2b6
commit b675cf35cb
6 changed files with 11 additions and 10 deletions

1
common
View File

@@ -62,6 +62,7 @@ common_setup() {
common_qemu_guest_custom_dir="${common_build_dir}/qemu-custom"
common_host_dir="${common_buildroot_out_dir}/host"
common_images_dir="${common_buildroot_out_dir}/images"
common_qcow2_file="${common_images_dir}/rootfs.ext2.qcow2"
common_gem5_run_dir="${common_out_arch_dir}/gem5/${common_run_id}"
common_m5out_dir="${common_gem5_run_dir}/m5out"
common_trace_txt_file="${common_m5out_dir}/trace.txt"