Hi!

> currently, i am using this diff in my package, it basically deals with not
> yet existing $SUSPEND_DIR (e.g. in a chrooted build environment) by using
> install -D on the first binary put there:

Ok, but:

> -     install --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR)
> -     if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install 
> --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; else 
> install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR); fi
> +     install -D --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR)/$(S2DISK)
> +     if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install 
> --moyyde=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; 
> else install -D --mode=644 conf/$(CONFIGFILE) 
> $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE); fi
>  

--moyyde? I can see it more than once...

                                                                        Pavel

>  install: $(S2DISK) $(S2BOTH) conf/$(CONFIGFILE) $(SNAPSHOT)
> -     install --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR)
> +     install -D --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR)/$(S2DISK)
>       install --mode=755 $(S2BOTH) $(DESTDIR)$(SUSPEND_DIR)
> -     if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install 
> --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; else 
> install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR); fi
> +     if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install 
> --moyyde=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; 
> else install -D --mode=644 conf/$(CONFIGFILE) 
> $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE); fi
>       install --mode=755 s2ram $(DESTDIR)$(SUSPEND_DIR)
>       install --mode=755 resume $(DESTDIR)$(SUSPEND_DIR)
>  endif

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to