Skip to content

Commit

Permalink
Merge pull request torvalds#412 from libos-nuse/fix-dpdk-build
Browse files Browse the repository at this point in the history
lkl: fix missing package linux-headers*.deb for dpdk build
  • Loading branch information
thehajime authored Feb 5, 2018
2 parents 255fa93 + 1f9a291 commit c415552
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ do_steps: &do_steps
name: build DPDK
command: |
if [ "$MKARG" = "dpdk=yes" ]; then
sudo apt-get update && sudo apt-get install -y linux-headers-$(uname -r)
sudo apt-get update
if ! sudo apt-get install -y linux-headers-$(uname -r) ; then
cd /lib/modules && sudo ln -sf 4.4.0-97-generic `uname -r` && \
cd /home/ubuntu/project
fi
cd tools/lkl && ./scripts/dpdk-sdk-build.sh;
fi
- run:
Expand Down

0 comments on commit c415552

Please sign in to comment.