[Yaird-devel] Bug#391221: yaird: add uswsusp support

Modestas Vainius geromanas at mailas.com
Thu Oct 19 21:20:46 UTC 2006


Hi,

2006 m. spalis 11 d., trečiadienis 15:37, Peter Colberg rašė:
> * If the utility function mkcdev is used, additional shell variables
>   in TEMPLATE uswsusp are no longer needed.
I just copy-pasted that part from uswsusp initramfs script. I didn't know a 
cleaner solution existed. Thanks.

> * The resume command does not have to be checked for existence.
>   This is already done in the uswsusp plan at image build time.
>   In addition, the FILE directive will trigger a fatal error if the
>   binary is not available at build time.
Copy pasted that too. Thanks.

>
> +++ perl/Parser.pm
>
> > @@ -384,13 +385,32 @@
> >  		{
> >  			$return = {
> >  				type => 'resume',
> > -				value => @{$item{'pathname(?)'}}[0],
> > +				value => ${@item{'pathname(?)'}}[0],
> >  				origin => "$arg{fileName}:$prevline",
> >  			};
>
> * The above change was discarded, as it does not concern uswsusp
>   support. (This looks like a left-over from a previously altered
>   RESUME directive supporting multiple arguments. Not sure though...
>   my perl is a bit rusty :-).)
True, the above is not uswsusp related. And yeah, it should fix support for 
the RESUME directive with an argument. I know that should have been reported 
as a separate bug, but I was too lazy to do this at that time. However, I 
will do now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20061020/17e91c58/attachment-0001.pgp


More information about the Yaird-devel mailing list