Skip to content

Commit

Permalink
Add serial-getty on USB-C
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Dec 4, 2023
1 parent ce62b51 commit 90ffc2b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions armbian/customize-image-barebone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ fix_netplan(){
EOF
}

prepare_build() {
echo "ttyGS0" >> /etc/securetty
systemctl enable [email protected]
}

echo "🍰 Rebuild starting..."

prepare_build
install_bins
add_overlays
fix_netplan
Expand Down
1 change: 1 addition & 0 deletions armbian/customize-image-fluidd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ prepare_build() {
systemctl disable ssh

echo "ttyGS0" >> /etc/securetty
systemctl enable [email protected]

cp /tmp/overlay/rebuild/rebuild-version /etc/
}
Expand Down
1 change: 1 addition & 0 deletions armbian/customize-image-mainsail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ prepare_build() {
systemctl disable ssh

echo "ttyGS0" >> /etc/securetty
systemctl enable [email protected]

cp /tmp/overlay/rebuild/rebuild-version /etc/
}
Expand Down
1 change: 1 addition & 0 deletions armbian/customize-image-octoprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ prepare_build() {
systemctl disable ssh

echo "ttyGS0" >> /etc/securetty
systemctl enable [email protected]

cp /tmp/overlay/rebuild/rebuild-version /etc/
# Backwards compatibility with refactor
Expand Down
4 changes: 4 additions & 0 deletions armbian/customize-image-reflash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ prepare_install(){
cd /boot
mklost+found
chmod +r /boot/lost+found

echo "ttyGS0" >> /etc/securetty
systemctl enable [email protected]

}

install_reflash() {
Expand Down

0 comments on commit 90ffc2b

Please sign in to comment.