Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Ryan Tandy

Teresa and Dale wrote:

Could you put /usr/portage on a dvd and just mount it there?


Don't put the whole of /usr/portage on the DVD, since all the ebuilds 
etc you won't be using are a waste of space.  Rather, just put packages/ 
on the DVD, and mount it there.



You could also use a NFS to access
the files.  Just put all the souce tarballs on one machine and share
them with the rest.  Just a idea.


IMO this is a better idea, since you can have access to the entire tree 
if you need it, and you don't need to waste money on DVDs.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Iain Buchanan
On Fri, 2006-06-02 at 00:36 -0500, Teresa and Dale wrote:
 Iain Buchanan wrote:
 
 Hi all,
 
 I use gentoo on small industrial-pc's, and strip out a lot of stuff that
 just takes up space, such as /usr/portage.
 
 Could you put /usr/portage on a dvd and just mount it there?  A dvd
 should hold a lot of source files.  You could also use a NFS to access
 the files.  Just put all the souce tarballs on one machine and share
 them with the rest.  Just a idea.

These PC's have no removable media drives, and when they go into the
field, they don't have any other hosts around them to share with.  I
want to be able to dial up and install the odd package that I forgot to
test properly at the office :)

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

  If I could drop dead right now, I'd be the happiest man alive!
  -Samuel Goldwyn

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Neil Bothwick
On Fri, 02 Jun 2006 13:14:38 +0930, Iain Buchanan wrote:

 I use gentoo on small industrial-pc's, and strip out a lot of stuff that
 just takes up space, such as /usr/portage.
 
 I made a binary package with quickpkg, to install (with emerge --usepkg)
 on one of these PC's, but it complains about lots of stuff missing.

It would, if you have no portage tree.

 So, if I want to do without /usr/portage, can I just install binary
 packages by untarring them to / ?  Or is there other essential stuff
 that emerge does when you install a binary package?

That depends on the ebuild. Check to see if it has any preinst or
postinst instructions. If so, you'll have to arrange for these to be
handled manually. Apart fro that, you should be able to unpack the
tarball to /. You can safely ignore the error from tar about trailing
garbage, portage tacks environment information onto the end of the tar.

Rather than use quickpkg, it would probably be better to add buildpkg to
FEATURES on the build box. That way you'll get the packages built
automatically.


-- 
Neil Bothwick

Of course it's not your day,


signature.asc
Description: PGP signature


Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Daniel da Veiga

On 6/2/06, Iain Buchanan [EMAIL PROTECTED] wrote:

Hi all,

I use gentoo on small industrial-pc's, and strip out a lot of stuff that
just takes up space, such as /usr/portage.


Just take out space?! Ok, I know you must strip down stuff, but
portage is the heart of Gentoo, without it, you strip your
administrative tools also.



I made a binary package with quickpkg, to install (with emerge --usepkg)
on one of these PC's, but it complains about lots of stuff missing.


You have no portage tree, you can't install using emerge...



So, if I want to do without /usr/portage, can I just install binary
packages by untarring them to / ?  Or is there other essential stuff
that emerge does when you install a binary package?


You can, but its not certain to work, because there is more stuff
involved in installing an app than just putting files at the right
places. Note I'm not saying it won't work, it MAY work, but you can't
guarantee. Many packages have post-install scripts, and some need
checking to see if the environment is sane before install.



I would appreciate comments on how to make this work - maybe by just
leaving an essential subset of /usr/portage.  Note, that I know I won't
be able to emerge anything from source without most of the /usr/portage
stuff, but I'm happy with that, as all these PC's are close images of
each other, and we have one master copy with a larger HD.


If I were you (that's MHO) I would leave portage there, its not THAT
big anyway... But if there's no way to leave it and you're looking for
alternative ways to do it, you'll have to put portage somewhere (disc,
network, usb stick, second hard drive) to use emerge.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Matthew Cline

On 6/1/06, Iain Buchanan [EMAIL PROTECTED] wrote:

Hi all,

I use gentoo on small industrial-pc's, and strip out a lot of stuff that
just takes up space, such as /usr/portage.



Depending on how much free space you have available, you could send a
copy of the portage tree along with the binary package. If you pack
/usr/portage into a squashfs, it only takes up about 25 megs. Mount
the image, install your binary package.



HTH,

Matt
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-02 Thread Bo Ørsted Andresen
Friday 02 June 2006 05:44 skrev Iain Buchanan:
 I use gentoo on small industrial-pc's, and strip out a lot of stuff that
 just takes up space, such as /usr/portage.

 I made a binary package with quickpkg, to install (with emerge --usepkg)
 on one of these PC's, but it complains about lots of stuff missing.

 So, if I want to do without /usr/portage, can I just install binary
 packages by untarring them to / ?  Or is there other essential stuff
 that emerge does when you install a binary package?

 I would appreciate comments on how to make this work - maybe by just
 leaving an essential subset of /usr/portage.  Note, that I know I won't
 be able to emerge anything from source without most of the /usr/portage
 stuff, but I'm happy with that, as all these PC's are close images of
 each other, and we have one master copy with a larger HD.

You could just exclude parts of the tree that you're not going to use thereby 
minimizing the size of the tree...

http://gentoo-wiki.com/TIP_Exclude_categories_from_emerge_sync

-- 
Bo Andresen


pgpWLjgTLPLAf.pgp
Description: PGP signature


[gentoo-user] installing a binary package without /usr/portage

2006-06-01 Thread Iain Buchanan
Hi all,

I use gentoo on small industrial-pc's, and strip out a lot of stuff that
just takes up space, such as /usr/portage.

I made a binary package with quickpkg, to install (with emerge --usepkg)
on one of these PC's, but it complains about lots of stuff missing.

So, if I want to do without /usr/portage, can I just install binary
packages by untarring them to / ?  Or is there other essential stuff
that emerge does when you install a binary package?

I would appreciate comments on how to make this work - maybe by just
leaving an essential subset of /usr/portage.  Note, that I know I won't
be able to emerge anything from source without most of the /usr/portage
stuff, but I'm happy with that, as all these PC's are close images of
each other, and we have one master copy with a larger HD.

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installing a binary package without /usr/portage

2006-06-01 Thread Teresa and Dale
Iain Buchanan wrote:

Hi all,

I use gentoo on small industrial-pc's, and strip out a lot of stuff that
just takes up space, such as /usr/portage.

I made a binary package with quickpkg, to install (with emerge --usepkg)
on one of these PC's, but it complains about lots of stuff missing.

So, if I want to do without /usr/portage, can I just install binary
packages by untarring them to / ?  Or is there other essential stuff
that emerge does when you install a binary package?

I would appreciate comments on how to make this work - maybe by just
leaving an essential subset of /usr/portage.  Note, that I know I won't
be able to emerge anything from source without most of the /usr/portage
stuff, but I'm happy with that, as all these PC's are close images of
each other, and we have one master copy with a larger HD.

thanks,
  



Could you put /usr/portage on a dvd and just mount it there?  A dvd
should hold a lot of source files.  You could also use a NFS to access
the files.  Just put all the souce tarballs on one machine and share
them with the rest.  Just a idea.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list