From b528eba02852fa1182e7b4c7636d969729c0aaf2 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Sat, 3 Nov 2007 09:57:26 -0700 Subject: Install the custom pacman.conf in the chroot so that it can be used for later updates --- mkarchroot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkarchroot b/mkarchroot index 7434453..c0cb587 100755 --- a/mkarchroot +++ b/mkarchroot @@ -148,6 +148,11 @@ else ldconfig -r "${working_dir}" fi + if [ "$pac_conf" != "" ]; then + echo "installing custom pacman.conf" + cp ${pac_conf} ${working_dir}/etc/pacman.conf + fi + echo "generating default locales" sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen" chroot "${working_dir}" locale-gen -- cgit v1.2.3-70-g09d2