forked from matt2005/dash_builder
-
Notifications
You must be signed in to change notification settings - Fork 3
/
compile_bullseye.Pifile
29 lines (27 loc) · 1.37 KB
/
compile_bullseye.Pifile
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
PUMP 1000M
# https://github.com/openDsh/dash/issues/63#issuecomment-821121874
RUN <<'EOF'
apt-get -y install wget software-properties-common dirmngr apt-transport-https lsb-release ca-certificates git sudo
apt-get -y install --no-install-recommends xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils
apt-get -y install gstreamer1.0-plugins-good gstreamer1.0-omx xserver-xorg-video-fbturbo
EOF
# add in pi ux tweaks (icons + lxpanel plugins)
RUN <<EOF
apt-get -y install pixflat-icons lxplug-bluetooth lxplug-volumepulse lxplug-network
bash -c "cd /home/pi && sudo -u pi git clone https://github.com/openDsh/dash"
bash -c "cd /home/pi/dash && sed -i 's/\(^\s*\)\(make\)\($\)/\1make -j$(nproc)/g' install.sh"
EOF
RUN <<'EOF'
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --deps"
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --aasdk"
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --h264bitstream"
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --gstreamer"
bash -c "cd /home/pi/openauto && sed -i 's/0006/b03111/g' cmake_modules/functions.cmake"
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --openauto"
bash -c "cd /home/pi/dash && sudo -u pi ./install.sh --dash"
bash -c "sudo -u pi mkdir -p /home/pi/.config/openDsh"
EOF
# Add autologin and dash service
source dash_service.Pifile
PUMP 1000M
source pulseaudio_hfp_ofono.Pifile