Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2476 - Emerge buildpkg should add platform info to tbz2 filename
Summary: Emerge buildpkg should add platform info to tbz2 filename
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 All
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-05 16:05 UTC by Todd Wright
Modified: 2011-10-30 22:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Wright 2002-05-05 16:05:24 UTC
Theres probably several reasons why this would be a good idea, perhaps for 
creating distributions (compile once, install many) on various platforms, or as 
in my case, an nfs shared /usr/portage tree across several machines of 
differing types (ie one is i586 one is i686 and each is optimized differently)

Basically what Im suggesting is that the tarballs output by emerge with the 
buildpkg option should be named package-<version>-i586-linux-gnu.tbz2 or 
something like that, to diferentiate the differnt target platforms.
Comment 1 Todd Wright 2002-05-06 01:09:49 UTC
Or perhaps alternately packages chould be written to /usr/portage/packages/ix86-
pc-linux-gnu/All  etc

Sorry this is a bit vague, Im just trying to bring up the idea, its up to you 
guys to sort out the details I guess. I realise a lot of changes would need to 
be made to both write the package files, and read them when emerging from 
binaries.
Comment 2 Todd Wright 2002-05-06 03:16:53 UTC
Sorry for the multiple posts. I found the PKGDIR= option in make.conf. Setting 
it to PKGDIR=${PORTDIR}/packages/${CHOST} keeps the packages seperate, but I 
still believe the tarballs should contain a reference to the platform in their 
name
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-06-27 23:40:44 UTC
We're not going to do this.  Names too complicated already.