Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cd /usr/src | ||
git clone https://github.com/navit-gps/navit.git | ||
mkdir navit-bin | ||
cd navit-bin/ | ||
cmake -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ ../navit/ | ||
make -j4 | ||
make install | ||
mkdir /home/pi/.navit/ | ||
cp /usr/local/share/navit/navit.xml /home/pi/.navit/ | ||
sed -i '@gui type="internal" enabled="yes">@gui type="internal" enabled="yes" fullscreen="1">@' /home/pi/.navit/navit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages=vim,tmux,wpasupplicant,xserver-xorg,xinit,fluxbo,wireless-tools,x11-xserver-utils,build-essential,cmake,git,librsvg2-bin,libgtk2.0-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
auto lo | ||
iface lo inet loopback | ||
|
||
#auto eth0 | ||
#iface eth0 inet dhcp | ||
|
||
allow-hotplug wlan0 | ||
iface wlan0 inet manual | ||
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | ||
iface default inet dhcp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cp /bootfs/wpa_supplicant.conf /rootfs/etc/wpa_supplicant/ | ||
cp /bootfs/interfaces /rootfs/etc/network/ | ||
chroot /rootfs useradd -m pi -s /bin/bash | ||
sed -i 's/allowed_users=console/allowed_users=anybody/' /rootfs/etc/X11/Xwrapper.config | ||
sed -i "s@38400 tty1@-a pi 38400 tty1@" /rootfs/etc/inittab | ||
cp /bootfs/xsession /rootfs/home/pi/.xsession | ||
echo "startx" >> /rootfs/home/pi/.bashrc | ||
cp /bootfs/build_navit.sh /rootfs/usr/src/ | ||
chroot /rootfs /usr/src/build_navit.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
network={ | ||
ssid="my_ssid" | ||
psk="s3cr3t" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
xset s off | ||
xset -dpms | ||
xset s noblank | ||
navit & | ||
exec fluxbox |