update last message

master
shark 5 years ago
parent f6ba50fc42
commit 75d99e0acb

@ -13,7 +13,6 @@ else
git clone https://github.com/bedrocklinux/bedrocklinux-userland git clone https://github.com/bedrocklinux/bedrocklinux-userland
cd bedrocklinux-userland cd bedrocklinux-userland
fi fi
#git checkout 0.7beta -q #no longer needed, paradigm made master have the latest commit
current_version="$(awk '{print$3}' </bedrock/etc/bedrock-release)" current_version="$(awk '{print$3}' </bedrock/etc/bedrock-release)"
newest_version="$(awk -F= '/^BEDROCK_VERSION=/{print$2}' Makefile | sed 's/[a-z].*$//')git$(git log | grep -c '^commit')" newest_version="$(awk -F= '/^BEDROCK_VERSION=/{print$2}' Makefile | sed 's/[a-z].*$//')git$(git log | grep -c '^commit')"
echo "Current Version: ${current_version}" echo "Current Version: ${current_version}"
@ -28,15 +27,9 @@ else
exit_success exit_success
fi fi
fi fi
# Start the build process
#if ! grep -q BEDROCK_VERSION Makefile; then # Fix bug with building BusyBox
# sed 's/VERSION/BEDROCK_VERSION/g' Makefile > Makefile-new
# mv Makefile-new Makefile
#fi
make SKIPSIGN=true -j $(nproc) BEDROCK_VERSION="${newest_version}" make SKIPSIGN=true -j $(nproc) BEDROCK_VERSION="${newest_version}"
/bedrock/libexec/busybox sh "bedrock-linux-${newest_version}-$(uname -m).sh" --force-update /bedrock/libexec/busybox sh "bedrock-linux-${newest_version}-$(uname -m).sh" --force-update
# Maybe clean up here in the future
echo "Syncing to disk..." echo "Syncing to disk..."
sync sync
echo "If there were no errors up to this point, then everything has gone smoothly. Ignore the following 2 errors!" echo "If there were no errors up to this point, then everything has gone smoothly. Ignore any following errors!"
exit_success exit_success
Loading…
Cancel
Save