summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/PKGBUILD
blob: 62fb35d6a2912c8ef66b3ec2d296bb2af0f19c0b (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
pkgname=LinHES-config
pkgver=8.4
pkgrel=5
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
pkgdesc="Install and configure your system"
depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
	 'sg3_utils' 'nmbscan' 'system-templates' 'rsync' 'python-parted'
	 'python2-pexpect' 'python-netifaces' 'xcursor-vanilla-dmz-aa'
	 'python-iplib' 'sudo' 'setserial' 'udevil' 'balance' 'runit-scripts>=8.3-4' )
arch=('i686' 'x86_64')

source=(mv_install.py 09_mythvantge_runit_grub
	mv_config.py
	myth_user_call
	file_time_offset.py
	install_proxy.sh
	install_functions.sh
	systemconfig.sh
	install_db_chroot.sh
	restore_default_settings.sh
	myth_settings_wrapper.sh
    xconfig.sh
    xconfig.cron
	timezip.py
	soundconfig.sh
	LinHES-release
	MythVantage.sh
	create_master.sh
	build_diskless.sh
	networkconfig.sh
	autocard.py
	udev_link.sh
	restore_km_db_chroot.sh
	README
	mv_advanced.py
	mv_common.py
	mv_ddns.py
	mv_ir.py
	mv_misc.py
	mv_network.py
	mv_screensaver.py
	mv_smolt.py
	mv_software.py
	mv_webuser.py
	mv_hostype.py
	mv_supplemental.py
	mv_vnc.py
	mv_fileshare.py
	mv_locale.py
    systemconfig.py
    pinkNoise_3s.wav
	myth_user_call.py
	mythvantage.cfg
	config-sudo.rules
	hdhr.conf blacklist_nouveau.conf  blacklist_pcspkr.conf
	print_xorg_res.py backend_control.sh
	plymouth_config.py
	discover_infinitv.py)

backup=(etc/mythvantage.cfg)
install=config.install

package() {
    mkdir -p $pkgdir/etc
    mkdir -p $pkgdir/usr/share/mythtv/themes/default
    install -D -m0755 09_mythvantge_runit_grub $pkgdir/etc/grub.d/09_mythvantge_runit_grub


    MVDIR=$pkgdir/usr/MythVantage
    mkdir $pkgdir/etc/profile.d
    install -m 0755 MythVantage.sh  $pkgdir/etc/profile.d/MythVantage.sh
    mkdir -p $MVDIR/bin
    mkdir -p $MVDIR/etc

    #copy in all the installer specific stuff
    install -m 0700 myth_user_call.py $MVDIR/bin/myth_user_call
    install -m 0755 install_proxy.sh  $MVDIR/bin/install_proxy.sh
    install -m 0755 install_functions.sh  $MVDIR/bin/install_functions.sh
    install -m 0755 systemconfig.sh  $MVDIR/bin/systemconfig.sh
    install -m 0755 xconfig.sh  $MVDIR/bin/xconfig.sh
    install -m 0644 xconfig.cron  $MVDIR/bin/xconfig.cron
    install -m 0755 install_db_chroot.sh $MVDIR/bin/install_db_chroot.sh
    install -m 0755 restore_km_db_chroot.sh $MVDIR/bin/restore_km_db_chroot.sh
#    install -m 0755 restore_default_settings.sh $MVDIR/bin/restore_default_settings.sh
    install -m 0755 myth_settings_wrapper.sh $MVDIR/bin/myth_settings_wrapper.sh
    install -m 0755 soundconfig.sh $MVDIR/bin/soundconfig.sh
    install -Dm 0755 pinkNoise_3s.wav $pkgdir/usr/share/sounds/pinkNoise_3s.wav
    install -m 0755 networkconfig.sh $MVDIR/bin/networkconfig.sh
    install -m 0755 create_master.sh $MVDIR/bin/create_master.sh
    install -m 0755 build_diskless.sh $MVDIR/bin/build_diskless.sh
    install -m 0755 timezip.py $MVDIR/bin/timezip.py
    install -m 0755 autocard.py $MVDIR/bin/autocard.py
    install -m 0755 udev_link.sh $MVDIR/bin/udev_link.sh
    install -m 0755 mv_config.py $MVDIR/bin/mv_config.py
    install -m 0755 mv_install.py $MVDIR/bin/mv_install.py
    install -m 0755 mv_advanced.py  $MVDIR/bin/
    install -m 0755 mv_common.py $MVDIR/bin/
    install -m 0755 mv_ddns.py  $MVDIR/bin/
    install -m 0755 mv_ir.py  $MVDIR/bin/
    install -m 0755 mv_misc.py  $MVDIR/bin/
    install -m 0755 mv_network.py  $MVDIR/bin/
    install -m 0755 mv_screensaver.py  $MVDIR/bin/
    install -m 0755 mv_smolt.py  $MVDIR/bin/
    install -m 0755 mv_software.py  $MVDIR/bin/
    install -m 0755 mv_webuser.py $MVDIR/bin/
    install -m 0755 mv_hostype.py $MVDIR/bin/
    install -m 0755 mv_supplemental.py $MVDIR/bin/
    install -m 0755 mv_vnc.py $MVDIR/bin/
    install -m 0755 mv_fileshare.py $MVDIR/bin/
    install -m 0755 mv_locale.py $MVDIR/bin/
    install -m 0755 systemconfig.py $MVDIR/bin/
    install -m 0755 print_xorg_res.py $MVDIR/bin/
    install -m 0755 plymouth_config.py $MVDIR/bin/
    install -m 0755 discover_infinitv.py $MVDIR/bin/
    install -m 0755 backend_control.sh $MVDIR/bin/
    install -m 0755 mythvantage.cfg $pkgdir/etc/

    #README file displayed on install
    install -m 0755 README $MVDIR/README

    mkdir -p $pkgdir/usr/bin
    install -m 0755 file_time_offset.py $pkgdir/usr/bin/file_time_offset.py
    #Copy in the branding stuff
    install -m 0755 LinHES-release $pkgdir/etc/LinHES-release

    #sudo rules
    mkdir -p $pkgdir/etc/sudoers.d/
    chmod 750 $pkgdir/etc/sudoers.d/
    chown -R root:root $pkgdir/etc/sudoers.d
    install -o root -g root -m 0750 config-sudo.rules $pkgdir/etc/sudoers.d/config_sudo

    #sysctrl conf
    install -o root -g root  -D -m 0755 hdhr.conf $pkgdir/etc/sysctl.d/hdhr.conf

    #modules blacklist files
    install -o root -g root  -D -m 0755 blacklist_pcspkr.conf $pkgdir/etc/modprobe.d/blacklist_pcspkr.conf
    install -o root -g root  -D -m 0755 blacklist_nouveau.conf $pkgdir/etc/modprobe.d/blacklist_nouveau.conf
}

md5sums=('17d9dd5a097fbbd4dae75dff8e2677ff'
         '51525188ac6f6034422c5d71d0c84408'
         'f6e9dd7bc6cf0aaa3bd203dab4cb79b9'
         '2596460462cf6c889cf8f95485537b20'
         '985891a43f7c4c983eb2a362162f1a0f'
         '261ba62515edd7a13d46cbeb1b0eadca'
         '6821fdfacf2aac44275200d3acaadb56'
         'f73d6d6f98839e900cb6685bf5dc4eae'
         'b8becf69d4309b938ceba3178c799270'
         '2a7f3b34e522acfd08283b86c8926aba'
         'b596d2e3779a434435bc0f0277b1ba3e'
         '9ecf4cb455aee12372832b1e7700988c'
         'f0376c98a7986897406d393186c0365e'
         '157e73d0f90d7b306aba8f5921aeedd3'
         '1f58c0393a131f4a8f9a84b3fe08a7e4'
         'eef9b882ecb70648a8f253f85b73a274'
         '5f890ea9bda6aef652d2560ca19dac07'
         'ab2aa42c2947148c2b1cac0ade6d1d55'
         'd429b59d3cfb37b0624c6a4a71a7c2c0'
         'f6a935c35123fdc7c259c01cbc794a64'
         'ccf7b6a8d0ccf2360a57384b45437e58'
         'd3490e93f313bbbcbc6c3693c56b9c17'
         'e959df98947eb0d2ea64ff616b61aab5'
         '2506860a416e1988934225d80d501c2c'
         'c0549457750c4f8e8038d904a0f3012a'
         'de33273f975b803a0b576cbfc0730de8'
         'b845de3e05c1734cce4b9ac5e8f1baaf'
         '02b4378b17bca6bebdcc2258a80dfc6b'
         '8b7dce4a3a0a281fa6656aa8781a648e'
         '4b10fff21a0274f950f97f2b61e92463'
         '824e49d9b01fed295c704ab68908b464'
         'fe5e31b833cc6707209e9d656b6eb53c'
         '336f08aed2e3c0b9fd09563933d54735'
         '68ca2af6fb9dba32ed668b9ae1564a01'
         '38665330aeb3a8bdf7be24857fe035bb'
         '80685e047993b00161be29e3580f3a40'
         'b79fe6ef82b0b5e71d62806e773ed556'
         '3cb673adb83b6afa52cffaa621b9d96b'
         '781f161a79c3188a31c8615b8258b241'
         '888a6c57f272d9fa3e77e216a421562b'
         'cdd5008ee77e67c1d51ad73a24612485'
         '2596460462cf6c889cf8f95485537b20'
         'dc3c5270691a62600475705f4cb78b56'
         '4804aa93aaad3dfcfff08cd9ffd68836'
         '0fa6fffd87f350380d45f1f8a5b7babe'
         '6ec39b010c0ed8901ea896c7e153d330'
         '3866086e6af5e3528a66eff492f2f4dd'
         'c9279fa095af624ee3d9bc75d3328360'
         '02cf69074d2bbacef05fa3e451af9af3'
         '10354854c29d894d3598639eaa1df72c'
         '7acbd2064db905e76372a0618b24a6d9')