summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Chu <jchu@xentac.net>2007-11-03 17:57:26 +0100
committerJason Chu <jchu@xentac.net>2007-11-03 17:57:26 +0100
commitb528eba02852fa1182e7b4c7636d969729c0aaf2 (patch)
tree8e8383597c6303ce9dd58a6e950c8da051542411
parent7bb2c48c8f30a49ea37312ce8c03afe8a6ada073 (diff)
downloaddevtools-b528eba02852fa1182e7b4c7636d969729c0aaf2.tar.gz
devtools-b528eba02852fa1182e7b4c7636d969729c0aaf2.tar.xz
Install the custom pacman.conf in the chroot so that it can be used for later updates
-rwxr-xr-xmkarchroot5
1 files changed, 5 insertions, 0 deletions
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