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... Best Regards, Alon Bar-Lev. --- --- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel