diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-28 13:02:51 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-30 22:22:19 +0000 |
| commit | 4e6a20efa9dc7bbb516fa56b560289a307d2ca40 (patch) | |
| tree | 213361379f6d1a7a5d88326c29be74b9b06b0ae0 /meta/recipes-core/util-linux/util-linux.inc | |
| parent | 3c7e103af4d8072181b581b930d763cbc67e3058 (diff) | |
| download | poky-4e6a20efa9dc7bbb516fa56b560289a307d2ca40.tar.gz | |
util-linux: Add fcntl-lock
Add a version of flock that uses the fnctl based lockf locking instead of
flock based locks. This allows us to take the same lock that opkg would
use from a shell script. The two different locking mechanisms operate
independently of each other.
Inserting this C file into the util-linux build seems like the easiest/best
place to insert the code. At this point it hasn't been discussed with upstream.
(From OE-Core rev: d2b784110e2c3df8a0a41e4819cf2de9003f9fa3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux.inc')
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index d96f00fbab..f4b547215e 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
| @@ -38,6 +38,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin | |||
| 38 | file://display_testname_for_subtest.patch \ | 38 | file://display_testname_for_subtest.patch \ |
| 39 | file://avoid_parallel_tests.patch \ | 39 | file://avoid_parallel_tests.patch \ |
| 40 | file://0001-login-utils-include-libgen.h-for-basename-API.patch \ | 40 | file://0001-login-utils-include-libgen.h-for-basename-API.patch \ |
| 41 | file://fcntl-lock.c \ | ||
| 41 | " | 42 | " |
| 42 | 43 | ||
| 43 | SRC_URI[sha256sum] = "7b6605e48d1a49f43cc4b4cfc59f313d0dd5402fa40b96810bd572e167dfed0f" | 44 | SRC_URI[sha256sum] = "7b6605e48d1a49f43cc4b4cfc59f313d0dd5402fa40b96810bd572e167dfed0f" |
