Add mdadm

  • Hi

    I'm trying to add mdadm-4.1 and follow the howto from:

    LibreELEC RAID support – Artem Butusov Blog

    Compiling mdadm fails with:


    /usr/bin/install -D /home/user/ -m 755 mdadm /home/user/

    /usr/bin/install: target '/home/user/' is not a directory

    make[1]: *** [Makefile:246: install] Error 1

    make[1]: Leaving directory '/home/user/'

    FAILURE: scripts/install mdadm has failed!

    So under '/home/user/' there are only the folders bin, include, lib, share.

    Why is the folder sbin not created and compiling is failing?

  • ^ that seems to build under LE master, so probably builds under LE 9.2.x as well. You'll probably want to extend the package with a default conf that's copied to /storage/.config/mdadm.conf.sample etc. etc. .. lots of prior art for that in the build-system.