mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-09 16:52:05 +08:00
50107f549e
* add binaries submodule * copied over b07 for lightninghard * add new version of cnss_daemon which looks for som-specific bdwlan * tuned bdwlan and kernel bump
20 lines
563 B
Bash
Executable File
20 lines
563 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Install driver deb files (we're fine with overwriting stuff too)
|
|
cd /tmp/agnos/debs
|
|
apt-get -o Dpkg::Options::="--force-overwrite" install -yq \
|
|
./agnos-base.deb \
|
|
./agnos-display_0.0.1.deb \
|
|
./agnos-wlan_0.0.3.deb
|
|
|
|
# Install 16.04 version of libjson-c2
|
|
cd /tmp
|
|
wget http://ports.ubuntu.com/pool/main/j/json-c/libjson-c2_0.11-4ubuntu2.6_arm64.deb -O /tmp/libjson-c2_0.11-4ubuntu2.6_arm64.deb
|
|
apt install -yq /tmp/libjson-c2_0.11-4ubuntu2.6_arm64.deb
|
|
|
|
# Remove apt cache
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
USERNAME=comma
|
|
adduser $USERNAME netdev
|