diff options
author | Erich Eckner <git@eckner.net> | 2017-05-18 11:22:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-24 21:04:37 +0100 |
commit | 484c73df93bcd15e6c16ee270a801c999e64f248 (patch) | |
tree | eb1258beb23c93601d3913a9b0e79b41e1bc8fae | |
parent | 335bc4b2efe1aa62fa601cdb624ffd617480e611 (diff) | |
download | devtools-484c73df93bcd15e6c16ee270a801c999e64f248.tar.xz |
force correct architecture in pacman
-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 7a7a274..b394477 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -92,6 +92,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" } # }}} |