Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 205f206

Browse files
authored
Merge pull request #44 from Smittyvb/doc-updates
Add some missing bits to the documentation
2 parents 7d19a05 + 54ed10d commit 205f206

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

packages/buildroot/README.md

+18-7
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,25 @@ The goal of this build process is to produce a `filesystem` folder containing a
4040

4141
2. Build the `filesystem` folder:
4242

43-
```bash
44-
make
45-
```
43+
```bash
44+
make
45+
```
46+
47+
...
48+
49+
At this point you can go for a walk, it will take a bit of time :turtle:
4650

47-
...
51+
...
4852

49-
At this point you can go for a walk, it will take a bit of time :turtle:
53+
3. The `filesystem` folder should be available on the host at `build/filesystem`. Copy it to `packages/runtime/filesystem`:
5054

51-
...
55+
```bash
56+
# (on the host)
57+
rm -r ../runtime/filesystem/
58+
cp -r build/filesystem ../runtime/
59+
```
5260

53-
The `filesystem` folder should be available on the host at `build/filesystem`
61+
Update the `bzimageUrl` ID in the `index.html` file of the runtime:
62+
```bash
63+
jq -r '.fsroot | map(select(.[0] == "bzImage"))[0][6]' < ../runtime/filesystem/filesystem.json
64+
```

packages/runtime/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
1. Go the `http://localhost:3000?boot=true`
2626

27-
2. Once the boot is completed, clear the cache running:
28-
`echo 3 > /proc/sys/vm/drop_caches && echo 3 > /proc/sys/kernel/printk && reset`
27+
2. Once the boot is completed, clear the cache and start psql (the runtime assumes psql is running when it loads a snapshot):
28+
`echo 3 > /proc/sys/vm/drop_caches && echo 3 > /proc/sys/kernel/printk && reset && psql -U postgres`
2929

3030
3. Save the state to a file clicking the `Save state to file` button
3131

0 commit comments

Comments
 (0)