diff --git a/install_sys.sh b/install_sys.sh index 9a7d6f7..5401cd5 100644 --- a/install_sys.sh +++ b/install_sys.sh @@ -37,10 +37,10 @@ chroot $CHROOT /bin/bash -c "emerge grub" echo MAKEOPTS='"'-j${NJOBS}'"' >> $CHROOT/etc/genkernel.conf #chroot $CHROOT /bin/bash -c "genkernel all" tar $CHROOT/kernel.tar.bz2 -C $CHROOT/ -tar $CHROOT/modules.tar.bz2 -C /lib/modules/ +tar $CHROOT/modules.tar.bz2 -C $CHROOT/lib/modules/ 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 \`openssl passwd -1 password\` -G wheel joe" -echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel +echo "%wheel ALL=(ALL) NOPASSWD: ALL" > $CHROOT/etc/sudoers.d/wheel sed -i 's/keymap="us"/keymap="fr"/g' $CHROOT/etc/conf.d/keymaps \ No newline at end of file