mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:24:37 +08:00
fix mdadm
This commit is contained in:
parent
ca6871e5fd
commit
6dab112ae7
24
.gitignore
vendored
24
.gitignore
vendored
@ -7,12 +7,17 @@ src
|
|||||||
dbg
|
dbg
|
||||||
hdr
|
hdr
|
||||||
*~
|
*~
|
||||||
|
|
||||||
|
build-desktop.sh
|
||||||
build.sh
|
build.sh
|
||||||
|
check-database.sh
|
||||||
|
check-links.sh
|
||||||
|
check-so-files.sh
|
||||||
clean-builddir.sh
|
clean-builddir.sh
|
||||||
clean-workdir.sh
|
|
||||||
clean-database.sh
|
clean-database.sh
|
||||||
copy.sh
|
clean-workdir.sh
|
||||||
copy-any.sh
|
copy-any.sh
|
||||||
|
fakeuname
|
||||||
get-any.sh
|
get-any.sh
|
||||||
makepkg
|
makepkg
|
||||||
move.sh
|
move.sh
|
||||||
@ -21,19 +26,18 @@ pkgrels-increase.sh
|
|||||||
pkgrels-reset.sh
|
pkgrels-reset.sh
|
||||||
rebuildlist-build.sh
|
rebuildlist-build.sh
|
||||||
rebuildlist-generate.sh
|
rebuildlist-generate.sh
|
||||||
|
recreate-database.sh
|
||||||
|
remove.sh
|
||||||
repoclean-local.sh
|
repoclean-local.sh
|
||||||
repoclean-remote.sh
|
repoclean-remote.sh
|
||||||
show-config.sh
|
show-config.sh
|
||||||
show-pkglists.sh
|
show-pkglists.sh
|
||||||
sync-complete.sh
|
sign-remote-db.sh
|
||||||
sync-down.sh
|
sign-remote-pkg.sh
|
||||||
sync-up-nodb.sh
|
|
||||||
sync-up.sh
|
|
||||||
remove.sh
|
|
||||||
recreate-database.sh
|
|
||||||
upload.sh
|
|
||||||
upload-nodb.sh
|
|
||||||
unlock-database.sh
|
unlock-database.sh
|
||||||
|
upload-nodb.sh
|
||||||
|
upload.sh
|
||||||
|
|
||||||
|
|
||||||
*-cfg.conf
|
*-cfg.conf
|
||||||
*-makepkg.conf
|
*-makepkg.conf
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
pkgname=mdadm
|
pkgname=mdadm
|
||||||
pkgver=3.3.1
|
pkgver=3.3.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
|
pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
@ -22,10 +22,10 @@ source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.xz
|
|||||||
replaces=('raidtools')
|
replaces=('raidtools')
|
||||||
md5sums=('4227d48de62dfb217c92fa0c54171bbe'
|
md5sums=('4227d48de62dfb217c92fa0c54171bbe'
|
||||||
'5a37c112aa07dccdde62f9fa5b888607'
|
'5a37c112aa07dccdde62f9fa5b888607'
|
||||||
'af2f73f0094ebee66f503ca4710c7142'
|
'1c13620a503cad264b869ff27f00e5c6'
|
||||||
'fbfb7d07efcbaf5dc61af424c5f6e352'
|
'e7bb7410a435045b238c2fa4ae38021e'
|
||||||
'b6b0bfd6487c99264578630616dfe5eb'
|
'f2fc02195288251b42b4ccacacf42307'
|
||||||
'eb1786b18fa4d13cfd7b71d6b05cfb4f'
|
'3e98495cd8dc8fceb442be8e9c397a1a'
|
||||||
'599745ed2bec4489e83991cff89c46ee')
|
'599745ed2bec4489e83991cff89c46ee')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=MDADM Event Monitor
|
Description=MDADM Event Monitor
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/mdadm --monitor --scan
|
ExecStart=/usr/sbin/mdadm --monitor --scan
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -43,7 +43,7 @@ run_hook() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# assemble everything
|
# assemble everything
|
||||||
[ -s "$mdconfig" ] && /usr/bin/mdassemble
|
[ -s "$mdconfig" ] && /usr/sbin/mdassemble
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: set ft=sh ts=4 sw=4 et:
|
# vim: set ft=sh ts=4 sw=4 et:
|
||||||
|
@ -8,7 +8,7 @@ build() {
|
|||||||
echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays."
|
echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays."
|
||||||
add_file "/etc/mdadm.conf"
|
add_file "/etc/mdadm.conf"
|
||||||
fi
|
fi
|
||||||
add_binary "/usr/bin/mdassemble"
|
add_binary "/usr/sbin/mdassemble"
|
||||||
add_file "/usr/lib/udev/rules.d/63-md-raid-arrays.rules"
|
add_file "/usr/lib/udev/rules.d/63-md-raid-arrays.rules"
|
||||||
|
|
||||||
add_runscript
|
add_runscript
|
||||||
|
@ -9,7 +9,7 @@ build() {
|
|||||||
add_file "/etc/mdadm.conf"
|
add_file "/etc/mdadm.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_binary "/usr/bin/mdadm"
|
add_binary "/usr/sbin/mdadm"
|
||||||
add_file "/usr/lib/udev/rules.d/63-md-raid-arrays.rules"
|
add_file "/usr/lib/udev/rules.d/63-md-raid-arrays.rules"
|
||||||
add_file "/usr/lib/udev/rules.d/64-md-raid-assembly.rules"
|
add_file "/usr/lib/udev/rules.d/64-md-raid-assembly.rules"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user