diff --git a/pkg/driverbuilder/builder/templates/debian.sh b/pkg/driverbuilder/builder/templates/debian.sh index dbcd1d4e..4f9fc06d 100644 --- a/pkg/driverbuilder/builder/templates/debian.sh +++ b/pkg/driverbuilder/builder/templates/debian.sh @@ -36,7 +36,7 @@ cd /tmp/kernel-download {{ range $url := .KernelDownloadURLS }} curl --silent -o kernel.deb -SL {{ $url }} ar x kernel.deb -tar -xvf data.tar.xz +tar -xf data.tar.xz {{ end }} cd /tmp/kernel-download/ diff --git a/pkg/driverbuilder/builder/templates/opensuse.sh b/pkg/driverbuilder/builder/templates/opensuse.sh index 1874f2cc..fd3de39c 100644 --- a/pkg/driverbuilder/builder/templates/opensuse.sh +++ b/pkg/driverbuilder/builder/templates/opensuse.sh @@ -39,7 +39,6 @@ curl --silent -o kernel-devel.rpm -SL {{ $url }} rpm2cpio kernel-devel.rpm | cpio --quiet --extract --make-directories 2> /dev/null {{end}} cd /tmp/kernel-download/usr/src -ls -alh /tmp/kernel-download/usr/src sourcedir="$(find . -type d -name "linux-*-obj" | head -n 1 | xargs readlink -f)/*/default" cd {{ .DriverBuildDir }} diff --git a/pkg/driverbuilder/builder/templates/sles.sh b/pkg/driverbuilder/builder/templates/sles.sh index d784dfcd..af289efe 100644 --- a/pkg/driverbuilder/builder/templates/sles.sh +++ b/pkg/driverbuilder/builder/templates/sles.sh @@ -41,7 +41,6 @@ do rpm2cpio $rpm | cpio --extract --make-directories done -ls -alh /tmp/kernel-download/usr/src sourcedir="$(find . -type d -name "linux-*-obj" | head -n 1 | xargs readlink -f)/*/default" cd {{ .DriverBuildDir }} diff --git a/pkg/driverbuilder/builder/templates/ubuntu.sh b/pkg/driverbuilder/builder/templates/ubuntu.sh index e784a8ad..25de46bd 100644 --- a/pkg/driverbuilder/builder/templates/ubuntu.sh +++ b/pkg/driverbuilder/builder/templates/ubuntu.sh @@ -40,7 +40,6 @@ 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) cd {{ .DriverBuildDir }}