Skip to content

Commit

Permalink
mdadm: also install mdmon
Browse files Browse the repository at this point in the history
This commit adjusts the mdadm package to also install the mdmon
utility, which is used to "monitor MD external metadata arrays". It
adds ~250 KB to the installed size:

-rwxr-xr-x 1 thomas thomas 446064 Oct 14 21:55 mdadm
-rwxr-xr-x 1 thomas thomas 244672 Oct 14 21:55 mdmon

Fixes bug #11376.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  • Loading branch information
tpetazzoni authored and jacmet committed Oct 15, 2018
1 parent 0500d1a commit 45498bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/mdadm/mdadm.mk
Expand Up @@ -16,13 +16,13 @@ define MDADM_BUILD_CMDS
CFLAGS="$(TARGET_CFLAGS) -DNO_COROSYNC -DNO_DLM" \
CPPFLAGS="$(TARGET_CPPFLAGS) -DBINDIR=\\\"/sbin\\\"" \
CHECK_RUN_DIR=0 \
mdadm
mdadm mdmon
endef

define MDADM_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
DESTDIR=$(TARGET_DIR) \
install-mdadm
install-mdadm install-mdmon
endef

$(eval $(generic-package))

0 comments on commit 45498bb

Please sign in to comment.