svn commit: r266553 - head/release/scripts

Tijl Coosemans tijl at FreeBSD.org
Tue May 27 07:36:20 UTC 2014


On Mon, 26 May 2014 18:47:34 -0700 Nathan Whitehorn wrote:
> I've written two patches today. The first 
> (http://people.freebsd.org/~nwhitehorn/pkg_machinearch.diff) is to pkg 
> itself and the second 
> (http://people.freebsd.org/~nwhitehorn/pkg_bootstrap_machinearch.diff) 
> is to the pkg bootstrapper in base. These switch pkg from using 
> identifiers like "freebsd:11:arm:be:eabi:softfp" to identifiers like 
> "FreeBSD:11:armeb", matching the canonical FreeBSD platform identifiers. 
> The strings it uses can be predicted easily from scripts, as they are 
> identical in all cases to the output of `uname -s`:`uname -r | cut -f 1 
> -d .`:`uname -p`.

If those are the current names for arm then I also prefer uname -p for
the third field.  If each arch gets a default value of 32 or 64 for the
fourth field it can also be left out in many cases.


More information about the svn-src-all mailing list