diff options
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb index a6268f3d47..285bd2cd78 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | |||
@@ -88,7 +88,7 @@ FILES_${PN}-client = "${base_sbindir}/*mount.nfs* ${sbindir}/*statd \ | |||
88 | ${sysconfdir}/init.d/nfscommon \ | 88 | ${sysconfdir}/init.d/nfscommon \ |
89 | ${systemd_unitdir}/system/nfs-statd.service" | 89 | ${systemd_unitdir}/system/nfs-statd.service" |
90 | FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat" | 90 | FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat" |
91 | RDEPENDS_${PN}-stats = "python" | 91 | RDEPENDS_${PN}-stats = "python3-core" |
92 | 92 | ||
93 | FILES_${PN} += "${systemd_unitdir}" | 93 | FILES_${PN} += "${systemd_unitdir}" |
94 | 94 | ||
@@ -140,4 +140,8 @@ do_install_append () { | |||
140 | rm -f ${D}${sbindir}/rpcdebug | 140 | rm -f ${D}${sbindir}/rpcdebug |
141 | rm -f ${D}${sbindir}/rpcgen | 141 | rm -f ${D}${sbindir}/rpcgen |
142 | rm -f ${D}${sbindir}/locktest | 142 | rm -f ${D}${sbindir}/locktest |
143 | |||
144 | # Make python tools use python 3 | ||
145 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${sbindir}/mountstats ${D}${sbindir}/nfsiostat | ||
146 | |||
143 | } | 147 | } |