From f3f6e6290a3aa8d04dff2372cf19f1a1fa2f0bff Mon Sep 17 00:00:00 2001 From: Jeremy MANSON Date: Sun, 15 Oct 2017 16:49:57 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'install=5Fsys.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install_sys.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/install_sys.sh b/install_sys.sh index 59ee019..248f923 100644 --- a/install_sys.sh +++ b/install_sys.sh @@ -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 \ No newline at end of file +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"