Mettre à jour 'install_sys.sh'

This commit is contained in:
Jeremy MANSON 2017-10-15 17:51:04 +02:00
parent f3f6e6290a
commit 45e04c6e8a

View File

@ -27,10 +27,10 @@ chmod 1777 /dev/shm
echo "Europe/Paris" > $CHROOT/etc/timezone
cp /etc/resolv.conf $CHROOT/etc/resolv.conf
mirrorselect -i -c FR -o >> $CHROOT/etc/portage/make.conf #trouver l'astuce pour utiliser les mirroirs les plus rapides
mirrorselect -i -c FR -o >> $CHROOT/etc/portage/make.conf
mkdir $CHROOT/etc/portage/repos.conf
cp $CHROOT/usr/share/portage/config/repos.conf $CHROOT/etc/portage/repos.conf/gentoo.conf
chroot /mnt/gentoo /bin/bash -c "emerge --config sys-libs/timezone-data"
chroot $CHROOT /bin/bash -c "emerge --config sys-libs/timezone-data"
echo "fr_FR.UTF-8 UTF-8" >> $CHROOT/etc/locale.gen
chroot $CHROOT /bin/bash -c "locale-gen"
echo 'LANG="fr_FR.UTF-8"' > $CHROOT/etc/env.d/02locale
@ -46,4 +46,4 @@ chroot $CHROOT /bin/bash -c "grub-install /dev/sda"
chroot $CHROOT /bin/bash -c "grub-mkconfig -o /boot/grub/grub.cfg"
echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet"' >> $CHROOT/etc/default/grub
chroot $CHROOT /bin/bash -c "useradd -p password joe"
chroot $CHROOT /bin/bash -c "useradd -G wheel joe"
chroot $CHROOT /bin/bash -c "useradd -G wheel joe"