mirror of
https://github.com/h7x4/usbip-dkms-devcontainer-feature.git
synced 2025-06-02 21:03:46 +02:00
Print dkms build log on failure
This commit is contained in:
parent
2d38429921
commit
0147605ec2
features/usbip-dkms
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "USBIP DKMS Module",
|
||||
"id": "usbip-dkms",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"description": "DKMS module for USBIP",
|
||||
|
||||
"installsAfter": [
|
||||
|
@ -36,5 +36,12 @@ if [ -n "$ENABLE_VUDC" ]; then
|
||||
fi
|
||||
|
||||
dkms add -m usbip -v "${KERNEL_VERSION}"
|
||||
dkms build -m usbip -v "${KERNEL_VERSION}"
|
||||
|
||||
if ! dkms build -m usbip -v "${KERNEL_VERSION}"; then
|
||||
>&2 echo "Could not build usbip kernel module"
|
||||
>&2 echo "build/make.log:"
|
||||
cat /var/lib/dkms/usbip/"${KERNEL_VERSION}"/build/make.log >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dkms install -m usbip -v "${KERNEL_VERSION}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user