1
0

Fix kernel module name for unit tests

This commit is contained in:
dump_stack() 2020-05-30 12:31:27 +00:00
parent 9b8d4a056e
commit bfae451749
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -6,4 +6,4 @@ docker run --privileged -v $(pwd):/shared -t gen-ubuntu2004-image
RUN="docker run -v $(pwd):/shared -t gen-ubuntu2004-image"
$RUN sh -c 'chmod 644 /boot/vmlinuz && cp /boot/vmlinuz /shared/ubuntu2004.vmlinuz'
$RUN sh -c 'cp /boot/initrd.img /shared/ubuntu2004.initrd'
$RUN sh -c 'cp $(find /lib/modules -name test_static_key_base.ko) /shared/ubuntu2004.ko'
$RUN sh -c 'cp $(find /lib/modules -name test_bpf.ko) /shared/ubuntu2004.ko'