Skip to content
Snippets Groups Projects
Commit 9d2329f5 authored by Ollrogge's avatar Ollrogge
Browse files

Add build.sh for test kernel modules

parent b7604564
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#make
mkdir -p mnt
sudo mount -o loop ../build/qemu-image.img ./mnt
sudo cp ./mods/plan_same_v.ko ./mnt/root
sudo cp ./mods/random_v.ko ./mnt/root
sudo umount ./mnt
echo "All done. Run ./run_qemu.sh now"
#!/bin/bash
#make
mkdir -p mnt
gcc -static -o test test.c
sudo mount -o loop ../build/qemu-image.img ./mnt
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment