diff options
author | Erich Eckner <git@eckner.net> | 2017-05-18 11:22:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-29 08:52:50 +0200 |
commit | 8150a5767e7ed98e92e7404cba0b0c365b548c61 (patch) | |
tree | 73e67d246573f5f63640fda5f7569315f2ed35f6 /arch-nspawn.in | |
parent | 4e87cea4bede78a610aad76c10346811b4095495 (diff) | |
download | devtools32-8150a5767e7ed98e92e7404cba0b0c365b548c61.tar.xz |
force correct architecture in pacman
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r-- | arch-nspawn.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in index b9c846e..51f3e29 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -93,6 +93,7 @@ copy_hostconf () { done sed -r "s|^#?\\s*CacheDir.+|CacheDir = ${cache_dirs[*]}|g" -i "$working_dir/etc/pacman.conf" + sed -i '/^Architecture = /s| auto$| '"$CARCH|" "$working_dir/etc/pacman.conf" } # }}} |