Created
April 2, 2013 13:37
-
-
Save denji/5292255 to your computer and use it in GitHub Desktop.
Build Linux Kernel
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
apt-get install build-essential | |
git clone http://evilpiepirate.org/git/linux-bcache.git | |
git checkout origin/bcache-3.2 | |
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git | |
git checkout v3.2.28 | |
diff -Nru -x .git ./linux-stable/ ./linux-bcache/ > bcache.patch | |
patch -p1 < /usr/src/bcache.patch | |
cp /boot/config-3.2.0-0.bpo.4-amd64 /usr/src/fafafa/linux-3.2.33/.config | |
echo CONFIG_BCACHE=y >> .config | |
make-kpkg --jobs 32 --initrd kernel_image | |
apt-get install libblkid-dev | |
git clone http://evilpiepirate.org/git/bcache-tools.git | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment