public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./make.tmpl.in scripts/Makefile.in Date: Fri, 05 Nov 2010 16:13:00 -0000 [thread overview] Message-ID: <20101105161319.18965.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2010-11-05 16:13:19 Modified files: . : make.tmpl.in scripts : Makefile.in Log message: Add given user prefix to make target install_initscripts Avoid files to be written into the live system if lvm was configured with different --prefix. Use initdir for install target path. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.112&r2=1.113 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/Makefile.in.diff?cvsroot=lvm2&r1=1.18&r2=1.19 --- LVM2/make.tmpl.in 2010/10/07 16:33:35 1.112 +++ LVM2/make.tmpl.in 2010/11/05 16:13:18 1.113 @@ -64,6 +64,8 @@ staticdir = $(DESTDIR)@STATICDIR@ udevdir = $(DESTDIR)@udevdir@ pkgconfigdir = $(usrlibdir)/pkgconfig +initdir = $(DESTDIR)@sysconfdir@/rc.d/init.d + USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \ $(AWK) -f $(top_srcdir)/scripts/relpath.awk) --- LVM2/scripts/Makefile.in 2010/05/20 14:45:17 1.18 +++ LVM2/scripts/Makefile.in 2010/11/05 16:13:19 1.19 @@ -33,13 +33,13 @@ # FIXME Customise for other distributions install_initscripts: - $(INSTALL_DIR) $(DESTDIR)/etc/rc.d/init.d - $(INSTALL_SCRIPT) lvm2_monitoring_init_red_hat $(DESTDIR)/etc/rc.d/init.d/lvm2-monitor + $(INSTALL_DIR) $(initdir) + $(INSTALL_SCRIPT) lvm2_monitoring_init_red_hat $(initdir)/lvm2-monitor ifneq ("@CLVMD@", "none") - $(INSTALL_SCRIPT) clvmd_init_red_hat $(DESTDIR)/etc/rc.d/init.d/clvmd + $(INSTALL_SCRIPT) clvmd_init_red_hat $(initdir)/clvmd endif ifeq ("@BUILD_CMIRRORD@", "yes") - $(INSTALL_SCRIPT) cmirrord_init_red_hat $(DESTDIR)/etc/rc.d/init.d/cmirrord + $(INSTALL_SCRIPT) cmirrord_init_red_hat $(initdir)/cmirrord endif DISTCLEAN_TARGETS += clvmd_init_red_hat cmirrord_init_red_hat lvm2_monitoring_init_red_hat
reply other threads:[~2010-11-05 16:13 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20101105161319.18965.qmail@sourceware.org \ --to=zkabelac@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).