Compare commits

..

No commits in common. "8d81df2e3fabf6cce3e071ac66ba8fae7bd72036" and "f20f95ca0a4eb32e651c993e7db9771b35a968d7" have entirely different histories.

6 changed files with 31 additions and 17 deletions

View File

@ -67,12 +67,14 @@ include mk/virtualbox.mk
# CI image target # CI image target
ci-img: FORCE ci-img: FORCE
$(MAKE) INSTALLER_FLAGS= \ $(MAKE) INSTALLER_FLAGS= \
build/coreboot.elf.gz \
build/harddrive.bin.gz \ build/harddrive.bin.gz \
build/livedisk.iso.gz \ build/livedisk.iso.gz \
build/harddrive-efi.bin.gz \ build/harddrive-efi.bin.gz \
build/livedisk-efi.iso.gz build/livedisk-efi.iso.gz
rm -rf build/img rm -rf build/img
mkdir -p build/img mkdir -p build/img
cp "build/coreboot.elf.gz" "build/img/redox_$(IMG_TAG)_coreboot.elf.gz"
cp "build/harddrive.bin.gz" "build/img/redox_$(IMG_TAG)_harddrive.bin.gz" cp "build/harddrive.bin.gz" "build/img/redox_$(IMG_TAG)_harddrive.bin.gz"
cp "build/livedisk.iso.gz" "build/img/redox_$(IMG_TAG)_livedisk.iso.gz" cp "build/livedisk.iso.gz" "build/img/redox_$(IMG_TAG)_livedisk.iso.gz"
cp "build/harddrive-efi.bin.gz" "build/img/redox_$(IMG_TAG)_harddrive-efi.bin.gz" cp "build/harddrive-efi.bin.gz" "build/img/redox_$(IMG_TAG)_harddrive-efi.bin.gz"

@ -1 +1 @@
Subproject commit 5b64cb01f9d18206497f687a1d51d264b9a785f3 Subproject commit 97bd2f68464b5a266e50cadfc30405ce3802127f

View File

@ -187,7 +187,7 @@ freebsd()
archLinux() archLinux()
{ {
echo "Detected Arch Linux" echo "Detected Arch Linux"
packages="cmake fuse git gperf perl-html-parser nasm wget texinfo bison flex po4a" packages="cmake fuse git gperf perl-html-parser nasm wget texinfo bison flex"
if [ "$1" == "qemu" ]; then if [ "$1" == "qemu" ]; then
packages="$packages qemu" packages="$packages qemu"
elif [ "$1" == "virtualbox" ]; then elif [ "$1" == "virtualbox" ]; then
@ -286,7 +286,7 @@ fedora()
fi fi
fi fi
# Use rpm -q <package> to check if it's already installed # Use rpm -q <package> to check if it's already installed
PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser po4a; do rpm -q $pkg > /dev/null || echo $pkg; done) PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser; do rpm -q $pkg > /dev/null || echo $pkg; done)
# If the list of packages is not empty, install missing # If the list of packages is not empty, install missing
COUNT=$(echo $PKGS | wc -w) COUNT=$(echo $PKGS | wc -w)
if [ $COUNT -ne 0 ]; then if [ $COUNT -ne 0 ]; then
@ -422,10 +422,10 @@ usage()
# Looks for and installs a cargo-managed binary or subcommand # Looks for and installs a cargo-managed binary or subcommand
############################################################# #############################################################
cargoInstall() { cargoInstall() {
if [[ "`cargo install --list`" != *"$1 v$2"* ]]; then if [[ "`cargo install --list`" != *"$1"* ]]; then
cargo install --force --version "$2" "$1" cargo install $1
else else
echo "You have $1 version $2 installed already!" echo "You have $1 installed already!"
fi fi
} }
@ -449,6 +449,8 @@ rustInstall() {
echo "Please manually uninstall multirust and any other versions of rust, then re-run bootstrap." echo "Please manually uninstall multirust and any other versions of rust, then re-run bootstrap."
exit exit
fi fi
else
echo "Old multirust not installed, you are good to go."
fi fi
# If rustup is not installed we should offer to install it for them # If rustup is not installed we should offer to install it for them
if [ -z "$(which rustup)" ]; then if [ -z "$(which rustup)" ]; then
@ -465,6 +467,7 @@ rustInstall() {
echo "export PATH=\"\$HOME/.cargo/bin:\$PATH\"" >> ~/.bashrc echo "export PATH=\"\$HOME/.cargo/bin:\$PATH\"" >> ~/.bashrc
# source the variables so that we can execute rustup commands in the current shell # source the variables so that we can execute rustup commands in the current shell
source ~/.cargo/env source ~/.cargo/env
rustup default nightly
else else
echo "Rustup will not be installed!" echo "Rustup will not be installed!"
fi fi
@ -476,8 +479,22 @@ rustInstall() {
echo "or install rustc nightly manually (not recommended) via:" echo "or install rustc nightly manually (not recommended) via:"
echo "\#curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly" echo "\#curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly"
exit exit
fi
# If the system has rustup installed then update rustc to the latest nightly
if hash 2>/dev/null rustup; then
rustup update nightly
rustup default nightly
fi
# Check to make sure that the default rustc is the nightly
if echo "$(rustc --version)" | grep -viq "nightly" ;then
echo "It appears that you have rust installed, but it"
echo "is not the nightly version, please either install"
echo "the nightly manually (not recommended) or run this"
echo "script again, accepting the rustup install"
echo
else else
echo "Your rust install looks good!" echo "Your rust install looks good!"
echo
fi fi
} }
@ -521,6 +538,9 @@ boot()
{ {
echo "Cloning gitlab repo..." echo "Cloning gitlab repo..."
git clone https://gitlab.redox-os.org/redox-os/redox.git --origin upstream --recursive git clone https://gitlab.redox-os.org/redox-os/redox.git --origin upstream --recursive
rustInstall
cargoInstall cargo-config
cargoInstall xargo
echo "Cleaning up..." echo "Cleaning up..."
rm bootstrap.sh rm bootstrap.sh
echo echo
@ -572,12 +592,6 @@ do
esac esac
done done
banner
rustInstall
cargoInstall cargo-config 0.1.1
cargoInstall xargo 0.3.20
if [ "$update" == "true" ]; then if [ "$update" == "true" ]; then
git pull upstream master git pull upstream master
git submodule update --recursive --init git submodule update --recursive --init
@ -585,6 +599,7 @@ if [ "$update" == "true" ]; then
exit exit
fi fi
banner
if [ "Darwin" == "$(uname -s)" ]; then if [ "Darwin" == "$(uname -s)" ]; then
osx "$emulator" osx "$emulator"
else else
@ -620,5 +635,3 @@ fi
if [ "$dependenciesonly" = false ]; then if [ "$dependenciesonly" = false ]; then
boot boot
fi fi
echo "Redox bootstrap complete!"

View File

@ -137,7 +137,6 @@ ptyd = {}
#python = {} # getaddrinfo #python = {} # getaddrinfo
#qemu = {} #qemu = {}
randd = {} randd = {}
ramfs = {}
readline = {} readline = {}
redoxerd = {} redoxerd = {}
redoxfs = {} redoxfs = {}

@ -1 +1 @@
Subproject commit 84535c9062c8f977e0d7c76ade8a3c751982b4d6 Subproject commit 4b8ed90022acb009428473ad6cc599b1929b9b05

2
relibc

@ -1 +1 @@
Subproject commit 1a0edd8eeb2e3aae407a91795696461f475b445e Subproject commit 928b18b3062e4fe797d6dd548823e9e65fc2d508