diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-14 15:37:06 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-14 15:37:06 -0300 |
commit | b48ab815479c1301bbd696978c1dd537a03c68d3 (patch) | |
tree | aff6c0d5df92384cf9d57a477991a11db14ca207 | |
parent | 650b2065bd9197e3ecc1a9a14165e638322b178e (diff) |
Share pacman cache
-rwxr-xr-x | libremakepkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libremakepkg b/libremakepkg index 2055002..a41326f 100755 --- a/libremakepkg +++ b/libremakepkg @@ -28,6 +28,8 @@ source /etc/libretools.conf echo "Updating the main chroot" mkarchroot -u -c ${CACHEDIR} -- ${CHROOTDIR}/${CHROOT} +mount -o bind ${CACHEDIR} ${CHROOTDIR}/${CHCOPY}/var/cache/pacman/pkg || exit 1 + echo "Creating the package" makechrootpkg -c -r ${CHROOTDIR} -l ${CHCOPY} -- $@ |