From c0b3464ef7f35a91f83445f21d3dc51fe074b09d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 18 May 2017 11:22:59 +0200 Subject: force correct architecture in pacman --- arch-nspawn.in | 1 + 1 file changed, 1 insertion(+) diff --git a/arch-nspawn.in b/arch-nspawn.in index 7f9b344..ca18169 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -90,6 +90,7 @@ copy_hostconf () { done sed -r "s|^#?\\s*CacheDir.+|CacheDir = $(echo -n ${cache_dirs[@]})|g" -i "$working_dir/etc/pacman.conf" + sed -i '/^Architecture = /s| auto$| '"$CARCH|" "$working_dir/etc/pacman.conf" } # }}} -- cgit v1.2.3-70-g09d2