Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 09:36:14 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        'Baptiste Daroussin' <bapt@FreeBSD.org>, src-committers@FreeBSD.org, 'Ian Lepore' <ian@FreeBSD.org>, svn-src-all@FreeBSD.org, 'Glen Barber' <gjb@FreeBSD.org>, svn-src-head@FreeBSD.org, dteske@FreeBSD.org, 'Warner Losh' <imp@bsdimp.com>
Subject:   Re: svn commit: r266553 - head/release/scripts
Message-ID:  <20140527093614.00ef5195@kalimero.tijl.coosemans.org>
In-Reply-To: <5383EEB6.6010703@freebsd.org>
References:  <201405221922.s4MJM4Y9025265@svn.freebsd.org> <537F6706.6070509@freebsd.org> <20140523153619.GF72340@ivaldir.etoilebsd.net> <537F6EBC.3080008@freebsd.org> <20140523162020.GG72340@ivaldir.etoilebsd.net> <C5A59513-AF58-4749-BCD7-F54BB6F56E90@gmail.com> <20140524165940.3c687553@kalimero.tijl.coosemans.org> <5380C311.60201@freebsd.org> <20140524185345.263f230d@kalimero.tijl.coosemans.org> <1400955835.1152.323.camel@revolution.hippie.lan> <5380EBA8.1030200@freebsd.org> <20140525011307.142b41ab@kalimero.tijl.coosemans.org> <3CCAFAD3-FABE-40EF-ABF9-815FE5826349@bsdimp.com> <9FE34CE4-C71F-4806-9EF6-30CB1051C62F@bsdimp.com> <20140526113502.239db74d@kalimero.tijl.coosemans.org> <5383522F.30108@freebsd.org> <004b01cf7936$9fb11050$df1330f0$@FreeBSD.org> <5383EEB6.6010703@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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