mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Add an update script
This commit is contained in:
parent
c439d044b0
commit
8251ec1d6c
15
scripts/update.sh
Normal file
15
scripts/update.sh
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user