mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Notably, only include the strictly necessary files in the archive, otherwise initrd's from other builds might get in the way.
11 lines
349 B
Bash
Executable File
11 lines
349 B
Bash
Executable File
#!/usr/bin/env bash
|
|
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
|
|
common_setup
|
|
cd "$common_root_dir"
|
|
outfile="${common_out_dir}/lkmc-${common_sha}.zip"
|
|
rm -f "$outfile"
|
|
for common_arch in x86_64 arm aarch64; do
|
|
common_setup
|
|
zip -r "$outfile" "${common_qcow2_file#${common_root_dir}/}" "${common_linux_image#${common_root_dir}/}"
|
|
done
|