Always run make for the edma driver on run farm nodes. This is necessary

because the AWS RDP script updates the kernel version on the manager
instance, so we can't just ship around the edma driver binary.
This commit is contained in:
Sagar Karandikar 2018-09-18 20:22:28 +00:00
parent b892d96357
commit bb60d05379
1 changed files with 2 additions and 0 deletions

View File

@ -314,6 +314,8 @@ class InstanceDeployManager:
run('mkdir -p /home/centos/edma/')
put('../platforms/f1/aws-fpga/sdk/linux_kernel_drivers',
'/home/centos/edma/', mirror_local_mode=True)
with cd('/home/centos/edma/linux_kernel_drivers/edma/'):
run('make')
def unload_edma(self):
self.instance_logger("Unloading EDMA Driver Kernel Module.")