mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 04:01:36 +01:00
do-release: sketch + a bunch of fixes from bench-all
qemu: monitor command from guest
This commit is contained in:
11
zip-img
11
zip-img
@@ -1,9 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
outfile="out/out.zip"
|
||||
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
|
||||
common_setup
|
||||
outfile="${common_out_dir}/lkmc-${common_sha}.zip"
|
||||
rm -f "$outfile"
|
||||
for arch in x86_64 arm aarch64; do
|
||||
img_dir="out/${arch}/buildroot/images"
|
||||
rm -f "${img_dir}/rootfs.ext2"
|
||||
zip -r "$outfile" "${img_dir}"
|
||||
common_setup
|
||||
rm -f "${common_images_dir}/rootfs.ext2"
|
||||
zip -r "$outfile" "$common_images_dir"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user