[OpenAFS] Re: sysname for 3.x linux kernel
Björn Torkelsson
torkel@hpc2n.umu.se
Wed, 14 Mar 2012 09:12:21 +0100
This is a cryptographically signed message in MIME format.
--------------ms050603090101010207030606
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Russ Allbery wrote:
> Andrew Deason <adeason@sinenomine.net> writes:
>
>> Secondly, this is easily modifiable by distributions. I think the
>> closest thing Linux has to a "platform" like those of commercial unice=
s
>> (and maybe the BSDs) is a distribution-specific moniker. Just because
>> the OpenAFS project doesn't include anything more specific than
>> "$arch_linux26" by default doesn't mean we can't have a distro-specifi=
c
>> tag by default in front of that (and the RPMs related to this thread a=
re
>> already doing that). That seems like a pretty easy way to get more
>> granularity and be more 'modern'.
> I suppose I could do that in Debian. I'd feel more comfortable doing i=
t
> if any Debian user had ever indicated a desire for an @sys that identif=
ied
> the Debian stable version (which would be the obvious thing to put in
> there).
>
> If I do that for Debian, though, Ubuntu is going to be a mess.
We have been using:
afs_arch=3D`dpkg --print-architecture`
afs_version=3D`lsb_release -s -r | sed -e 's/\.//g' | tr -d "[a-zA-Z]"`
afs_dist=3D`lsb_release -s -i|tr "[:upper:]" "[:lower:]"`
afs_sysname=3D"${afs_arch}_${afs_dist}${afs_version}"
for years, on ubuntu.
/Bj=C3=B6rn
>
--------------ms050603090101010207030606
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOZzCC
BIowggNyoAMCAQICECf06hH0eobEbp27bqkXBwcwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UE
BhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3Q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