From: Simon <turner25@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Binary package cruncher?
Date: Sat, 15 Nov 2008 12:40:50 -0500 [thread overview]
Message-ID: <491F09A2.7040506@gmail.com> (raw)
Hey there!
I've purchased a linode some time ago because my hardware is very (*very*)
old and it was taking very long to do updates. Now, what I've done is I've
setup my linode to be exactly the same as my host, portage-wise. And on the
linode, I have installed the sum of all packages that are installed on all my
PCs at home... this way, when doing a `emerge -uDN world` on the linode, all
packages are updated for all my machines (no fancy scripts to compile each
machine's pkg independantly, etc).
So, this is a binary package maker (or cruncher as it does it really well!).
However, one detail that is interesting is that to make sure all compilations
work fine, I decided to really install everything on the host, yes, including
stuff that requires a X server and so on (which I never use on the host).
This is fine with me except it's taking a lot of space to have all that
around... so, since my host is really fast, i thought it might not be a problem
for me to build dependencies in a sandbox, build the program, keep only the
binpkg and remove everything including the dependencies that "had to be
installed" for proper compilation.
Ideally, I would see my file /var/lib/portage/world to contain strictly the
software used on the host (ie. apache, mysql, etc...) and another file like
/var/lib/portage/binworld which would contain all that is in world plus all the
other packages that are in the worlds of my other PCs. Packages in binworld
would be compiled, as well as their dependancies. However, if a binpkg is
available for a dependancy, then this one is used instead. And this way, all
the "ghost" dependancies and "ghost" packages will all be compiled exactly as it
is now, with some overhead for decompressing the deps binpkg for each pkg
compilation.
This is not super efficient, but the way I've thought it, should be simple to
do... a simple gentoo hack so to speak. However, I'm wondering if anybody has
suggestion for better ways to do this and if you could give me pointers to such
projects. Also keep in mind that I really really want to update ALL my PCs with
a single `emerge -uDN world` on the host, then copy new pkgs (using rsync or
other) to the PCs and do an `emerge -k -uDN world` on them. Nothing more. (So
unless your suggestion is simpler than my current (fully installed) setup,
please tell me!)
Thanks in advance!
Simon
next reply other threads:[~2008-11-15 22:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-15 17:40 Simon [this message]
2008-11-16 10:05 ` [gentoo-user] Binary package cruncher? Alan McKinnon
2008-11-16 11:16 ` Peter Humphrey
2008-11-16 15:03 ` Simon
2008-11-16 14:59 ` Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491F09A2.7040506@gmail.com \
--to=turner25@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox