diff --git a/hardware/disk/mdadm/actions.py b/hardware/disk/mdadm/actions.py
index ba160ddc..cee9c766 100644
--- a/hardware/disk/mdadm/actions.py
+++ b/hardware/disk/mdadm/actions.py
@@ -11,18 +11,18 @@ from pisi.actionsapi import shelltools
def builddiet():
autotools.make("clean")
- shelltools.export("CC", "diet %s %s %s %s -DHAVE_STDINT_H -Os -static" % (get.CC(), get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS()))
+ shelltools.export("GCC", "diet %s %s %s %s -DHAVE_STDINT_H -Os -static" % (get.CC(), get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS()))
autotools.make("mdadm.static")
- autotools.make("mdassemble.static")
+ #autotools.make("mdassemble.static")
pisitools.insinto("/sbin", "mdadm.static")
- pisitools.insinto("/sbin", "mdassemble.static")
+ #pisitools.insinto("/sbin", "mdassemble.static")
def build():
# fix build with gcc-4.9.0
pisitools.dosed("Makefile", "(Wall) -Werror", "\\1")
# Not sure about MDASSEMBLE_AUTO=1. Need to investigate.
- autotools.make("SYSCONFDIR=/%s MDASSEMBLE_AUTO=1 mdadm mdmon" % get.confDIR())
+ autotools.make("SYSCONFDIR=/%s MDASSEMBLE_AUTO=1 mdadm mdmon" % get.confDIR())
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/hardware/disk/mdadm/pspec.xml b/hardware/disk/mdadm/pspec.xml
index 9fbaa364..ae52e3fc 100644
--- a/hardware/disk/mdadm/pspec.xml
+++ b/hardware/disk/mdadm/pspec.xml
@@ -12,13 +12,12 @@
app:console
Utility to control Linux MD devices (software RAID arrays)
mdadm is used to create, manage, and monitor Linux MD (software RAID) devices.
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.2.tar.xz
+ https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.1.tar.xz
dietlibc
- eudev-devel
- disable-werror.patch
+ sysmacros.patch
@@ -58,9 +57,9 @@
-
+
2023-11-08
- 4.2
+ 4.1
Version bump.
Mustafa Cinasal
muscnsl@gmail.com