Skip to content

Commit

Permalink
add an ls to help with debugging when in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Bond <lbond@secureworks.com>
  • Loading branch information
EXONER4TED authored and poiana committed Oct 20, 2022
1 parent 956c3cb commit 0d14024
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/driverbuilder/builder/templates/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tar -xf data.tar.*
{{end}}

cd /tmp/kernel-download/usr/src/
ls -altr
sourcedir=$(find . -type d -name "{{ .KernelHeadersPattern }}" | head -n 1 | xargs readlink -f)

{{ if .BuildModule }}
Expand All @@ -39,4 +40,4 @@ modinfo {{ .ModuleFullPath }}
cd {{ .DriverBuildDir }}/bpf
make KERNELDIR=$sourcedir
ls -l probe.o
{{ end }}
{{ end }}

0 comments on commit 0d14024

Please sign in to comment.