Advertisement
Guest User

tbs linux

a guest
Mar 31st, 2021
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.90 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. # first time only
  4. # 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
  5. # git clone https://github.com/tbsdtv/media_build.git
  6. # git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
  7. # wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
  8. # sudo tar -jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
  9. #
  10. # after running sudo apt update && sudo apt full-upgrade, and rebooting
  11.  
  12. sudo rm -rf /lib/modules/$(uname -r)/kernel/drivers/media/*
  13. cd ~/media
  14. git pull
  15. cd  ../media_build
  16. git pull
  17. echo "media_build updated"
  18. make dir DIR=../media
  19. make allyesconfig
  20. make -j`nproc`
  21. make -j$((`nproc`+1))
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement