mirror of
https://github.com/h7x4/usbip-dkms-devcontainer-feature.git
synced 2025-07-09 14:02:46 +02:00
Print dkms build log on failure
This commit is contained in:
features/usbip-dkms
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "USBIP DKMS Module",
|
"name": "USBIP DKMS Module",
|
||||||
"id": "usbip-dkms",
|
"id": "usbip-dkms",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"description": "DKMS module for USBIP",
|
"description": "DKMS module for USBIP",
|
||||||
|
|
||||||
"installsAfter": [
|
"installsAfter": [
|
||||||
|
@ -36,5 +36,12 @@ if [ -n "$ENABLE_VUDC" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dkms add -m usbip -v "${KERNEL_VERSION}"
|
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}"
|
dkms install -m usbip -v "${KERNEL_VERSION}"
|
||||||
|
Reference in New Issue
Block a user