Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
Update tbs-os-module.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CHBMB authored Feb 6, 2017
1 parent 1a105d1 commit 6060e27
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions build_scripts/tbs-os-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,10 @@ cd $D/tbs-os-firmware/
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C $D/bzroot-tbs-os/lib/firmware/

##libreelec Mediabuild
cd $D
mkdir libreelec-drivers
cd libreelec-drivers
wget -nc https://github.com/LibreELEC/dvb-firmware/archive/$LE.tar.gz
tar xvf $LE.tar.gz

#Copy firmware to bzroot
find /lib/modules/$(uname -r) -type f -exec cp -r --parents '{}' $D/bzroot-tbs-os/ \;
find /lib/firmware/ -type f -exec cp -r --parents '{}' $D/bzroot-tbs-os/ \;

#Copy librelec firmware to bzroot
rsync -av $D/libreelec-drivers/dvb-firmware-$LE/firmware/ $D/bzroot-tbs-os/lib/firmware/

#Create /etc/unraid-media to identify type of mediabuild and copy to bzroot
echo base=\"TBS \(Open Source\) \& LibreELEC ATSC-C, DVB-C, DVB-S\(2\) \& DVB-T\(2\)\" > $D/bzroot-tbs-os/etc/unraid-media
echo driver=\"$DATE\" >> $D/bzroot-tbs-os/etc/unraid-media
Expand Down

0 comments on commit 6060e27

Please sign in to comment.