Skip to content

Commit

Permalink
Merge pull request #784 from mariux64/rebuild-mdadm
Browse files Browse the repository at this point in the history
Build mdadm with mdcheck tool
  • Loading branch information
pmenzel authored May 23, 2018
2 parents 5b84c7f + ef66bfb commit 8659cfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 49 deletions.
47 changes: 0 additions & 47 deletions mdadm-fixup.be0

This file was deleted.

8 changes: 6 additions & 2 deletions mdadm.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION mdadm-4.0-0
# BEE_VERSION mdadm-4.0-1

## The source URL(s) array
SRCURL[0]="https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${PKGVERSION}.tar.xz"
Expand Down Expand Up @@ -32,7 +32,7 @@ SRCURL[0]="https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${PKGVERSION}
#}

mee_build() {
bee_build -j1 everything
bee_build CXFLAGS="-Wno-error=implicit-fallthrough -Wno-error=format-overflow -Wno-error=format-truncation" mdadm mdmon test_stripe raid6check
}

## mee_install() should install into "${D}"
Expand All @@ -46,4 +46,8 @@ mee_install_post() {
start_cmd install -D -m 755 ${S}/test_stripe ${D}${BINDIR}
start_cmd install -D -m 755 ${S}/raid6check ${D}${BINDIR}
start_cmd install -D -m 644 ${S}/raid6check.8 ${D}${MANDIR}/man8
start_cmd install -D -m 755 ${S}/misc/mdcheck ${D}${BINDIR}
rm ${D}/lib/udev/rules.d/63-md-raid-arrays.rules
rm ${D}/lib/udev/rules.d/64-md-raid-assembly.rules
rmdir ${D}/lib/udev/rules.d ${D}/lib/udev ${D}/lib
}

0 comments on commit 8659cfe

Please sign in to comment.