Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some missing bits to the documentation #44

Merged
merged 1 commit into from Apr 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 18 additions & 7 deletions packages/buildroot/README.md
Expand Up @@ -40,14 +40,25 @@ The goal of this build process is to produce a `filesystem` folder containing a

2. Build the `filesystem` folder:

```bash
make
```
```bash
make
```

...

At this point you can go for a walk, it will take a bit of time :turtle:

...
...

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

...
```bash
# (on the host)
rm -r ../runtime/filesystem/
cp -r build/filesystem ../runtime/
```

The `filesystem` folder should be available on the host at `build/filesystem`
Update the `bzimageUrl` ID in the `index.html` file of the runtime:
```bash
jq -r '.fsroot | map(select(.[0] == "bzImage"))[0][6]' < ../runtime/filesystem/filesystem.json
```
4 changes: 2 additions & 2 deletions packages/runtime/README.md
Expand Up @@ -24,8 +24,8 @@

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

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

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

Expand Down