-
Notifications
You must be signed in to change notification settings - Fork 64
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
1 parent
4678273
commit 4efb136
Showing
1 changed file
with
9 additions
and
9 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 |
---|---|---|
|
@@ -8,6 +8,15 @@ HOST=comma | |
touch /TICI | ||
touch /AGNOS | ||
|
||
# Add armhf as supported architecture | ||
dpkg --add-architecture armhf | ||
|
||
# Install packages | ||
export DEBIAN_FRONTEND=noninteractive | ||
apt-get update | ||
apt-get install -yq locales systemd adduser | ||
adduser $USERNAME systemd-journal | ||
|
||
# Create privileged user | ||
useradd -G sudo -m -s /bin/bash $USERNAME | ||
echo "$USERNAME:$PASSWD" | chpasswd | ||
|
@@ -22,15 +31,6 @@ adduser $USERNAME audio | |
adduser $USERNAME disk | ||
adduser $USERNAME dialout | ||
|
||
# Add armhf as supported architecture | ||
dpkg --add-architecture armhf | ||
|
||
# Install packages | ||
export DEBIAN_FRONTEND=noninteractive | ||
apt-get update | ||
apt-get install -yq locales systemd | ||
adduser $USERNAME systemd-journal | ||
|
||
# Enable serial console on UART | ||
systemctl enable [email protected] | ||
|
||
|