diff options
author | Iru Cai <mytbk920423@gmail.com> | 2021-03-29 13:03:08 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2021-03-29 13:47:51 +0800 |
commit | 4a6ab0cec7c3d5acdd20c5dbe1466bd06388e63f (patch) | |
tree | a3f1b62c8ae023a075b9646e9ef78414f1902457 | |
parent | f48291dec27b4c95f8678c63a5e0ed55d5b29e4b (diff) | |
download | liveusb-builder-4a6ab0cec7c3d5acdd20c5dbe1466bd06388e63f.tar.xz |
add testusb.sh
-rwxr-xr-x | testusb.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testusb.sh b/testusb.sh new file mode 100755 index 0000000..bed799b --- /dev/null +++ b/testusb.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Copyright (C) 2021 Iru Cai <mytbk920423@gmail.com> +# SPDX-License-Identifier: GPL-3.0-or-later + +# Test the live USB in QEMU, you need to run this script as root +qemu-system-x86_64 -enable-kvm -cpu host -m 2G -drive "file=$1,format=raw" |