23.05.2016, 20:57
Kannst gerne auch deinen bisherigen stand mal hochladen, dann können wir zusammen basteln. Kleines changelog aufbauen damit wir wissen was der andere gemacht hat (mit kleinem workaround). Würde mich freuen dir helfen zu können
#!/bin/bash
# free some space
sudo apt-get --yes --force-yes remove --purge minecraft-pi scratch wolfram-engine debian-reference-* epiphany-browser* sonic-pi supercollider*
sudo apt-get --yes --force-yes clean
rm -r /home/pi/python_games/
# cleanup desktop
sudo rm -f /home/pi/Desktop/debian-reference-common.desktop /home/pi/Desktop/epiphany-browser.desktop /home/pi/Desktop/minecraft-pi.desktop /home/pi/Desktop/pistore.desktop /home/pi/Desktop/python-games.desktop /home/pi/Desktop/scratch.desktop /home/pi/Desktop/sonic-pi.desktop /home/pi/Desktop/wolfram-language.desktop /home/pi/Desktop/wolfram-mathematica.desktop
# Initialize the radio module
sudo apt-get --yes --force-yes install python-smbus
# Send click events to X windows
sudo apt-get --yes --force-yes install xdotool
# Install usbmount
sudo apt-get --yes --force-yes install usbmount
# navit gpsd and tools
sudo apt-get --yes --force-yes install gpsd gpsd-clients espeak navit
# cleanup apt-get
sudo apt-get --yes --force-yes autoremove
# Install wiringPI
cd /home/pi/
git clone git://git.drogon.net/wiringPi
cd wiringPi
git pull origin
./build
cd ../
# Build kodi from git
Vorher die "source.list" um einen Eintrag mit wheezy erweitern. Also die erste Zeile kopieren und "jessie" durch "wheezy" ersetzen.
sudo apt-get --yes --force-yes install git build-essential equivs gdebi
mkdir /home/pi/build
cd /home/pi/build
git clone git://github.com/xbmc/xbmc.git
equivs-build control
sudo gdebi kodi-build-deps_1.0_all.deb
cd /home/pi/build/xbmc
git clean -xfd && git reset --hard
./bootstrap
sudo make -C tools/depends/target/crossguid PREFIX=/usr
CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" FFMPEG_OPTS="--cpu=cortex-a7" ./configure --disable-gl --enable-gles --with-platform=raspberry-pi --disable-x11 --disable-vaapi --disable-vdpau --disable-avahi --enable-pulse --disable-optical-drive --enable-alsa --enable-player=omxplayer --disable-libcec --enable-libbluetooth
make -j3
sudo make install
# Create system variable
echo "export CARPC_PATH=/opt/carpc/" >> ~/.bashrc
source ~/.bashrc
# some other
sudo cp profile /etc/
sudo cp inittab /etc/
Section: misc
Priority: optional
Standards-Version: 3.9.2
Package: kodi-build-deps
Depends: autoconf, automake, autopoint, autotools-dev, cmake, curl, default-jre, gawk, gperf, libao-dev, libasound2-dev, libass-dev (>= 0.9.8), libavahi-client-dev, libavahi-common-dev, libbluetooth-dev, libbluray-dev (>= 0.7.0), libboost-dev, libboost-thread-dev, libbz2-dev, libcap-dev, libcdio-dev, libcec-dev, libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl-dev, libcwiid-dev, libdbus-1-dev, libfontconfig-dev, libfreetype6-dev, libfribidi-dev, libgif-dev (>= 4.1.6), libgl1-mesa-dev | libgl-dev, libglew-dev, libglu1-mesa-dev | libglu-dev, libiso9660-dev, libjasper-dev, libjpeg-dev, libltdl-dev, liblzo2-dev, libmicrohttpd-dev, libmodplug-dev, libmpcdec-dev, libmpeg2-4-dev, libmysqlclient-dev, libnfs-dev, libogg-dev, libpcre3-dev, libplist-dev, libpng12-dev | libpng-dev, libpulse-dev, librtmp-dev,libsdl2-dev, libsmbclient-dev, libsqlite3-dev, libssh-dev, libssl-dev, libswscale-dev, libtag1-dev (>= 1.8), libtiff5-dev, libtinyxml-dev (>= 2.6.2), libtool, libudev-dev, libusb-dev, libva-dev, libvdpau-dev, libvorbis-dev, libxinerama-dev, libxml2-dev, libxmu-dev, libxrandr-dev, libxslt1-dev, libxt-dev, libyajl-dev (>=2.0), lsb-release, nasm, python-dev, python-imaging, python-support, swig, unzip, uuid-dev, yasm, zip, zlib1g-dev
Description: List of packages that are used to build Kodi.
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
fi
export PATH
if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
# Check if KODI was already started (this script is executed at any getty spawn, LXDE start)
if [ "$(pidof kodi.bin)" ]
then
# process was found
echo "KODI already started"
else
# process not found
echo "KODI is starting..."
/usr/local/lib/kodi/kodi.bin
fi
(23.05.2016, 20:38)cbrauweiler schrieb: [ -> ]Der von Jack ;-)
(24.05.2016, 19:22)harryberlin schrieb: [ -> ]Wie lang bootet das System eigentlich?
(24.05.2016, 20:12)Jack schrieb: [ -> ](23.05.2016, 20:38)cbrauweiler schrieb: [ -> ]Der von Jack ;-)
Also heißt das, dass ich jetzt aufhören kann zu weinen?