Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # first time only
- # sudo apt-get install build-essential make automake autoconf gcc bzip2 zip unzip linux-headers-`uname -r` dvb-apps patchutils libproc-processtable-perl comerr-dev g++ krb5-multidev libc6-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls28-dev libkrb5-dev librtmp-dev libssl-dev libtool
- # git clone https://github.com/tbsdtv/media_build.git
- # git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
- # wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
- # sudo tar -jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
- #
- # after running sudo apt update && sudo apt full-upgrade, and rebooting
- sudo rm -rf /lib/modules/$(uname -r)/kernel/drivers/media/*
- cd ~/media
- git pull
- cd ../media_build
- git pull
- echo "media_build updated"
- make dir DIR=../media
- make allyesconfig
- make -j`nproc`
- make -j$((`nproc`+1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement