[gentoo] change root partition when emerging packages

From: Tomas Carnecky (tom_at_dbservice.com)
Date: 10/22/04


Date: Fri, 22 Oct 2004 17:08:45 +0200

How is it done?
I know ./configure --prefix=/usr/local, but this doesn't change the root
partition, some files still go to /etc. Gentoo installs the package
first into a sandbox environment somewhere in /usr/portage/... or so.
How can I compile a package by myself, install it into a new directory
and make a package (tar.bz2) out of it?

I thought about making a server distro similar to gentoo, without the
USE flags but still highly optimized. The packages would be compiled for
each architecture on-demand on a compiler farm only when a user wants to
install it and then be saved on a disk for the case that someone else
has the same architecture and wants the same package. The distro would
be without desktop packages and multimedia support, who need that on a
server..
The user would request a package over HTTP
http://packages.distro.org/get.php?class=net&package=asterisk&version=latest
and get the URL of the compiled package or a status information on the
compilation status (estimated time left etc).

icecream (http://wiki.kde.org/tiki-index.php?page=icecream) is quite
good for a compiler farm, it even supports 'environments' for
cross-compilation.

tom



Relevant Pages

  • Re: Freeware download corrupt (?)
    ... > a list of all functions in a package that fall in that category. ... > conflict with a function of that name in a future version of the CRTL. ... > But the compiler doesn't do that, so for now we're on our own. ... I create a package with a routine in it called "highwater". ...
    (comp.os.vms)
  • Re: PL/I, COBOL, Advantages, Equivalence, et al
    ... SPARK will allow a variable to have a value that conforms ... might be that a package somewhere will look like this ... An Ada compiler may issue a warning; ... LC> Ada/SPARK support a boolean type? ...
    (comp.lang.pl1)
  • Re: How to use packages?
    ... libraries in assembly could be created and imported for use. ... package so that some very cool libraries could be created in ways that I ... This would be very wrong -- basically giving away a Lisp compiler ... For example (given the name as.exe for the assembler): ...
    (comp.lang.lisp)
  • RE: Visual studio 2003 .NET versus its own Command Prompt
    ... > package in the lab. ... > command line compiler which cames with it. ... library, which is a .lib file, for it to know where in the DLL the functions ...
    (microsoft.public.vc.language)
  • Re: Frage zu Packages und our
    ... Der Compiler selbst schaut jedoch bei einem unqualifizierten ... Laufzeit tatsächlich auf die globale (Package) Variable zugegriffen. ... von "my" ident sind - denn ein innerhalb eines Scopes deklariertes ...
    (de.comp.lang.perl.misc)