mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-16 21:05:32 +03:00
Update Building in Windows 10 with Linux Subsystem.md
Added some code to fix an error where CHMOD does not work with NTFS
This commit is contained in:
parent
5afbcaae12
commit
28f50f4fa3
1 changed files with 13 additions and 1 deletions
|
@ -41,6 +41,18 @@ Mount MS windows C drive and clone iNav
|
||||||
You are ready!
|
You are ready!
|
||||||
You now have a folder called inav in the root of C drive that you can edit in windows
|
You now have a folder called inav in the root of C drive that you can edit in windows
|
||||||
|
|
||||||
|
### If you get a cloning error
|
||||||
|
|
||||||
|
On some installations, you may see the following error:
|
||||||
|
```
|
||||||
|
Cloning into 'inav'...
|
||||||
|
error: chmod on /mnt/c/inav/.git/config.lock failed: Operation not permitted
|
||||||
|
fatal: could not set 'core.filemode' to 'false'
|
||||||
|
```
|
||||||
|
|
||||||
|
You can fix this with by remounting the drive using the following commands
|
||||||
|
1. `sudo umount /mnt/c`
|
||||||
|
2. `sudo mount -t drvfs C: /mnt/c -o metadata`
|
||||||
|
|
||||||
## Building (example):
|
## Building (example):
|
||||||
|
|
||||||
|
@ -92,4 +104,4 @@ This error can be triggered by a Windows PATHs included in the Linux Subsystem.
|
||||||
1. Restart WSL and Windows preferably
|
1. Restart WSL and Windows preferably
|
||||||
1. `cd build`
|
1. `cd build`
|
||||||
1. `cmake ..`
|
1. `cmake ..`
|
||||||
1. `make {TARGET}` should be working again
|
1. `make {TARGET}` should be working again
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue