Mettre à jour 'install_sys.sh'

This commit is contained in:
Jeremy MANSON 2017-10-15 16:49:57 +02:00
parent e8c7d36c08
commit f3f6e6290a

View File

@ -38,4 +38,12 @@ echo 'LC_COLLATE="C"' >> $CHROOT/etc/env.d/02locale
echo "app-admin/sudo -sendmail" >> $CHROOT/etc/portage/package.use/sudo.use
chroot $CHROOT /bin/bash -c "emerge sudo"
echo 'GRUB_PLATFORMS="pc"' >> $CHROOT/etc/portage/make.conf
echo "sys-boot/grub -fonts -themes" >> $CHROOT/etc/portage/package.use/grub.use
echo "sys-boot/grub -fonts -themes" >> $CHROOT/etc/portage/package.use/grub.use
chroot $CHROOT /bin/bash -c "emerge genkernel"
chroot $CHROOT /bin/bash -c "emerge gentoo-sources"
chroot $CHROOT /bin/bash -c "genkernel all"
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"