From fbf8ef99f90f9e7e225260e5ad17b70c607f9577 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 17 Apr 2022 10:56:42 +0200 Subject: [PATCH] stop correct pacman-init service on each arch --- usr/bin/archboot-update-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-update-installer.sh b/usr/bin/archboot-update-installer.sh index 9c78adcf7..8bc1736bb 100755 --- a/usr/bin/archboot-update-installer.sh +++ b/usr/bin/archboot-update-installer.sh @@ -28,7 +28,6 @@ kver() { zram_mount() { # add defaults _ZRAM_ALGORITHM=${_ZRAM_ALGORITHM:-"zstd"} - _ZRAM_MAX_COMP_STREAMS=${_ZRAM_MAX_COMP_STREAMS:-"4"} modprobe zram echo "${_ZRAM_ALGORITHM}" >/sys/block/zram0/comp_algorithm echo "${1}" >/sys/block/zram0/disksize @@ -149,7 +148,8 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then while pgrep -x gpg > /dev/null 2>&1; do sleep 1 done - systemctl stop pacman-init.service + [[ "${_RUNNING_ARCH}" == "x86_64" ]] && systemctl stop pacman-init.service + [[ "${_RUNNING_ARCH}" == "aarch64" ]] && systemctl stop pacman-init-arm.service echo -e "\033[1mStep 3/9:\033[0m Generating archboot container in ${_W_DIR} ..." echo " This will need some time ..." # create container without package cache