diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-12-20 08:48:44 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-12-20 08:48:44 +0000 |
commit | 489bea7ee8e1dbecfa517b8415568044ab57c73a (patch) | |
tree | 44d4878d4c7da3f4908ea9a765ef9b8f9c141756 /debian/patches/build-sys-no-check_rundir.patch |
mdadm (3.3.2-5) unstable; urgency=medium
* use-tempnode-not-devnode.patch: change udev rules file to use
$tempnode which works both on wheezy and jessie udev, instead
of $devnode which only works in jessie. At this stage it is
better to make rules file compatible with old version instead
of adding versioned dependency. Should be removed for jessie+1.
(Closes: #770883)
* fix Closes: list in previous entry (Closes: #771852)
# imported from the archive
Diffstat (limited to 'debian/patches/build-sys-no-check_rundir.patch')
-rw-r--r-- | debian/patches/build-sys-no-check_rundir.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/build-sys-no-check_rundir.patch b/debian/patches/build-sys-no-check_rundir.patch new file mode 100644 index 00000000..61f3a6f0 --- /dev/null +++ b/debian/patches/build-sys-no-check_rundir.patch @@ -0,0 +1,33 @@ +Subject: build-sys: do not depend on check_rundir for executables +From: Michael Tokarev <mjt@tls.msk.ru> +To: linux-raid@vger.kernel.org + +The problem is that the link lines will always be executed +even if the executables are up to date. + +If anything, this check_rundir should be a dependency of +install target, or some other "phony" target like this, +since check_rundir is phony by itself. + +Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> + +--- a/Makefile ++++ b/Makefile +@@ -172,7 +172,7 @@ everything-test: all mdadm.static swap_super test_stripe \ + # mdadm.uclibc and mdassemble.uclibc don't work on x86-64 + # mdadm.tcc doesn't work.. + +-mdadm : check_rundir $(OBJS) ++mdadm : $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS) + + mdadm.static : $(OBJS) $(STATICOBJS) +@@ -195,7 +195,7 @@ mdmon.O2 : $(MON_SRCS) $(INCL) mdmon.h + $(CC) -o mdmon.O2 $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(MON_LDFLAGS) -DHAVE_STDINT_H -O2 -D_FORTIFY_SOURCE=2 $(MON_SRCS) + + # use '-z now' to guarantee no dynamic linker interactions with the monitor thread +-mdmon : check_rundir $(MON_OBJS) ++mdmon : $(MON_OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS) + msg.o: msg.c msg.h + |