theypsilon / Update_All_MiSTer

All-in-one script for updating your MiSTer
GNU General Public License v3.0
607 stars 27 forks source link

Feature request: ability for user to specify an arbitrary post-script for update_all.sh to run #74

Closed c0d3h4x0r closed 2 years ago

c0d3h4x0r commented 2 years ago

Every time update_all.sh pulls down a Linux update, it blows away the changes performed by make_linux_nice.sh, which must subsequently be re-run.

It would be super-helpful if update_all.sh could be configured by the user to always automatically run an arbitrary post-script of the user's choosing, so that I could have it always automatically chain make_linux_nice.sh at the end of an update.

c0d3h4x0r commented 2 years ago

So apparently there's a Linux feature introduced earlier this year that I can maybe use to accomplish what I want instead:

- Execute /media/fat/linux/user-startup.sh script upon boot if found. This is for additional user supplied customizations. Try to keep changes in linux.img minimal, so linux update won't affect your settings.

I'll give this a try, and if it works, I'll retract this feature request.

theypsilon commented 2 years ago

Yes, that should work. Thanks for contributing. I'll close this for now.