From 8251ec1d6c67c7be807f115cecdfc791a58801bd Mon Sep 17 00:00:00 2001 From: Ribbon Date: Wed, 8 Nov 2023 01:24:33 +0000 Subject: [PATCH] Add an update script --- scripts/update.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/update.sh diff --git a/scripts/update.sh b/scripts/update.sh new file mode 100644 index 000000000..ef245cb91 --- /dev/null +++ b/scripts/update.sh @@ -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 \ No newline at end of file