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
pgprNOZytofAT.pgp
Description: PGP signature