On Thursday, 19 July 2007 05:20, Alon Bar-Lev wrote:
> On Wednesday 18 July 2007, Rafael J. Wysocki wrote:
> > On Wednesday, 18 July 2007 20:01, Alon Bar-Lev wrote:
> > > Hello,
> > > 
> > > I wounder why resume default location is at /usr/local/lib/suspend
> > > and not at /usr/local/sbin...
> > > 
> > > The resume is a program which is executed directly, right?
> > 
> > No, it's rather designed to be executed from an initrd/initramfs image.
> > 
> > The idea is that mkinitrd will copy the resume binary to the image from
> > /usr/local/lib/suspend .
> > 
> > Greetings,
> > Rafael
> > 
> > 
> 
> Please consider the following patch.
> So you can add new files as much as you like...

I'm going to apply it if there are no strong objections.

Thanks,
Rafael


> ---
> 
> --- suspend.org/Makefile      2007-05-15 22:32:48.000000000 +0300
> +++ suspend/Makefile  2007-07-19 06:17:48.000000000 +0300
> @@ -2,10 +2,11 @@
>  #CONFIG_ENCRYPT=yes
>  #CONFIG_SPLASHY=yes
>  #CONFIG_UDEV=yes
>  #CONFIG_RESUME_DYN=yes
>  
> -SUSPEND_DIR=/usr/local/sbin
> -RESUME_DIR=/usr/local/lib/suspend
> +PREFIX=/usr/local
> +SUSPEND_DIR=$(PREFIX)/sbin
> +RESUME_DIR=$(PREFIX)/lib/suspend
>  CONFIG_DIR=/etc
>  RESUME_DEVICE=<path_to_resume_device_file>
>  BOOT_DIR=/boot
> 


-- 
"Premature optimization is the root of all evil." - Donald Knuth

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to