Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 56 lines (40 sloc) 1.31 KB
#!/usr/bin/env beesh
# BEE_VERSION mdadm-4.1-1
## The source URL(s) array
SRCURL[0]="https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${PKGVERSION}.tar.xz"
## Add URLs/pathes to patch files
PATCHURL+=(/src/mariux/patches/mdcheck-Log-when-done.patch)
## 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 mdadm mdmon test_stripe raid6check
}
## mee_install() should install into "${D}"
## default: 'make install DESTDIR="${D}"'
#mee_install() {
# bee_install
#}
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/01-md-raid-creating.rules
rm ${D}/lib/udev/rules.d/63-md-raid-arrays.rules
rm ${D}/lib/udev/rules.d/64-md-raid-assembly.rules
rm ${D}/lib/udev/rules.d/69-md-clustered-confirm-device.rules
rmdir ${D}/lib/udev/rules.d ${D}/lib/udev ${D}/lib
}