diff --git a/usr/bin/archboot-aarch64-create-container.sh b/usr/bin/archboot-aarch64-create-container.sh index 2bf552977..0e33d9b1c 100755 --- a/usr/bin/archboot-aarch64-create-container.sh +++ b/usr/bin/archboot-aarch64-create-container.sh @@ -21,7 +21,8 @@ if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then _umount_special "${1}" || exit 1 _fix_groups "${1}" _clean_container "${1}" - _clean_archboot_cache + _download_graphical "${1}" || exit 1 + _clean_cache "${1}" _generate_keyring "${1}" || exit 1 _copy_mirrorlist_and_pacman_conf "${1}" fi @@ -33,6 +34,7 @@ if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then _install_archboot "${1}" "use_binfmt" || exit 1 _fix_groups "${1}" _clean_mkinitcpio "${1}" + _download_graphical "${1}" || exit 1 _clean_cache "${1}" _clean_container "${1}" 2>/dev/null fi diff --git a/usr/bin/archboot-riscv64-create-container.sh b/usr/bin/archboot-riscv64-create-container.sh index ad4465894..09fdca0cf 100755 --- a/usr/bin/archboot-riscv64-create-container.sh +++ b/usr/bin/archboot-riscv64-create-container.sh @@ -21,7 +21,8 @@ if [[ "${_RUNNING_ARCH}" == "riscv64" ]]; then _umount_special "${1}" || exit 1 _fix_groups "${1}" _clean_container "${1}" - _clean_archboot_cache + _download_graphical "${1}" || exit 1 + _clean_cache "${1}" _generate_keyring "${1}" || exit 1 _copy_mirrorlist_and_pacman_conf "${1}" fi @@ -33,6 +34,7 @@ if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then _install_archboot "${1}" "use_binfmt" || exit 1 _fix_groups "${1}" _clean_mkinitcpio "${1}" + _download_graphical "${1}" || exit 1 _clean_cache "${1}" _clean_container "${1}" 2>/dev/null fi