Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
download only newer kernels and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
hede5562 committed May 8, 2022
1 parent 1327a30 commit 63dcf1d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions updatekernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ if [[ -n "$DIR" ]]; then
cp ${DIR}/bzImage .
cp ${DIR}/modules.tar.xz .
elif [[ $VERSION == "ALT" ]]; then
wget https://github.com/cb-linux/breath/releases/latest/download/bzImage.alt -O bzImage -q --show-progress
wget https://github.com/cb-linux/breath/releases/latest/download/modules.alt.tar.xz -O modules.tar.xz -q --show-progress
wget https://github.com/cb-linux/breath/releases/latest/download/bzImage.alt -N -q --show-progress
ln -s bzImage.alt bzImage
wget https://github.com/cb-linux/breath/releases/latest/download/modules.alt.tar.xz -N -q --show-progress
ln -s modules.alt.tar.xz modules.tar.xz
else
wget https://github.com/cb-linux/breath/releases/latest/download/bzImage -O bzImage -q --show-progress
wget https://github.com/cb-linux/breath/releases/latest/download/modules.tar.xz -O modules.tar.xz -q --show-progress
wget https://github.com/cb-linux/breath/releases/latest/download/bzImage -N -q --show-progress
wget https://github.com/cb-linux/breath/releases/latest/download/modules.tar.xz -N -q --show-progress
fi

# Sign the kernel
Expand Down

0 comments on commit 63dcf1d

Please sign in to comment.