View previous topic :: View next topic |
Author |
Message |
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Wed Jun 26, 2002 8:39 pm Post subject: building tbz2 packages WITHOUT merging |
|
|
Is there a way to have portage build a tbz2 package but not merge it? |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Wed Jun 26, 2002 9:56 pm Post subject: |
|
|
Use ebuild command instead of emerge. man ebuild for more info.
In a nutshell:
Code: | ebuild <ebuild_file> fetch
ebuild <ebuild_file> unpack
ebuild <ebuild_file> compile
ebuild <ebuild_file> install
ebuild <ebuild_file> package |
_________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
kachaffeous Tux's lil' helper
Joined: 07 Jun 2002 Posts: 86
|
Posted: Thu Jun 27, 2002 11:38 am Post subject: |
|
|
ebuild package still merges the files (I think) |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 3:37 pm Post subject: |
|
|
It says in the manual that it doesn't install it, I'm gonna try it out. |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 3:41 pm Post subject: |
|
|
does running ebuild <ebuild_file> package download any dependencies? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 3:43 pm Post subject: |
|
|
no, but you can use the 'check' option to see if dependencies are satisfied.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 3:59 pm Post subject: |
|
|
Ok, actually I don't want the dependencies to be sastisfied its compiling for a different computer, my next main problem is how to I Get it to use different CFALGS CXXFLAGS and USE Variables only when calling ebuild <BLAHBLAH> package from the script that I'm writing? theres so many different config files. is there a way to specify them on the command line? or something like that? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 4:55 pm Post subject: |
|
|
metalhedd wrote: | is there a way to specify them on the command line? or something like that? |
Code: | export USE="your use variables here" |
Should work for CFLAGS, etc. as well.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 5:09 pm Post subject: |
|
|
kliebar, how would I get them to go back to the regular ones after? Could I just use unset, then when portage tries to use it it will read the files again? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 5:12 pm Post subject: |
|
|
metalhedd wrote: | Could I just use unset, then when portage tries to use it it will read the files again? |
yes.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 5:13 pm Post subject: |
|
|
Perfect, thanks |
|
Back to top |
|
|
|