diff --git a/install_sys.sh b/install_sys.sh index 248f923..e88db17 100644 --- a/install_sys.sh +++ b/install_sys.sh @@ -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" \ No newline at end of file