Fix a bug where building usbip-vudc would ignore devcontainer config

This commit is contained in:
Oystein Tveit
2023-07-05 15:18:47 +02:00
parent 0147605ec2
commit 447cffe9ba
2 changed files with 3 additions and 3 deletions

@ -1,7 +1,7 @@
{
"name": "USBIP DKMS Module",
"id": "usbip-dkms",
"version": "0.2.2",
"version": "0.2.3",
"description": "DKMS module for USBIP",
"installsAfter": [

@ -1,7 +1,7 @@
#!/usr/bin/env bash
KERNEL_VERSION="${KERNELVERSION:-}"
ENABLE_VUDC="${ENABLEVUDC:-}"
ENABLE_VUDC="${ENABLEVUDC:-false}"
set -euo
@ -30,7 +30,7 @@ export CONFIG_USBIP_CORE=m
export CONFIG_USBIP_VHCI_HCD=m
export CONFIG_USBIP_HOST=m
if [ -n "$ENABLE_VUDC" ]; then
if [ "$ENABLE_VUDC" != "false" ]; then
export CONFIG_USBIP_VUDC=m
sed -i "s|# ||g" "/usr/src/usbip-${KERNEL_VERSION}/dkms.conf"
fi