Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 18:20:59 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r271480 - head/release/scripts
Message-ID:  <20140912222059.GQ1198@hub.FreeBSD.org>
In-Reply-To: <541363D6.3080502@FreeBSD.org>
References:  <201409121852.s8CIq1Eg099609@svn.freebsd.org> <541363D6.3080502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--PhxIMoEr374zxJm2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> # 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@
>=20
> 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_PACKAGE=
S}.
>=20

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

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

Thank you.  Committed as r271491.

Glen


--PhxIMoEr374zxJm2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUE3HLAAoJELls3eqvi17QqlYQAKKSc91M/yhsZhmo4yom0MZB
sN8HHa08HIfGqRICTNsyeCMA7zq3wlJjMQ4Zs7mGfRTS6SJyH20xJ7mzOq2VW9OF
Wq0O6ZPhqBf14V1iNTqcjbu6lVj9AwNMKd8DRWNC+tlMM5eG3GQbjnfKtpaNrffb
3fLTf9eMbotw2PhyPmArzaLJojxYQZFBZtP3yDnKQ1Ji6WJSudy6wBTGJx99qm44
SB6tGRO9KixHHMve1rWIp3pQ/+V2ekNn6QP/qQ3FLuiW1FhIjyty9a3VJehPSeRq
YU3AGWOjj5Hga19jMPQpNpeeEhwhW1d527Uiqo6ALRkt2wEQY91dPCZ/it57R5UL
0iyRkExZ5Y8MVL6I8uLRstgz/seiqwIkJNTFtM/mvrO25hsw4DmqjLzT7ESPnV9s
Htu+NzIUF08U7gqYcKsqV1xySn/B+e4ap3FsnphTr8uGLs3ELJsgrTjrZ/zGwuDY
jdlgl97+sP7etfbv/hcsx/snUfKHwf9AWZlDJEBv6KQw4wAsq8B44bTkGH3Ka4id
TR54l7g11+msCSBekImlapsvzHeKVKMvI0qa6LRXURsHtK/CA6ZbjYtZdWUSWfr+
JOA25LWZm2ACiXAE78hQR+8RFzaS1AsIepEG5tXPKF6xMOL25two8/9O4uDArZMr
Zyf5+56U9vyUBnkIhM8O
=funf
-----END PGP SIGNATURE-----

--PhxIMoEr374zxJm2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140912222059.GQ1198>