BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

Boot fix stage 2

Open Williangalvani opened this issue 10 months ago • 4 comments

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

Williangalvani avatar Apr 15 '24 17:04 Williangalvani

@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.

Williangalvani avatar Apr 15 '24 17:04 Williangalvani

this is the actual test part

Williangalvani avatar Apr 15 '24 17:04 Williangalvani

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 avatar Apr 15 '24 17:04 joaoantoniocardoso

@joaoantoniocardoso @JoaoMario109 @patrickelectric how do you guys feel about this? I personally don't like it but I think it is helpful...

Williangalvani avatar Apr 24 '24 14:04 Williangalvani