Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default locales: set using built-in module #167

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/default
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ BASE_BOOT_MOUNT_PATH=boot
DIST_VERSION="$(get_version)"
BASE_ZIP_IMG="$(get_img_name)"
DIST_NAME="RatOS"
BASE_CONFIG_LOCALE="en_US.UTF-8"
BASE_IMAGE_ENLARGEROOT=6500
BASE_IMAGE_RESIZEROOT=600
BASE_APT_CLEAN=no

# export Variables
export DIST_NAME
export BASE_CONFIG_LOCALE
export DIST_VERSION
export BASE_ZIP_IMG
export BASE_IMAGE_ENLARGEROOT
Expand Down
5 changes: 0 additions & 5 deletions src/modules/piconfig/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,3 @@ cat > /etc/systemd/system/[email protected]/autologin.conf << EOF
ExecStart=
ExecStart=-/sbin/agetty --autologin $BASE_USER --noclear %I \$TERM
EOF

# Step 13: Fix locale
echo_green "Generating and setting default locale to en_US.UTF-8..."
# Use en_US.UTF-8 as default locale
raspi-config nonint do_change_locale en_US.UTF-8
Loading