View previous topic :: View next topic |
Author |
Message |
ialtywu n00b
Joined: 16 May 2002 Posts: 25
|
Posted: Thu Jul 11, 2002 3:20 am Post subject: Building without Merging |
|
|
I know that you can do an emerge -b foo and it will merge as well as store a binary tbz2 package _however_ I cannot find any flags for building a package _without_ merging. Is it possible to do this or must I unmerge a package after building? Will unmerging delete the binary package too? |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 11, 2002 4:28 am Post subject: |
|
|
You probably want something like this:
Code: | # ebuild /usr/portage/category/package/package-version.ebuild compile |
_________________ I don't believe in witty sigs. |
|
Back to top |
|
|
ialtywu n00b
Joined: 16 May 2002 Posts: 25
|
Posted: Thu Jul 11, 2002 4:46 pm Post subject: |
|
|
(sound one slapping self on forehead) forgot about trying 'ebuild' instead of 'emerge' . . . I will try this, many thanks. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 11, 2002 4:53 pm Post subject: |
|
|
Also, to make the tarball -- instead of using compile, do this:
Code: | # ebuild /usr/portage/category/package/package-version.ebuild install
# tar cjf package-version.tar.bz2 /var/tmp/portage/package-version/image/* |
Note that this does not install the ebuild into your filesystem, but rather into the image/ directory. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
ialtywu n00b
Joined: 16 May 2002 Posts: 25
|
Posted: Thu Jul 11, 2002 7:18 pm Post subject: |
|
|
Thanks for the additional insight Delta407 . . .
Will ebuild also take care of the necessary dependencies, and build the additional packages (if needed) like emerge will?
Just wanted to know before I go steamrolling into this.
Thanks again. |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Thu Jul 11, 2002 8:03 pm Post subject: |
|
|
delta407 wrote: | Also, to make the tarball -- instead of using compile, do this:
Code: | # ebuild /usr/portage/category/package/package-version.ebuild install
# tar cjf package-version.tar.bz2 /var/tmp/portage/package-version/image/* |
|
Why not Code: | # ebuild /usr/portage/category/package/package-version.ebuild package | ?
ialtywu wrote: | Will ebuild also take care of the necessary dependencies, and build the additional packages (if needed) like emerge will? |
No, only emerge will do this. _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 11, 2002 8:05 pm Post subject: |
|
|
fghellar wrote: | Why not Code: | # ebuild /usr/portage/category/package/package-version.ebuild package | ? |
Oh... yeah...
That'd be the easy way out. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
ialtywu n00b
Joined: 16 May 2002 Posts: 25
|
Posted: Thu Jul 11, 2002 8:14 pm Post subject: |
|
|
Ok, I think I am ready to give it a shot.
Thanks again folks, mucho appreciated. |
|
Back to top |
|
|
|