Skip to content

Commit

Permalink
Remove UUOC and redirect to arch-chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
Zedeldi committed Apr 4, 2023
1 parent 4a13420 commit 1867c93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions monocleOS_Installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,12 @@ kmodules='$kmodules'
EOF

# Create installer script for arch-chroot
cat << EOF | arch-chroot $rootPath
#!/bin/bash
arch-chroot $rootPath << EOF
# Configuration
ln -sf /usr/share/zoneinfo/$region/$city /etc/localtime
hwclock --systohc
sed -i '/"en_US.UTF-8 UTF-8"/s/^#//g' /etc/locale.gen; sed -i '/'$locale'/s/^#//g' /etc/locale.gen
sed -i '/"en_US.UTF-8 UTF-8"/s/^#//g' /etc/locale.gen
sed -i '/'$locale'/s/^#//g' /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "KEYMAP=$vconsole" > /etc/vconsole.conf
Expand Down

0 comments on commit 1867c93

Please sign in to comment.