This repository was archived by the owner on Sep 19, 2024. It is now read-only.
File tree 2 files changed +20
-9
lines changed
2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,25 @@ The goal of this build process is to produce a `filesystem` folder containing a
40
40
41
41
2 . Build the ` filesystem ` folder:
42
42
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:
46
50
47
- ...
51
+ ...
48
52
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 ` :
50
54
51
- ...
55
+ ` ` ` bash
56
+ # (on the host)
57
+ rm -r ../runtime/filesystem/
58
+ cp -r build/filesystem ../runtime/
59
+ ` ` `
52
60
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
+ ` ` `
Original file line number Diff line number Diff line change 24
24
25
25
1 . Go the ` http://localhost:3000?boot=true `
26
26
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 `
29
29
30
30
3 . Save the state to a file clicking the ` Save state to file ` button
31
31
You can’t perform that action at this time.
0 commit comments