redox/scripts/update.sh
2023-11-09 00:17:10 +00:00

18 lines
489 B
Bash

#!/usr/bin/env bash
# Download the bootstrap script
curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh
# Update Ubuntu/Debian-based systems
bash -e bootstrap.sh -d
# Update the Rust toolchain
rustup update || true
# Change the active directory to the root of the build system
cd ..
# Update the build system source and submodules
make pull
# Update the relibc folder timestamp
touch relibc
# Update relibc
make prefix
# Update recipes
make rebuild