mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 10:41:35 +01:00
Don't compile qemu when gem5 is used
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
images_dir="$1"
|
||||
cd "$images_dir"
|
||||
f=rootfs.ext2
|
||||
if [ -f "$f" ]; then
|
||||
"${HOST_DIR}/bin/qemu-img" convert -f raw -O qcow2 "$f" "${f}.qcow2"
|
||||
exe="${HOST_DIR}/bin/qemu-img"
|
||||
if [ -f "$exe" ] && [ -f "$f" ]; then
|
||||
"$exe" convert -f raw -O qcow2 "$f" "${f}.qcow2"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user