Compare commits

..

No commits in common. "b5ec2f556d3ed87baf1a2285524819b40c84c781" and "4789a4a1442a7b307c6c02a3f84b146e074f6588" have entirely different histories.

View File

@ -32,15 +32,14 @@ die() {
} }
#TODO: Add required packages, such as Linux #TODO: Add required packages, such as Linux
package_names=( "binutils" "busybox" "e2fsprogs" "eudev" "linux" "glibc") package_names=( "binutils" "busybox" "e2fsprogs" "eudev" "linux")
package_versions=( "2.39" "1.33.2" "1.46.5" "3.2.11" "6.0.10" "2.36") package_versions=( "2.39" "1.33.2" "1.46.5" "3.2.11" "6.0.10")
package_sources=(\ package_sources=(\
"https://ftp.gnu.org/gnu/binutils/binutils-2.39.tar.xz" \ "https://ftp.gnu.org/gnu/binutils/binutils-2.39.tar.xz" \
"https://www.busybox.net/downloads/busybox-1.33.2.tar.bz2" \ "https://www.busybox.net/downloads/busybox-1.33.2.tar.bz2" \
"https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.5/e2fsprogs-1.46.5.tar.xz" \ "https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.5/e2fsprogs-1.46.5.tar.xz" \
"https://github.com/eudev-project/eudev/releases/download/v3.2.11/eudev-3.2.11.tar.gz" \ "https://github.com/eudev-project/eudev/releases/download/v3.2.11/eudev-3.2.11.tar.gz" \
"https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-6.0.10.tar.gz" \ "https://git.kernel.org/torvalds/t/linux-6.1-rc7.tar.gz" \
"https://ftp.gnu.org/gnu/glibc/glibc-2.36.tar.gz" \
) )
printf "wxyz main profile build script v%s\n\n" "$version" printf "wxyz main profile build script v%s\n\n" "$version"
@ -74,8 +73,7 @@ fi
for (( i=0; i<${#package_names[@]}; i++ )); do for (( i=0; i<${#package_names[@]}; i++ )); do
printf "Downloading %s " "${package_names[$i]}" printf "Downloading %s " "${package_names[$i]}"
printf "v%s... " "${package_versions[$i]}" printf "v%s... " "${package_versions[$i]}"
# "-C -" will prevent curl from downloading files that have already been downloaded if eval curl -s --output-dir "tmp" -LO "${package_sources[$i]}"; then
if eval curl -C - -s --output-dir "tmp" -LO "${package_sources[$i]}"; then
printf "%b\n" "$success_message" printf "%b\n" "$success_message"
else else
printf "%b\n" "$error_message" printf "%b\n" "$error_message"