sketch on init.app #10
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hi ian,
i want to bundle k scripts with k.app in the BMFS.
this will stop monitor from auto loading k because there will be more than one file in bmfs.
i propose auto loading a program if it is called 'init.app'
this PR is a sketch (not tested) of how it would look - i think it's simpler code, too. feel free to reject the PR if it's not right and implement it properly
also, here is a patch to baremetal.sh i'd need in order to bundle k (as init.app) with k scripts and data:
it's hard to hack on baremetal with the mutiple repos and the ./baremetal.sh setup script. this is the main reason i'm posting a patch to baremetal.sh and not a PR. had you ever thought of condensing everything into the one repo?
best,
jack