Skip to content

Commit

Permalink
Update boot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Feb 24, 2023
1 parent b69216a commit b073b38
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion developer/boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,21 @@ To work on the lua scripts, it is useful to
* Install helloSystem to a virtual hard disk
* In the installed system, edit `/boot/loader.conf` to contain `beastie_disable=NO` and increase the timeout

Possibly there is also a way to use a lua interpreter on the booted system to work on and debug the lua scripts, but this is currently unknown.
Possibly there is also a way to use a lua interpreter on the booted system to work on and debug the lua scripts, but this is currently unknown. The following does not seem to work:

```
% lua54 ./loader.lua
lua54: ./core.lua:447: attempt to index a nil value (global 'loader')
stack traceback:
./core.lua:447: in field 'isSystem386'
./core.lua:56: in local 'recordDefaults'
./core.lua:525: in main chunk
[C]: in function 'require'
./cli.lua:31: in main chunk
[C]: in function 'require'
./loader.lua:36: in main chunk
[C]: in ?
```

The `/boot` directory also contains files referring to 4th, those are all unused, misleading, and can be removed. Besides files with `4th` in their name this also includes files ending in `.rc`.

Expand Down

0 comments on commit b073b38

Please sign in to comment.