Created
December 10, 2017 23:33
-
-
Save 0x715C/4389fc1e68431dc2b7533b7ac573c44b to your computer and use it in GitHub Desktop.
This script will download bcache kernel tree and deblob using fsfla scripts.
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 | |
#WARNING - This script is not finished, DO NOT EXECUTE. This may serve as a guide for deblobbing bcache kernel. | |
exit 1 | |
git clone https://evilpiepirate.org/git/bcachefs.git | |
cd bcachefs | |
kver=$(make kernelversion) | |
mkdir ../deblob | |
wget -o ../deblob/deblob-$kver https://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-$kver/deblob-$kver | |
wget -o ../deblob/deblob-check https://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-$kver/deblob-check | |
chmod u+x ../deblob/deblob-* | |
../deblob/deblob-$kver | |
zcat /proc/config.gz > .config | |
make menuconfig | |
make -j(your cores +1 ?) | |
#install to your boot part and update your bootloader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment