#!/bin/bash # # Assumptions: # 1) User has partitioned, formatted, and mounted partitions on /mnt # 2) Network is functional # 3) Arguments passed to the script are valid pacman targets # 4) A valid mirror appears in /etc/pacman.d/mirrorlist # shopt -s extglob if [[ -r @libdir@/functions.sh ]];then source @libdir@/functions.sh fi newroot=/mnt hostcache=0 copykeyring=1 copymirrorlist=1 usage() { cat <