index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-03-16 02:00:25 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-03-16 02:16:04 -0300 |
commit | 2931abd5b925bbf8d25cbd9442c438d3e3ed017f (patch) | |
tree | ea46e1855aa4ee2d6f28cc0c552a3de4e6a6e542 /configs/releng | |
parent | 3d05bef2b96c84126e6c8921e834f2655a4ec730 (diff) |
-rwxr-xr-x | configs/releng/build.sh | 9 |
diff --git a/configs/releng/build.sh b/configs/releng/build.sh index f206caf..5c010ef 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -132,11 +132,12 @@ make_core_repo() { local _url _urls _pkg_name _cached_pkg _dst _pkgs mkdir -p ${work_dir}/repo-core-any mkdir -p ${work_dir}/repo-core-${arch} - pacman -Sy - _pkgs=$(comm -2 -3 <(pacman -Sql core | sort | sed 's@^@core/@') \ + mkdir -p ${work_dir}/pacman.db/var/lib/pacman + pacman -Sy -r ${work_dir}/pacman.db + _pkgs=$(comm -2 -3 <(pacman -Sql -r ${work_dir}/pacman.db core | sort | sed 's@^@core/@') \ <(grep -v ^# ${script_path}/core.exclude.${arch} | sort | sed 's@^@core/@')) - _urls=$(pacman -Sddp ${_pkgs}) - pacman -Swdd --noprogressbar --noconfirm ${_pkgs} + _urls=$(pacman -Sddp -r ${work_dir}/pacman.db ${_pkgs}) + pacman -Swdd -r ${work_dir}/pacman.db --noprogressbar --noconfirm ${_pkgs} for _url in ${_urls}; do _pkg_name=${_url##*/} _cached_pkg=/var/cache/pacman/pkg/${_pkg_name} |