Skip to content

Commit

Permalink
Add e2fsck to SD-flasher script, bump default version numbers, fix de…
Browse files Browse the repository at this point in the history
…fault hostname to match released SD card images
  • Loading branch information
civerachb-cpr committed Oct 23, 2024
1 parent 77ee580 commit 60cadd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/turtlebot4/system
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MODEL:lite
VERSION:2.0.0
VERSION:2.0.2
ROS:Jazzy
HOSTNAME:ubuntu
HOSTNAME:turtlebot4
1 change: 1 addition & 0 deletions scripts/sd_flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ do
last_partition="${device}2"
fi

sudo e2fsck -f /dev/${last_partition}
sudo growpart /dev/$device 2
sudo resize2fs /dev/${last_partition}
done
4 changes: 2 additions & 2 deletions turtlebot4_setup/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class Conf():

default_system_conf = {
SystemOptions.MODEL: 'lite',
SystemOptions.VERSION: '2.0.0',
SystemOptions.VERSION: '2.0.2',
SystemOptions.ROS: 'Jazzy',
SystemOptions.HOSTNAME: 'ubuntu',
SystemOptions.HOSTNAME: 'turtlebot4',
}

default_wifi_conf = {
Expand Down

0 comments on commit 60cadd5

Please sign in to comment.