FS#6554 - installer should create package cache
Attached to Project:
Arch Linux
Opened by Roman Kyrylych (Romashka) - Thursday, 08 March 2007, 14:15 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 06 May 2007, 08:12 GMT
Opened by Roman Kyrylych (Romashka) - Thursday, 08 March 2007, 14:15 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 06 May 2007, 08:12 GMT
|
Details
Newly installed system has an empty package cache.
IMO it would be better to tell pacman to place all installed packages in package cache. This can be done by setting package cache path to /mnt/var/cache/pacman/pkg in installer's pacman.conf. Having all installed packages in package cache is useful for some situations (downgrading, using package cache to create custom install CDs etc.) and I don't see the reason why package cache shouldn't be populated during install process too (not only during usual upgrades). |
This task depends upon
My point is that installing packages by installer shouldn't differ from regular package installing in terms of package caching.
Hm, I just noticed that pacman doesn't have any option to set the path to package cache, but it acn be easily workarounded by creating a symlink from /var/cache/pacman/pkg to /mnt/var/cache/pacman/pkg.
It doesn't mean that I don't support your idea ;-) Just came to my mind when I read this request.
I'll try to cook a patch to see how this all will work.