slitaz-arm diff sat-rpi @ rev 163

Add pileds: a small tool to help using leds with SliTaz and the RPi
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 05:21:19 2014 +0200 (2014-05-04)
parents 01f9556204ee
children 9b1e4f9cf134
line diff
     1.1 --- a/sat-rpi	Thu May 01 09:53:34 2014 +0200
     1.2 +++ b/sat-rpi	Sun May 04 05:21:19 2014 +0200
     1.3 @@ -174,17 +174,19 @@
     1.4  			status
     1.5  		fi
     1.6  		
     1.7 -		# TazBerry
     1.8 -		echo -n "Copying utility: TazBerry..."
     1.9 -		cp -f ${rpi}/tazberry ${rootfs}/usr/bin
    1.10 +		# TazBerry, Piboot, Pileds, ...
    1.11 +		for tool in tazberry piboot pileds
    1.12 +		do
    1.13 +			echo -n "Copying utility: $tool"
    1.14 +			cp -f ${rpi}/${tool} ${rootfs}/usr/bin
    1.15 +			status
    1.16 +		done
    1.17 +		
    1.18 +		# CGI Plugins
    1.19 +		echo -n "Copying CGI/adm plugins..."
    1.20  		cp -a ${rpi}/cgi-adm/* ${rootfs}/var/www/adm
    1.21  		status
    1.22  		
    1.23 -		# PiBoot
    1.24 -		echo -n "Copying bootloader: PiBoot..."
    1.25 -		cp -f ${rpi}/piboot ${rootfs}/sbin
    1.26 -		status
    1.27 -		
    1.28  		# Kernel at last
    1.29  		. $cache/linux-*-arm/receipt
    1.30  		kvers="$VERSION"
    1.31 @@ -225,7 +227,9 @@
    1.32  		# FBtft drivers for small touchscreens such PiTFT, PiScreen
    1.33  		if [ "$fbtft" ] && [ ! -d "${kernel}/drivers/video/fbtft" ]; then
    1.34  			cd ${kernel}/drivers/video
    1.35 -			git clone git://github.com/notro/fbtft.git
    1.36 +			#git clone git://github.com/notro/fbtft.git
    1.37 +			git clone https://github.com/adafruit/adafruit-rpi-fbtft
    1.38 +			mv adafruit-rpi-fbtft fbtft
    1.39  			cd ${kernel}
    1.40  			echo 'source "drivers/video/fbtft/Kconfig"' >> drivers/video/Kconfig
    1.41  			echo 'obj-y += fbtft/' >> drivers/video/Makefile