nix-config/sh/install/023-mkinitcpio
Donovan Glover 4e81aab657
Move installation steps to install directory
This helps separate the installation process from the other scripts that
are usually ran after a reboot, although this may change in the future
if chroot is preferred over executing the commands later.
2018-09-06 15:18:39 -04:00

12 lines
257 B
Bash

#!/bin/sh
#
# Save our hardware information with mkinitcpio. This creates
# an initial ramdisk environment that allows us to boot the
# Linux kernel.
#
# https://wiki.archlinux.org/index.php/Installation_guide
set -xe
arch-chroot /mnt mkinitcpio -p linux