mdadm-4.1

This commit is contained in:
Rmys
2023-11-09 12:04:03 +03:00
committed by GitHub
parent 5df8d091ba
commit 2218a79354
2 changed files with 8 additions and 9 deletions
+4 -4
View File
@@ -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())
+4 -5
View File
@@ -12,13 +12,12 @@
<IsA>app:console</IsA>
<Summary>Utility to control Linux MD devices (software RAID arrays)</Summary>
<Description>mdadm is used to create, manage, and monitor Linux MD (software RAID) devices.</Description>
<Archive sha1sum="27f240cff200e00c28a486a028bcdb14f67f8790" type="tarxz">https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.2.tar.xz</Archive>
<Archive sha1sum="4bbbd02674ac67dc9773f41aace7677aa5374c1c" type="tarxz">https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>dietlibc</Dependency>
<Dependency>eudev-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>disable-werror.patch</Patch>
<Patch level="1">sysmacros.patch</Patch>
</Patches>
</Source>
@@ -58,9 +57,9 @@
</Package>
<History>
<Update release="8">
<Update release="8">
<Date>2023-11-08</Date>
<Version>4.2</Version>
<Version>4.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>