[buildiso] (optimization) Trim Xorg pkg cache before copying to ISO?
Created by: aadityabagga
Currently, whichever packages are present in Xorg pkg cache are directly copied over to the ISO.
Can it be made like pacman cache, such that only the latest packages in cache are copied over?
One way to do this in my opinion would be to use paccache
on the copied the repo, so that old versions of packages get removed, like:
paccache -rv -k1 -c $XORG_PKG_CACHE
Pull request https://github.com/manjaro/manjaro-tools/pull/85
Not completely tested though.