Summary: | sys-kernel/genkernel-3.5.2.0: mdadm support incoherent | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Patrick Lauer <patrick> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
![]() --mdadm|--no-mdadm) CMD_MDADM=`parse_optbool "$*"` print_info 2 "CMD_MDADM: $CMD_MDADM" if [ "$CMD_MDADM" = "1" -a ! -e /sbin/mdadm ] then echo 'Error: --multipath requires sys-fs/mdadm' echo ' to be installed on the host system.' exit 1 fi ;; ... wat? if [ -e '/sbin/mdadm' ] && LC_ALL="C" ldd /sbin/mdadm | grep -q 'not a dynamic executable' \ && [ -e '/sbin/mdmon' ] && LC_ALL="C" ldd /sbin/mdmon | grep -q 'not a dynamic executable' then print_info 1 ' MDADM: Adding support (using local static binaries /sbin/mdadm and /sbin/mdmon)...' cp /sbin/mdadm /sbin/mdmon "${TEMP}/initramfs-mdadm-temp/sbin/" || gen_die 'Could not copy over mdadm!' else print_info 1 ' MDADM: Adding support (compiling binaries)...' compile_mdadm /bin/tar -xpf "${MDADM_BINCACHE}" -C "${TEMP}/initramfs-mdadm-temp" || gen_die "Could not extract mdadm binary cache!"; fi So /sbin/mdadm may or may not be used anyway, and this check doesn't make any sense The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=de034a52625200a6ef0286540435f6c4bf55230c commit de034a52625200a6ef0286540435f6c4bf55230c Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2017-11-18 21:28:21 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2017-11-18 21:28:21 +0000 gen_cmdline: make --mdadm local binary requirement less strict Closes: https://bugs.gentoo.org/630314 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> gen_cmdline.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) |