Re: [gentoo-user] @preserved-rebuild gone in a loop

2013-12-15 Thread Benjamin Block
On 09:51 Sun 15 Dec , Mick wrote:
 Not sure why, but for some reason running emerge @preserved-rebuild does not 
 seem to fix some preserved libs links:
 
 !!! existing preserved libs:
  package: x11-libs/pango-1.34.1
  *  - /usr/lib/libpangox-1.0.so.0
  *  - /usr/lib/libpangox-1.0.so.0.3000.1
 
 This is all caused by some hack I have in my local portage for app-
 antivirus/avast4workstation-1.3.0-r2.  No matter how many times I run 
 @preserved-rebuild the libs in question keep coming up:
 

Most of the times, when some binary packages on my systems do cause
something like this, then I just unemerge the package that keeps
recompiling and emerge it again afterwards. This will cause the portage
to drop the library-references in question and add new ones.

So, this should do the trick:

emerge -C app-antivirus/avast4workstation
emerge -1 app-antivirus/avast4workstation


- Benjamin



[gentoo-user] is there a good independent power-manager?

2013-12-07 Thread Benjamin Block
Hi,

after the recent stabilization of gnome3 I want to migrate away from the
whole gnome-toolchain. Maybe I will migrate to systemd in some months, if
everything has settled down but as for now I don't think I gain anything
from it.

The thing is, on my laptop I used to use the gnome-power-manager along
with cpufreqd and laptop-mode to manage battery-mode. Is there any good
replacement for this tool that doesn't belong to one of the big
desktop-environments (I use i3 since 2 years ago)?

best regards,
- Benjamin



Re: [gentoo-user] creating an image of the system

2013-09-09 Thread Benjamin Block
On 08:30 Mon 09 Sep , Michael Hampicke wrote:
 Am 08.09.2013 20:51, schrieb Benjamin Block:
  Hej folks,
  
  I wonder what is a good way to create an image of a gentoo-system, so
  that one can apply it later to the same or other computers.
  
  In my case it is a rather simple setup: one partition, no encryption or
  lvm. Its a debug-setup, so its only used for certain programming-tasks
  and not for daily work, so no need for something fancy. The time I setup
  that system I also used only conservative compilation-flags and
  optimisation, so that it can be used on other CPUs (well, they have to
  be x86_64 and have to have mmx/sse[23] - but I think every setup that I
  intend to use this on will have these properties).
  
  So I reckon that one could just use tar with permission-preservation and
  some excludes like dev/sys/proc/tmp. But is this a good idea or is there
  a better way to do this? I never cloned a gentoo-system, so thats why I
  would like to be at least somewhat sure about it, so that I don't have
  to reconfigure it later again, because I messed it up :D
  
 
 Tar with permission preservation is fine. Just exlude everything in
 dev/sys/proc/tmp as you said. But make sure, that these directories are
 in your tar file, it does not matter if they are empty, but they have to
 exist in order to boot proplery.
 
 One special case. To boot you most likely will need /dev/console and
 /dev/null. Just inlcude those two device nodes in your tar file.
 

Thanks for pointing that out, but why are these both special? Seems to
me like these are also (char)device-nodes and shouldn't they also be
generated by the kernel with DEVTMPFS and then udev at a very early
init-stage?

 Optionally use compression (gz, bz2, xz, ...) on your tar to safe some
 space.
 


- Ben



Re: [gentoo-user] creating an image of the system

2013-09-09 Thread Benjamin Block
On 17:07 Sun 08 Sep , Dale wrote:
 Mick wrote:
  On Sunday 08 Sep 2013 19:51:25 Benjamin Block wrote:
  Hej folks,
 
  I wonder what is a good way to create an image of a gentoo-system, so
  that one can apply it later to the same or other computers.
 
  In my case it is a rather simple setup: one partition, no encryption or
  lvm. Its a debug-setup, so its only used for certain programming-tasks
  and not for daily work, so no need for something fancy. The time I setup
  that system I also used only conservative compilation-flags and
  optimisation, so that it can be used on other CPUs (well, they have to
  be x86_64 and have to have mmx/sse[23] - but I think every setup that I
  intend to use this on will have these properties).
 
  So I reckon that one could just use tar with permission-preservation and
  some excludes like dev/sys/proc/tmp. But is this a good idea or is there
  a better way to do this? I never cloned a gentoo-system, so thats why I
  would like to be at least somewhat sure about it, so that I don't have
  to reconfigure it later again, because I messed it up :D
 
  best regards,
  - Ben
 
  You're referring to a 'stage 4' iso.  Have a look at this M/L perhaps
 5 years
  back when I recall someone posting a thread about it.
 
  There may also be a thread in the forums and potentially the (old) wiki.
 
 
 http://www.gentoo-wiki.info/HOWTO_Custom_Stage4
 
 http://wiki.gentoo.org/wiki/Backup
 
 One of those should help.  If not, Google for Gentoo starge4 without
 the quotes of course.
 

ok, thank you both for pointing out how this is called and the links.
Could have thought of stage 4 myself, it's somewhat logic ;)


- Ben



[gentoo-user] creating an image of the system

2013-09-08 Thread Benjamin Block
Hej folks,

I wonder what is a good way to create an image of a gentoo-system, so
that one can apply it later to the same or other computers.

In my case it is a rather simple setup: one partition, no encryption or
lvm. Its a debug-setup, so its only used for certain programming-tasks
and not for daily work, so no need for something fancy. The time I setup
that system I also used only conservative compilation-flags and
optimisation, so that it can be used on other CPUs (well, they have to
be x86_64 and have to have mmx/sse[23] - but I think every setup that I
intend to use this on will have these properties).

So I reckon that one could just use tar with permission-preservation and
some excludes like dev/sys/proc/tmp. But is this a good idea or is there
a better way to do this? I never cloned a gentoo-system, so thats why I
would like to be at least somewhat sure about it, so that I don't have
to reconfigure it later again, because I messed it up :D

best regards,
- Ben