From 54861b025565f527a35ee0628365bf62769577d0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Mar 2020 14:10:42 +0100 Subject: First complete Version of Rewrite --- stages/first_stage.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'stages/first_stage.sh') diff --git a/stages/first_stage.sh b/stages/first_stage.sh index 85b1119..e6ddc7f 100644 --- a/stages/first_stage.sh +++ b/stages/first_stage.sh @@ -23,11 +23,6 @@ set -e -# debug output - -print_ok "Entering first_stage.sh" - - # check bootmode print_ok "Checking bootmode ..." @@ -186,16 +181,21 @@ print_ok "Formatting done" # optimize mirrorlist -print_ok "Optimize pacman mirrorlist ..." +print_ok "Optimize /etc/pacman.d/mirrorlist ..." curl "https://www.archlinux.org/mirrorlist/?country=$pacman_mirror_region&protocol=http&protocol=https&ip_version=4" > /etc/pacman.d/mirrorlist sed -i '/#Server = *./s/^#//g' /etc/pacman.d/mirrorlist +print_ok "/etc/pacman.d/mirrorlist optimized" + # install packages with pacstrap +print_ok "Installing Arch Linux packages with 'pacstrap' ..." pacstrap /mnt $PACKAGE_LIST print_ok "Installed packages" # generate /etc/fstab +print_ok "Generating /etc/fstab ..." genfstab -U /mnt >> /mnt/etc/fstab +print_ok "/etc/fstab generated" -- cgit v1.2.3-70-g09d2