Commit b528eba0 authored by Jason Chu's avatar Jason Chu
Browse files

Install the custom pacman.conf in the chroot so that it can be used for later updates

parent 7bb2c48c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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