wsl-openwrt-err
内容简述
内容
wsl-Ubuntu24.04 中编译 openwrt 报错
1 | rm -rf /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/boot /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/* /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/lib/apk/db/*.post-install* /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/info/*.postinst* /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/lists/* /home/csjtl/openwrt/build_dir/target-x86_64_musl/root-x86/var/lock/*.lock |
wsl 中 echo $path
, path 包含了 Windows 的 path。
1 | /run/user/1002/fnm_multishells/567_1719028171392/bin:/home/csjtl/.local/share/fnm:/run/user/1002/fnm_multishells/564_1719028171380/bin:/home/csjtl/.local/share/fnm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/VanDyke Software/SecureFX/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files (x86)/VMware/VMware Workstation/bin/:/mnt/c/Program Files/Eclipse Adoptium/jdk-17.0.7.7-hotspot/bin:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Other/platform-tools:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Program Files (x86)/Microsoft SQL Server/150/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/150/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/150/DTS/Binn/:/mnt/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/mnt/c/Program Files/dotnet/:/mnt/c/Users/tl851/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/tl851/AppData/Roaming/npm:/mnt/c/Users/tl851/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/tl851/AppData/Local/:/mnt/c/Program Files (x86)/GnuWin32/bin:/mnt/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/160/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/160/DTS/Binn/:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/usbipd-win/:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/tl851/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/tl851/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/tl851/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Program Files/mingw-w64/bin:/mnt/c/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin:/mnt/c/Users/tl851/AppData/Roaming/npm |
插入代码
1 | ┌[csjtl🐙MSI-B360]➜(/mnt/c/Users/tl851/OneDrive/Desktop) |
1 | [boot] |