diff --git a/devicemodel/samples/apl-mrb/launch_uos.sh b/devicemodel/samples/apl-mrb/launch_uos.sh index 468f07155..51c88e4d3 100755 --- a/devicemodel/samples/apl-mrb/launch_uos.sh +++ b/devicemodel/samples/apl-mrb/launch_uos.sh @@ -1,7 +1,15 @@ #!/bin/bash + +kernel_version=$(uname -r | awk -F. '{ printf("%d.%d", $1,$2) }') + ipu_passthrough=0 +# this is the temporal solution before IPU is ready on 4.19 +if [ "$kernel_version" = "4.19" ]; then +ipu_passthrough=1 +fi + function launch_clearlinux() { if [ ! -f "/data/$5/$5.img" ]; then