diff mbox series

Reapply "glibc: Enable NFS local file locking for glibc tests"

Message ID 20260113233553.2709617-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 0c3c20b9f208daa5a90bdef0b30e9a627da664d2
Headers show
Series Reapply "glibc: Enable NFS local file locking for glibc tests" | expand

Commit Message

Richard Purdie Jan. 13, 2026, 11:35 p.m. UTC
This reverts commit 0ed4776533145c901611d7f4f942490e33481335.

The change was not causing the glibc test hangs.
---
 meta/lib/oeqa/selftest/cases/glibc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py
index 15ba5a83525..b2b115972ff 100644
--- a/meta/lib/oeqa/selftest/cases/glibc.py
+++ b/meta/lib/oeqa/selftest/cases/glibc.py
@@ -79,7 +79,7 @@  class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
             # setup nfs mount
             if qemu.run("mkdir -p \"{0}\"".format(tmpdir))[0] != 0:
                 raise Exception("Failed to setup NFS mount directory on target")
-            mountcmd = "mount -o noac,nfsvers=3,port={0},mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir)
+            mountcmd = "mount -o noac,nfsvers=3,local_lock=all,port={0},mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir)
             status, output = qemu.run(mountcmd)
             if status != 0:
                 raise Exception("Failed to setup NFS mount on target ({})".format(repr(output)))