Add an update script

This commit is contained in:
Ribbon 2023-11-08 01:24:33 +00:00
parent c439d044b0
commit 8251ec1d6c

15
scripts/update.sh Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Update Ubuntu/Debian-based systems
sudo apt update || true
sudo apt upgrade -y || true
# Update the Rust toolchain
rustup update || true
# Update the build system source and submodules
make pull
# Update the relibc folder timestamp
touch relibc
# Update relibc
make prefix
# Update recipes
make rebuild