Skip to content

Build mdadm with mdcheck tool #784

Merged
merged 7 commits into from
May 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}