* [gentoo-user] Setting installation directories globally
@ 2007-05-01 17:28 Paul Sebastian Ziegler
[not found] ` <46377AB6.4040406@gmail.com>
2007-05-02 1:29 ` Bo Ørsted Andresen
0 siblings, 2 replies; 5+ messages in thread
From: Paul Sebastian Ziegler @ 2007-05-01 17:28 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hy everybody,
can you please tell me if there is some way to set the install directory
of an ebuild globally without changing the ebuild?
Let me clarify:
I want a few packages to not be merged under / directly but rather to be
located under /something/*.
I understand that the ebuilds contain directives of where to install the
files through src_install(). However I don't believe it would be a good
idea to edit ebuilds manually since it would lead to breakages during
emerge --sync.
So is there some file I can edit to change the install directory for a
certain package?
For example like setting
wireshark /wifi
firefox /stuff
baselayout /
(this is just a rough sketch of what I'm looking for.)
All help would be greatly appreciated!
Many Greetings
Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGN3ilaHrXRd80sY8RCuhlAKDAg/ioaMe9TnFTy6g5dvqfStzWCgCcDL4E
v+16b13Vj0m58U5LkXHlPGk=
=ZCsw
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting installation directories globally
[not found] ` <46377AB6.4040406@gmail.com>
@ 2007-05-01 18:01 ` Paul Sebastian Ziegler
0 siblings, 0 replies; 5+ messages in thread
From: Paul Sebastian Ziegler @ 2007-05-01 18:01 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I thought about that too, but wouldn't that more or less create a new
"system". For instance if I emerged a library (say libpcap) with
ROOT="/libs" and then tried to emerge wireshark (which depends on
libpcap) with ROOT="/analysis" I think that wireshark would fail to
start due to "missing" libraries. (Or it would pull in libpcap once more
and merge it into /analysis thus resulting in several installed copies
at once).
Please correct me if I should be mistaken.
Thanks for the help
Paul
Joshua Doll schrieb:
> Would ROOT="" in the emerge command work?
>
> --Joshua Doll
>
>
> Paul Sebastian Ziegler wrote:
> Hy everybody,
>
> can you please tell me if there is some way to set the install directory
> of an ebuild globally without changing the ebuild?
> Let me clarify:
> I want a few packages to not be merged under / directly but rather to be
> located under /something/*.
> I understand that the ebuilds contain directives of where to install the
> files through src_install(). However I don't believe it would be a good
> idea to edit ebuilds manually since it would lead to breakages during
> emerge --sync.
> So is there some file I can edit to change the install directory for a
> certain package?
> For example like setting
> wireshark /wifi
> firefox /stuff
> baselayout /
> (this is just a rough sketch of what I'm looking for.)
>
> All help would be greatly appreciated!
>
> Many Greetings
> Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGN4B6aHrXRd80sY8RCg0fAJ41Oa2OFoXAtZXC0x1upa5L/v96mwCg+pFL
FbaXM7poUpNFgJ/g0iGwXpE=
=0PAB
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting installation directories globally
2007-05-01 17:28 [gentoo-user] Setting installation directories globally Paul Sebastian Ziegler
[not found] ` <46377AB6.4040406@gmail.com>
@ 2007-05-02 1:29 ` Bo Ørsted Andresen
2007-05-02 2:03 ` Paul Sebastian Ziegler
1 sibling, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2007-05-02 1:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
On Tuesday 01 May 2007 19:28:06 Paul Sebastian Ziegler wrote:
> can you please tell me if there is some way to set the install directory
> of an ebuild globally without changing the ebuild?
> Let me clarify:
> I want a few packages to not be merged under / directly but rather to be
> located under /something/*.
> I understand that the ebuilds contain directives of where to install the
> files through src_install(). However I don't believe it would be a good
> idea to edit ebuilds manually since it would lead to breakages during
> emerge --sync.
> So is there some file I can edit to change the install directory for a
> certain package?
> For example like setting
> wireshark /wifi
> firefox /stuff
> baselayout /
> (this is just a rough sketch of what I'm looking for.)
Whats the purpose of this?
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting installation directories globally
2007-05-02 1:29 ` Bo Ørsted Andresen
@ 2007-05-02 2:03 ` Paul Sebastian Ziegler
2007-05-02 7:52 ` Alan McKinnon
0 siblings, 1 reply; 5+ messages in thread
From: Paul Sebastian Ziegler @ 2007-05-02 2:03 UTC (permalink / raw
To: gentoo-user
> Whats the purpose of this?
To create a very clear directory structure for a small binary Linux
distribution I am planning to build using Gentoo and Portage.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Setting installation directories globally
2007-05-02 2:03 ` Paul Sebastian Ziegler
@ 2007-05-02 7:52 ` Alan McKinnon
0 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2007-05-02 7:52 UTC (permalink / raw
To: gentoo-user
On Wednesday 02 May 2007, Paul Sebastian Ziegler wrote:
> > Whats the purpose of this?
>
> To create a very clear directory structure for a small binary Linux
> distribution I am planning to build using Gentoo and Portage.
>
You mean as in compile a bunch of stuff on a Gentoo host, write the
binaries to say /var/chroot/my-new-distro, chroot into it for testing,
then write the whole lot to an install media?
Sounds pretty much like how most binary distros are built. In which case
you define ROOT=<whatever> and let rip.
I would create a small -meta ebuild and put it in $PORTDIR/local/. It sets ROOT,
and DEPENDS on everything you want in the binary distro. Then emerge it
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-02 7:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01 17:28 [gentoo-user] Setting installation directories globally Paul Sebastian Ziegler
[not found] ` <46377AB6.4040406@gmail.com>
2007-05-01 18:01 ` Paul Sebastian Ziegler
2007-05-02 1:29 ` Bo Ørsted Andresen
2007-05-02 2:03 ` Paul Sebastian Ziegler
2007-05-02 7:52 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox