Re: [gentoo-user] abit AI7 - acpi, ht

2005-04-20 Thread Roy O. Wright
On my GigaByte MB, HT is enabled via BIOS.  You might want to poke 
around there...

HTH,
Roy
Cosmin Nicolaescu wrote:
2 things I noticed:
1. CPU: Hyper-Threading is disabled (why? how do you enable HT?)
2. ACPI: Thermal Zone [THRM] (20 C) (even from here it's always reporting
20 - aka 68F)
Thanks for your help, I really appreciate it.
- -Cos
 

--
gentoo-user@gentoo.org mailing list


[gentoo-user] script to recursively unmask a package

2005-04-28 Thread Roy O. Wright
Howdy,
I was wanting to install just kdebase-3.4.0 without unmasking all of 
kde-3.4.0.  The "HOWTO
Update KDE 3.3 to KDE 3.4" 
(http://www.gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4)
suggested running emerge kdebase -p, find a package that is blocking, 
then add that package to
/etc/portage/packages.keywords, and repeat until no more packages are 
blocking.  Tedious. 
So here's a perl script to do just that.  It will work for any package.

Usage:  unmask.pl packageName
-- begin: unmask.pl 
#!/usr/bin/perl -w
# quick hack to recursively unmask all packages that are blocking the given
# package from emerging.
# usage: unmask.pl packageName
print "unmasking:=$ARGV[0]\n";
&doit;
exit(0);
# doit()
sub doit {
   local $flag = 1;
   local $package = $ARGV[0];
   while($flag) {
   $flag = 0;
   open my $fh, "emerge $package -p|" || die "could not open: 
emerge $package -p";
   while(<$fh>) {
   if(/^\-\s+(.*)\-[\d\.]+\s+\(masked 
by\:\s+(\~\S+)\s+keyword\)/) {
   unmask($1, $2);
   $flag = 1;
   last;
   }
   }
   close($fh);
   }
}

# unmask the file by adding it to /etc/portage/package.keywords
sub unmask
{
   local($name, $arch) = @_;
   print "unmasking: $name\n";
   open my $fh, ">>/etc/portage/package.keywords" || die "can't open 
package.keywords: $!";
   print $fh "$name $arch\n";
   close $fh;
}
-- end: unmask.pl 

Have fun,
Roy
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] script to recursively unmask a package

2005-05-02 Thread Roy O. Wright
Howdy,
I'm trying to figure out how to make an ebuild for this (my first 
ebuild).  It's kind of too simple for
the normal ebuild examples.  I.e., no make needed, just a cp and chmod.

Also there is a small correction needed to a regex in it to handle -rN 
and _pN
packages.

   if(/^\-\s+(.*)\-[\d\.]+\s+\(masked 
by\:\s+(\~\S+)\s+keyword\)/) {

should be changed to:
   if(/^\-\s+(.*)\-[\d\.]+[\_\-a-zA-Z\d]*\s+\(masked 
by\:\s+(\~\S+)\s+keyword\)/) {

Have fun,
Roy
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Using the Cryptographic File System as your home directory

2005-05-04 Thread Roy O. Wright
Please!
If you want beta testers for your howto, I'm game with a fresh install 
of Gentoo on
an old PC (Athlon 800 and yes, last night was it's first night not 
running emerge ;-)

Thank you,
Roy
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: [OT] - BIOS after Gentoo is up

2005-05-05 Thread Roy O. Wright
Howdy,
Just did a search "linux xbox bios" and hit http://xbox-linux.org which 
sounds like exactly what
you are looking for.

HTH,
Roy
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Howl build error

2005-05-08 Thread Roy O. Wright
I had the same problem.  I used the latest masked version of howl and 
got around it.

HTH,
Roy
--
gentoo-user@gentoo.org mailing list