From: Michael Haubenwallner Date: Tue, 7 May 2019 12:49:25 +0000 (+0200) Subject: Fix parallel install issue in scrub subdir X-Git-Tag: v1.45.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e212d95fbb41c728e47aac024a0871f5bbc64fda;p=thirdparty%2Fe2fsprogs.git Fix parallel install issue in scrub subdir In scrub/Makefile the various 'install-*' targets do not explicitly depend on their corresponding 'installdirs-*' target, so they get run in parallel. Addresses-Gentoo-Bug: #680030 Signed-off-by: Lars Wendler Signed-off-by: Theodore Ts'o --- diff --git a/scrub/Makefile.in b/scrub/Makefile.in index f1e917fcf..10c2f43e9 100644 --- a/scrub/Makefile.in +++ b/scrub/Makefile.in @@ -105,25 +105,25 @@ installdirs: $(INSTALLDIRS_TGT) $(Q) $(MKDIR_P) $(DESTDIR)$(root_sbindir) \ $(DESTDIR)$(man8dir) $(DESTDIR)$(root_sysconfdir) -install-udev: +install-udev: installdirs-udev $(Q) for i in $(UDEV_RULES); do \ $(ES) " INSTALL $(UDEV_RULES_DIR)/$$i"; \ $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR)/96-$$i; \ done -install-crond: +install-crond: installdirs-crond $(Q) if test -n "$(CRONTABS)" ; then \ $(ES) " INSTALL $(CROND_DIR)/e2scrub_all" ; \ $(INSTALL_DATA) e2scrub_all.cron $(DESTDIR)$(CROND_DIR)/e2scrub_all ; \ fi -install-libprogs: $(LIBPROGS) +install-libprogs: $(LIBPROGS) installdirs-libprogs $(Q) for i in $(LIBPROGS); do \ $(ES) " INSTALL $(pkglibdir)/$$i"; \ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(pkglibdir)/$$i; \ done -install-systemd: $(SERVICE_FILES) +install-systemd: $(SERVICE_FILES) installdirs-systemd $(Q) for i in $(SERVICE_FILES); do \ $(ES) " INSTALL_DATA $(SYSTEMD_SYSTEM_UNIT_DIR)/$$i"; \ $(INSTALL_DATA) $$i $(DESTDIR)$(SYSTEMD_SYSTEM_UNIT_DIR)/$$i; \