BlueOS
BlueOS copied to clipboard
Boot fix stage 2
This tests our install.sh scripts against blueos_startup_update to ensure the current code state will never require a subsequent reboot after blueos_startup_update
@patrickelectric @joaoantoniocardoso this is what I had in mind for making sure our install scripts match our blueos_startup_update. I am open for suggestions and/or better alternatives.
One thing I'm worried about is that our startup.json.default should always match what is actually in blueos. so I don't think it should be manipulated by blueos_startup_update during the first boot.
this is the actual test part
I think this idea works, as it contemplates the requirements for the config file:
- allow users to customize
- protect our configuration from users' change
- keep up-to-date
I think the next thing we should do is to generate the file in the tree as a git pre-commit client-side hook that runs whenever the script changes.
@joaoantoniocardoso @JoaoMario109 @patrickelectric how do you guys feel about this? I personally don't like it but I think it is helpful...