diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:10:42 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:10:42 +0100 |
commit | 54861b025565f527a35ee0628365bf62769577d0 (patch) | |
tree | 595f6f717f4a30b7063c8bdca6bcadfbe5397496 /stages/first_stage.sh | |
parent | 430b6099046f6a2cfb09caf14c1e8e47ec9d0cfc (diff) | |
download | archinstall-54861b025565f527a35ee0628365bf62769577d0.tar archinstall-54861b025565f527a35ee0628365bf62769577d0.tar.zst archinstall-54861b025565f527a35ee0628365bf62769577d0.zip |
First complete Version of Rewrite
Diffstat (limited to 'stages/first_stage.sh')
-rw-r--r-- | stages/first_stage.sh | 12 |
1 files changed, 6 insertions, 6 deletions
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" |