From 4c3904638c3d68744a681babaf07025256e8fb1f Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 28 Nov 2023 19:18:22 +0100 Subject: [PATCH] fix chroot script (arch4edu stuff) --- chroot.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chroot.sh b/chroot.sh index b4e62de..c0e5dd7 100755 --- a/chroot.sh +++ b/chroot.sh @@ -28,6 +28,11 @@ sleep 2 cp /root/arch-dev-vm/mkinitcpio.conf /etc/mkinitcpio.conf plymouth-set-default-theme -R script + +# set up arch4edu +curl -O https://mirrors.tuna.tsinghua.edu.cn/arch4edu/any/arch4edu-keyring-20200805-1-any.pkg.tar.zst +pacman -U arch4edu-keyring-20200805-1-any.pkg.tar.zst + # Test boot mode (if efi or csm) bootMode=$(cat /sys/firmware/efi/fw_platform_size) @@ -96,7 +101,7 @@ sleep 2 # Add additional packages read -p "Do you want to have a barebone (b) or complete (c) install? " installType -if [[ "$installType" != "c" ]]; then +if [[ "$installType" == "c" ]]; then pacman -Syu --noconfirm nodejs npm rustup kate python-pip gcc fi