Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedfc6df

Browse files
authored
Update BUILD.md
add mesa code download.
1 parent7edb6fc commitedfc6df

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

‎config/BUILD.md‎

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,28 @@ For self-hosting WSLG check use this instructions https://github.com/microsoft/w
2020
git clone https://github.com/microsoft/pulseaudio-mirror.git vendor/pulseaudio -b working
2121
```
2222

23-
2.Create theVHD:
23+
2.Download themesasource code.
2424

25-
2.1 From the parent directory where you cloned`wslg` clone`hcsshim` which contains`tar2ext4` and will be used to create the system distro vhd
25+
```
26+
wget https://cblmarinerstorage.blob.core.windows.net/sources/core/mesa-21.0.0.tar.xz
27+
tar -xf mesa-21.0.0.tar.xz -C vendor
28+
mv vendor/mesa-21.0.0 vendor/mesa
29+
```
30+
31+
3. Create the VHD:
32+
33+
3.1 From the parent directory where you cloned`wslg` clone`hcsshim` which contains`tar2ext4` and will be used to create the system distro vhd
2634
```
2735
git clone --branch v0.8.9 --single-branch https://github.com/microsoft/hcsshim.git
2836
```
2937

30-
2.1 From the parent directory build andexport the docker image:
38+
3.1 From the parent directory build andexport the docker image:
3139
```
3240
sudo docker build -t system-distro-x64 ./wslg --build-arg SYSTEMDISTRO_VERSION=`git --git-dir=wslg/.git rev-parse --verify HEAD` --build-arg SYSTEMDISTRO_ARCH=x86_64
3341
sudo dockerexport`sudo docker create system-distro-x64`> system_x64.tar
3442
```
3543

36-
2.3 Create the system distro vhd using`tar2ext4`
44+
3.3 Create the system distro vhd using`tar2ext4`
3745

3846
```bash
3947
cd hcsshim/cmd/tar2ext4
@@ -42,15 +50,15 @@ For self-hosting WSLG check use this instructions https://github.com/microsoft/w
4250

4351
This will create system distro image`system.vhd`
4452

45-
3. Change the system distro:
53+
4. Change the system distro:
4654

47-
3.1 Before replace the system distro you will need to shutdown WSL
55+
4.1 Before replace the system distro you will need to shutdown WSL
4856

4957
```
5058
wsl --shutdown
5159
```
5260

53-
3.2 By default the system distro is located at`C:\ProgramData\Microsoft\WSL\system.vhd`
61+
4.2 By default the system distro is located at`C:\ProgramData\Microsoft\WSL\system.vhd`
5462

5563
If you want to use the system distro from a different path you can change the .wslconfig.
5664

@@ -61,10 +69,10 @@ For self-hosting WSLG check use this instructions https://github.com/microsoft/w
6169
systemDistro=C:\\tmp\\system.vhd
6270
```
6371

64-
3.3 After update the system distro you should be able to launch any user distro and WSL will automatically launch the system distro along with the user distro.
72+
4.3 After update the system distro you should be able to launch any user distro and WSL will automatically launch the system distro along with the user distro.
6573

6674

67-
4. Inspecting the system distro:
75+
5. Inspecting the system distro:
6876

6977
If the system distro isn't working correctly or you need to inspect what is running inside the system distro you can do:
7078
@@ -74,6 +82,7 @@ For self-hosting WSLG check use this instructions https://github.com/microsoft/w
7482
7583
For instance you should check if weston and pulse audio are running inside the system distro using `ps -ax | grep weston` or `ps -ax | grep pulse`
7684
You should see something like this:
85+
7786
```bash
7887
root@DESKTOP-7LJ03SK:/mnt/d# ps -ax | grep weston
7988
11 ? Sl 6:51 /usr/local/bin/weston --backend=rdp-backend.so --xwayland --shell=rdprail-shell.so --log=/mnt/wslg/weston.log

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp