mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
nfs-utils: Fix do_configure when switching configurations
On the autobuilder we saw: ERROR: nfs-utils-2.8.3-r0 do_package_qa: QA Issue: nfs-utils package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] This can be reproduced by running do_configure with sysvinit, switching to systemd and re-running do_configure. udev_rulesdir will then have the wrong value. Fix the sed expressions so the task can rerun correctly and update as desired. (From OE-Core rev: e2f74b9ceeb4e9bf770f65db16a19b1ae1a28f2e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -121,8 +121,8 @@ FILES:${PN}-staticdev += "${libdir}/libnfsidmap/*.a"
|
||||
FILES:${PN} += "${systemd_unitdir} ${libdir}/libnfsidmap/ ${nonarch_libdir}/modprobe.d"
|
||||
|
||||
do_configure:prepend() {
|
||||
sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
|
||||
-e 's,udev_rulesdir = /usr/lib/udev/rules.d/,udev_rulesdir = ${nonarch_base_libdir}/udev/rules.d/,g' \
|
||||
sed -i -e 's,sbindir = .*,sbindir = ${base_sbindir},g' \
|
||||
-e 's,udev_rulesdir = .*,udev_rulesdir = ${nonarch_base_libdir}/udev/rules.d/,g' \
|
||||
${S}/utils/mount/Makefile.am ${S}/utils/nfsdcltrack/Makefile.am \
|
||||
${S}/systemd/Makefile.am ${S}/tools/nfsrahead/Makefile.am
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user