diff --git a/mdadm-fixup.be0 b/mdadm-fixup.be0 deleted file mode 100755 index 55fb7a39b..000000000 --- a/mdadm-fixup.be0 +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env beesh - -# BEE_VERSION mdadm-fixup-4.0-0 - -## The source URL(s) array -# SRCURL[0]= - -## Add URLs/pathes to patch files -# PATCHURL+=() - -## files that should not be added from the image directory. -# EXCLUDE+=() - -## uncomment to change default -# build_in_sourcedir - -## specify different source directory -# sourcesubdir_append src - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -#mee_configure() { -# bee_configure -#} - -#mee_build() { -# bee_build -j1 everything -#} - -## mee_install() should install into "${D}" -## default: 'make install DESTDIR="${D}"' - -#mee_install() { -# bee_install -#} - -mee_install_post() { - start_cmd mkdir -vp ${D}/etc/udev/rules.d - start_cmd ln -vs /dev/null ${D}/etc/udev/rules.d/63-md-raid-arrays.rules - start_cmd ln -vs /dev/null ${D}/etc/udev/rules.d/64-md-raid-assembly.rules -} diff --git a/mdadm.be0 b/mdadm.be0 index 4f441a2ba..85d63896b 100755 --- a/mdadm.be0 +++ b/mdadm.be0 @@ -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" @@ -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}" @@ -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 }