mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 15:38:15 +08:00
Provisioning: fix use of NFS4 mounts with bitbake
'cp -p' attempts to copy NFSv4 ACL extended attributes when preserving permissions. On filesystems that do not support these xattrs (e.g., ext4), this results in `Operation not supported` and causes 'cp' to fail. Add explicit skip entries for these attributes in /etc/xattr.conf so libattr ignores them during copy operations. This is needed to get bitbake builds to work when using download cache from NFS4 mount. Change-Id: I3dabb065c4d9928121fe14d0fdc896c7415bdcb9 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
sudo sed -i -e '/nfs4/s/permissions/skip/' /etc/xattr.conf
|
||||
Reference in New Issue
Block a user