summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-06 15:53:08 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-06 15:53:08 +0100
commita0cba04420713dd038f9bb0d8c0517065d911659 (patch)
tree81c9983d82a85058c4c0593efff6265ba2a867f4
parentffabd742c6277ebbd2267ef0e550efaf72dc04f2 (diff)
downloadarchinstall-a0cba04420713dd038f9bb0d8c0517065d911659.tar
archinstall-a0cba04420713dd038f9bb0d8c0517065d911659.tar.zst
archinstall-a0cba04420713dd038f9bb0d8c0517065d911659.zip
Hotfix for broken pacman keys.
-rw-r--r--stages/first_stage.sh2
-rw-r--r--util/reset_pacman_keys.sh22
2 files changed, 24 insertions, 0 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index 8b9d640..487bb0d 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -49,6 +49,8 @@ bash create_filesystems.sh $boot_partition_path $root_partition_path
bash mount_filesystems.sh $root_partition_path
+bash reset_pacman_keys.sh
+
bash install_packages.sh $desktop
bash install_archinstall.sh $REPOSITORY_PATH
diff --git a/util/reset_pacman_keys.sh b/util/reset_pacman_keys.sh
new file mode 100644
index 0000000..c360432
--- /dev/null
+++ b/util/reset_pacman_keys.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+
+# archinstall - A minimal Installation Script for Arch Linux
+# Copyright (C) 2019 xengineering
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+
+
+echo "Resetted pacman keys - OK"