@@ -148,25 +148,6 @@ ln -s /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
148148ln -s /opt/vc/bin/vcgencmd /usr/bin/vcgencmd
149149ln -s /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
150150
151- # On The Fly Patch
152- if [ " $PATCH " = " volumio" ]; then
153- echo " No Patch To Apply"
154- else
155- echo " Applying Patch ${PATCH} "
156- PATCHPATH=/${PATCH}
157- cd $PATCHPATH
158- # Check the existence of patch script
159- if [ -f " patch.sh" ]; then
160- sh patch.sh
161- else
162- echo " Cannot Find Patch File, aborting"
163- fi
164- cd /
165- rm -rf ${PATCH}
166- fi
167- rm /patch
168-
169-
170151# ## Allo I2S Firmware
171152
172153
@@ -186,15 +167,40 @@ echo "Allo modules and firmware installed"
186167
187168echo " Adding license info"
188169
189- echo " You may royalty free distribute object and executable versions of the TI component libraries, and its derivatives
170+ echo " You may royalty free distribute object and executable versions of the TI component libraries, and its derivatives
190171(“derivative” shall mean adding the TI component library to an audio signal flow of a product to make a new audio signal chain without
191172changing the algorithm of the TI component library), to use and integrate the software with any other software, these files are only
192- licensed to be used on the TI PCM 5142 DAC IC , but are freely distributable and re-distributable , subject to acceptance of the license
193- agreement, including executable only versions of the TI component libraries, or its derivatives, that execute solely and exclusively with
173+ licensed to be used on the TI PCM 5142 DAC IC , but are freely distributable and re-distributable , subject to acceptance of the license
174+ agreement, including executable only versions of the TI component libraries, or its derivatives, that execute solely and exclusively with
194175the PCM5142 Audio DAC and not with Audio DAC Devices manufactured by or for an entity other than TI, and (ii) is sold by or for an original
195176 equipment manufacturer (“OEM”) bearing such OEM brand name and part number.
196177" > /lib/firmware/alloPiano/LICENSE
197178
179+ # On The Fly Patch
180+ if [ " $PATCH " = " volumio" ]; then
181+ echo " No Patch To Apply"
182+ else
183+ echo " Applying Patch ${PATCH} "
184+ PATCHPATH=/${PATCH}
185+ cd $PATCHPATH
186+ # Check the existence of patch script
187+ if [ -f " patch.sh" ]; then
188+ sh patch.sh
189+ else
190+ echo " Cannot Find Patch File, aborting"
191+ fi
192+ cd /
193+ rm -rf ${PATCH}
194+ fi
195+ rm /patch
196+
197+ echo " Installing winbind here, since it freezes networking"
198+ apt-get update
199+ apt-get install -y winbind libnss-winbind
200+ echo " Cleaning APT Cache"
201+ rm -f /var/lib/apt/lists/* archive*
202+ apt-get clean
203+
198204# First Boot operations
199205
200206echo " Signalling the init script to re-size the volumio data partition"
0 commit comments