Fix pipes

This commit is contained in:
maride 2017-08-05 23:22:05 +02:00
parent e5df3c8c55
commit 6984518eb5

View File

@ -8,16 +8,16 @@ arch-chroot /mnt ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
arch-chroot /mnt hwclock --systohc arch-chroot /mnt hwclock --systohc
echo "~> Overwriting locale.gen and generate en_US and de_DE" echo "~> Overwriting locale.gen and generate en_US and de_DE"
arch-chroot /mnt echo -e 'en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8' > /etc/locale.gen echo -e 'en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8' > /mnt/etc/locale.gen
arch-chroot /mnt locale-gen arch-chroot /mnt locale-gen
arch-chroot /mnt echo 'LANG=de_DE.UTF-8' > /etc/locale.conf echo 'LANG=de_DE.UTF-8' > /mnt/etc/locale.conf
arch-chroot /mnt echo 'KEYMAP=de-latin1' > /etc/vconsole.conf echo 'KEYMAP=de-latin1' > /mnt/etc/vconsole.conf
echo -e "~> Choose a hostname: " echo -e "~> Choose a hostname: "
read hostname read hostname
arch-chroot /mnt echo $hostname > /etc/hostname echo $hostname > /mnt/etc/hostname
echo "~> Configuring 'grub'" echo "~> Configuring 'grub'"
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB
arch-chroot /mnt echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value /dev/sda2 | head -n 1`'" > /etc/default/grub echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value /dev/sda2 | head -n 1`'" > /mnt/etc/default/grub
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg