Created
June 27, 2021 14:57
-
-
Save neomatrixcode/a83787b61ddece8f6e81406e0dfc7a6f 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 | |
## SPDX-License-Identifier: GPL-2.0 | |
# Copyright(c) Shuah Khan <[email protected]> | |
# | |
# License: GPLv2 | |
# Example usage: stable_rc_checkout.sh <stable-rc e.g 5.2> | |
mkdir -p stable_rc | |
cd stable_rc | |
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-$1.y | |
cd linux-$1.y | |
#cp /boot/<currentconfig> .config # update script | |
make -j2 all | |
rc=$?; if [[ $rc !=0 ]]; then exit $rc; fi | |
su -c "make modules_install install" | |
echo Ready for reboot test of Linux-$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment