diff options
author | Erich Eckner <git@eckner.net> | 2017-05-18 11:22:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-18 11:22:59 +0200 |
commit | c0b3464ef7f35a91f83445f21d3dc51fe074b09d (patch) | |
tree | 9b8fe16e66fba4f55a48cd10f5e9a0a16f571370 /arch-nspawn.in | |
parent | 77abb39840f34584e6daf6bef477add810885e90 (diff) | |
download | devtools-c0b3464ef7f35a91f83445f21d3dc51fe074b09d.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 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" } # }}} |