Mettre à jour 'install_sys.sh'
This commit is contained in:
parent
5b01fb6d4c
commit
786c184669
@ -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
|
Loading…
x
Reference in New Issue
Block a user