diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-08-17 14:27:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-24 07:53:14 +0100 |
commit | 238e027f20431c8c6e4b532e0afe04c40ad14e34 (patch) | |
tree | 1b3cd1e414b1a5d209d310ed5c7e39ead796862f | |
parent | 409c8a32659ac707d427cd4cdcd105eb17d6f733 (diff) | |
download | poky-238e027f20431c8c6e4b532e0afe04c40ad14e34.tar.gz |
mdadm: fix usrmerge install path
Update /lib to $nonarch_base_libdir to fix
the below error when usrmerge enabled in
DISTRO_FEATURES.
ERROR: mdadm-4.0-r0 do_package_qa: QA Issue: mdadm package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
(From OE-Core rev: 4b2c86ff0031effd4cfdb477f67bc213d39ae0fd)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.0.bb b/meta/recipes-extended/mdadm/mdadm_4.0.bb index 226b974352..2c4d88a9e7 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.0.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.0.bb | |||
@@ -42,7 +42,7 @@ CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' | |||
42 | 42 | ||
43 | do_compile() { | 43 | do_compile() { |
44 | # Point to right sbindir | 44 | # Point to right sbindir |
45 | sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" ${S}/Makefile | 45 | sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" -e "s;UDEVDIR = /lib;UDEVDIR = $nonarch_base_libdir;" ${S}/Makefile |
46 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" | 46 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" |
47 | } | 47 | } |
48 | 48 | ||