FlorentRevest / linux-kernel-vscode

Reference setup for Linux kernel development in VSCode
GNU General Public License v2.0
185 stars 15 forks source link

tasks: accept symbolic links for `local*.sh` #5

Closed matttbe closed 4 months ago

matttbe commented 4 months ago

First, thank you for this extension! I'm now trying VSCode for the kernel dev, and this extension seems to help to set up stuff! (I'm using a docker image to build the kernel in a separate dir and start the VM, but I should be able to use it thanks to a local*.sh script :) )

In some cases, it might be useful to use symbolic links for the local*.sh files, e.g. to use one from another repository where the file can be tracked and even shared.

Switching from -type to -xtype will do the trick: -xtype checks the type of the file that -type does not check.

FlorentRevest commented 4 months ago

Nice! Thank you :D