Closed edubart closed 7 months ago
The initial implementation followed your first proposal. However the binary ended up being removed over license concerns. Your second suggestion circumvents this problem by moving busybox installation further ahead. I also assume it will install any required licenses into the final image, so I would go with that.
The initial implementation followed your first proposal. However the binary ended up being removed over license concerns.
What about bundling toybox? I think its license is more permissive, it would be used by our init and nothing more. Toybox has the following license:
Toybox is released under the Zero Clause BSD license (SPDX: 0BSD): Zero clause BSD is a public domain equivalent license.
The initial implementation followed your first proposal. However the binary ended up being removed over license concerns.
What about bundling toybox? I think its license is more permissive, it would be used by our init and nothing more. Toybox has the following license:
Toybox is released under the Zero Clause BSD license (SPDX: 0BSD): Zero clause BSD is a public domain equivalent license.
It was a bit incomplete from what I remember such as not having a shell. May be worth a revisit.
It was a bit incomplete from what I remember such as not having a shell. May be worth a revisit.
Last toybox release started providing static binaries for riscv64:
https://landley.net/bin/toybox/0.8.11/toybox-riscv64
Downloaded and tested here, it contains sh
where I can use it as a shell, although I don't think it is feature complete yet, it could be enough to run just init
.
Context
If you install tools and only it, you will have the following error when booting the machine:
This happens because
busybox
was not installed. Multiple users already consulted me how to debug and fix this, the problem is that the error messages does not give a clue thatbusybox
was missing.Possible solutions
I see two solutions:
/bin/cartesi-busybox
(portable solution)..deb
package depend onbusybox-static
package (Ubuntu only solution).