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,

Attachment: signature.asc
Description: PGP signature

Reply via email to