Created
March 15, 2019 06:07
-
-
Save TheRinger/923d574a678a8766a5c3947a2abd2590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Linux 5.0 | |
apt clean && apt autoclean && apt update && apt install fakeroot | |
echo " | |
-----BEGIN PGP SIGNATURE----- | |
iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAlx8YYIeHHRvcnZhbGRz | |
QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGs5MIAIiVVIH+C0St60vf | |
nzfGpVe+BETe199UveM4Ic2FWMk97ZhSk5Oj6HwYY9vnw4iwoRCZIO5B8Dna4nxY | |
8XjiwxpJRVLq+7Y1d61O6NHo6UjFHF0GMzyeJeNNUq+mCISxZdLsqzsszt9X09mA | |
GoJjZ0UMw2Tkz/s3Ie4MumKASc+y2CjJc0ZVEZlJsMaqMJLIfUn/CrTzHBivmuqJ | |
sV6ZkP4as6h87bI9mi79p8pzvVooCRJ10cg4A/DHG4t2bEAIlB4t5dfZRFzVMhVo | |
cCPRk9tiA9y4I3zBjcuAZMODcBpfdWoQK8TqYw2cDS3LEDMgnEdIH6snMYHr69z0 | |
kZJjA2A= | |
=Qs0l | |
-----END PGP SIGNATURE----- | |
" | |
#> linux-5.0.tar.gz.sign | |
#wget https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-5.0.tar.gz | |
#wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.0.tar.xz && xz -v -d linux-5.0.tar.gz && wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.0.tar.sign | |
#gpg --verify linux-5.0.tar.gz.sign | |
#gzip -d linux-5.0.tar | |
#tar xvf linux-5.0.tar | |
cd linux-5.0 | |
#cp -v /boot/config-$(uname -r) .config | |
#cp -v /opt/config/default_current_config .config | |
#chmod a+x debian/rules | |
#chmod a+x debian/scripts/* | |
#chmod a+x debian/scripts/misc/* | |
#fakeroot debian/rules clean | |
#fakeroot debian/rules editconfigs | |
#make xconfig | |
#make localmodconfig | |
make -j $(nproc) | |
make modules_install | |
make install | |
update-initramfs -c -k 5.0.0 | |
#update-grub | |
#reboot | |
#uname -mrs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment