Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: no verbose tar and avoid ls #323

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/driverbuilder/builder/templates/debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 0 additions & 1 deletion pkg/driverbuilder/builder/templates/opensuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 0 additions & 1 deletion pkg/driverbuilder/builder/templates/sles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 0 additions & 1 deletion pkg/driverbuilder/builder/templates/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading