fetch_packinstall – save sources from build directory of a package into source storage directory.
Description
The method packs build directory of the current package and saves .tar.gz
tarball to ANYSRCDIR
as original sources. Next launch will use that saved sources from local directory and will ignore other variants. Patches are applied as usual independently from content of ANYSRCDIR.
Tarball is saved under name MY_P,
not P,
so the result is identical with downloading that tarball from remote place.
Method is used to prepare autonomous build without access to remote hosts.
Writing
The method writes to ANYSRCDIR.