svn commit: r271480 - head/release/scripts

Glen Barber gjb at FreeBSD.org
Fri Sep 12 22:21:03 UTC 2014


On Fri, Sep 12, 2014 at 04:21:26PM -0500, Bryan Drewery wrote:
> There's still an issue with 1.3 here. pkg-fetch now uses mangled package
> names in its cache dir, and does not use the All/ subdir anymore as
> you've found.
> 
> # ls /var/cache/pkg/psutils-1.17_4*
> /var/cache/pkg/psutils-1.17_4-fe318c25d7.txz
> /var/cache/pkg/psutils-1.17_4.txz@
> 
> Rather the polluting the DVD with these hashed filenames you can just
> not set PKG_CACHEDIR and use pkg fetch -o ${PKG_REPODIR} -d ${DVD_PACKAGES}.
> 

Ah, I overlooked '-o' in 1.3.x.

> You can also now simplify the PKG_ABI lookup 4 lines to just: export
> PKG_ABI=$(pkg config ABI).
> 
> pkg fetch -o was added to 1.3 specifically for cases such as creating DVDs.
> 
> It will then store the files in dvd/packages/${PKG_ABI}/All.
> 
> See https://people.freebsd.org/~bdrewery/patches/pkg-stage-1.3.diff
> 

Thank you.  Committed as r271491.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140912/9a3b1e3a/attachment.sig>


More information about the svn-src-all mailing list