[Yaird-devel] Bug#431534: yaird: fails to create initrd when running on 2.6.22-rcX

Andreas Henriksson andreas at fatal.se
Fri Jul 13 06:06:05 UTC 2007


tags 431534 + patch
thanks

On tor, 2007-07-12 at 21:57 +0200, Fender Bender wrote:
> well i don't know alot of Perl but this patch fixed it for me :
> 

I _guess_ the solution is as simple as that. Personally I "solved" the
problem by installing initramfs-tools instead.
Thanks for your patch. I'm sending it over to the bug tracking system
and marking the bug appropriately.

> 
> --- InputTab.pm.OLD	2007-07-12 20:46:50.000000000 +0200
> +++ InputTab.pm	2007-07-12 20:48:11.000000000 +0200
> @@ -70,6 +70,12 @@
> 			# Do not keep track of this.
> 			# $work->{sysfs} = $1;
> 		}
> +
> +		elsif ($line =~ /^U: Uniq=(.*)$/) {
> +			# Do not keep track of this.
> +			# $work->{sysfs} = $1;
> +		}
> +
> 		elsif ($line =~ /^B: ([A-Z]+)=(.*)$/) {
> 			$work->{capabilities}{$1} = $2;
> 		}
> 
> 
> do a   patch -p0 <   in  /usr/lib/yaird/perl   and you should be fine 
> ...it's a quick and dirty patch but that Uniq tag doesn't seem to be 
> important
> 
> _________________________________________________________________
> Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
> http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!
> 





More information about the Yaird-devel mailing list