-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild_mythtv.txt
39 lines (27 loc) · 1.37 KB
/
build_mythtv.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Resize root partition
=====================
if required: resize root partition
1. take a note of a starting sector of a partition to resize (on SD image on my Git it is 374784)
2. start fdisk on mmc card device /dev/<disk> (usually /dev/mmcblk0)
3. remove the partition and recreate a new, larger partition primary starting from sector 374784. and with desired new size
4. write new prtitions in fdisk with keeping partition signature. exit fdisk
5. resize filesystem to new part.size by resize2fs /dev/<part> (usually /dev/mmcblk0p2)
6. reboot
Run full system update
======================
pacman -Sy
pacman -Su
reboot
Install basic build packages
============================
pacman -S base-devel mc sudo fakeroot binutils tmux patch wget rsync unzip git
Install MythTV build dependencies
============================
pacman -S exiv2 fftw git help2man lame libass libavc1394 libbluray libiec61883 libcdio libcec libmariadbclient libsamplerate soundtouch libvpx libzip lirc perl-dbd-mysql perl-io-socket-inet6 perl-libwww perl-xml-simple perl-xml-xpath pkg-config python-setuptools python-future python-lxml python-mysqlclient python-requests python-simplejson qt5-script qt5-webkit taglib x264 yasm libpulse libxinerama python-dateutil
Build mythtv
============
-adjust parallel make jobs in /etc/makepkg.conf
-clone package sources
-cd mythtv-base nd run:
makepkg --skipinted
happy building!