Also you should be able to build packages from installed software and it could depending on config make use of make.conf to be more optimized for your laptop.
Keep one isntalled SL copy nice and clean no testing only defaults and then chroot or virtualbox / vmware and try things in there say on usb hd that can be booted from for testing how well it works as alternative to vmware /virtualbox running / testing.
Have a look at this below to help with this as it is gentoo specific and can with a bit of tweaking work for you.
layman overlay of sabayon was close to the entropy tree last time but might have changed in the last 2 weeks and will get back to entropy if not there already.
Work with what you know and are comfortable with.
- Code: Select all
http://en.gentoo-wiki.zugaina.org/index.php/HOWTO_setup_a_PORTAGE_BINHOST_serve
r
Configure your make.conf (server side)
Now, we will prepare portage to build binary packages from now on:
FEATURES="buildpkg"
W-EDIT> FEATURES="buildpkg fixpackages"
W-EDIT> AUTOCLEAN="NO" # can manually clean out later using "eclean" and "emaint"
W-EDIT> source for PKGDIR="/var/lib/entropy/.....packages/4/ # destination for packages should be another folder, you can use a loop mount and "localhost/somefolder/somefile" for the BINHOST="127.0.0.1/...../var/lib/.../packages/4"
and set the PKGDIR="/home/testing" as destination, this idea needs fine tunning / correct wording/commands.
Orriginal text ->
Or just add "buildpkg" somewhere in between the quotes if a FEATURES lines is already present. If buildpkg was not previously set in make.conf then you need to manually create the binary tarfiles that will be used by the clients. This makes binaries of everything in 'world':
cd /var/db/pkg/; for i in */*; do echo $i; done | while read package; do quickpkg --include-config=y =$package; done
Or if you prefer, a more compact form:
cd /var/db/pkg/; for i in */*; do quickpkg --include-config=y =$i; done
You might need to emerge gentoolkit to be able to use quickpkg, if it is not already present on your system.
Built packages can be found under /usr/portage/packages/All/.
This little workaround is needed because now we are acting as root:
chown -R portage:portage /usr/portage/packages/
Depending on your settings, you might need to do this as well:
find /usr/portage/packages/ -type d -exec chmod 755 '{}' \;
find /usr/portage/packages/ -type f -exec chmod 644 '{}' \;
W-EDIT> obviously change this to your PKGDIR="/home/testing" folder
From now on, as we will be using the buildpkg feature, all the permissions *should* be correct. But have this in mind just in case.
Hope this helps, Shout if we can help smoe more.
PS> Git SL tree is not yet ready for mainstream SL usage / in the works for later implementation. Layman will git sabayon.