21 Commits

Author SHA1 Message Date
Mingli Yu
78e81c6390
inotify-tools: Unify the ptest output
Make the ptest output in the format [1] used by Automake like
result: testname

[1] https://docs.yoctoproject.org/dev/test-manual/ptest.html#testing-packages-with-ptest

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-06 16:00:52 -08:00
Nikhil R
17012bc181 inotify-tools: improve ptest result handling
The run-ptest script determines success by grepping for
"0 failed" in the test output. This could incorrectly
report success for cases like "10 failed" or "100 failed".

Update the script to rely on the test binary's exit status instead,
while still capturing and printing full test output for logging.

This makes the ptest behavior more robust and consistent

Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-28 23:31:29 -07:00
Nikhil R
66ed465cc1 inotify-tools: add ptest support for inotify-tools
Add ptest support for inotify-tools by introducing a run-ptest script.
The ptest verifies the correct functioning of inotify event handling
and related utilities.

Test coverage includes:
 - File creation, modification, and deletion event monitoring
 - Event handling and command-line option parsing
 - Basic consistency and behavior of inotify event queues

The ptest completes in under 20 seconds

Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Wang Mingyu
a3fc187ced
inotify-tools: upgrade 4.23.9.0 -> 4.25.9.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-24 10:54:45 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Yi Zhao
1057187140
inotify-tools: upgrade 3.22.6.0 -> 4.23.9.0
ChangeLog:
https://github.com/inotify-tools/inotify-tools/releases/tag/4.23.8.0
https://github.com/inotify-tools/inotify-tools/releases/tag/4.23.9.0

Drop local patches as they have been merged upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-25 04:50:38 -08:00
Michael Opdenacker
6b2b98e52d remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Khem Raj
562413e686 inotify-tools: Fix build on musl and lfs64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:22 -08:00
wangmy
83c4a0b5ea inotify-tools: upgrade 3.22.1.0 -> 3.22.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:27 -04:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Wang Mingyu
b73b7e42d8 inotify-tools: upgrade 3.21.9.6 -> 3.22.1.0
0001-libinotifytools-Include-limit.h-for-PATH_MAX.patch
removed since it's included in 3.22.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 08:30:51 -08:00
Khem Raj
cd263e1386 inotify-tools: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:49:37 -08:00
Khem Raj
18ebc9d64f inotify-tools: Disable -Werror
This is to squash a new warning popping with glibc 2.35

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-15 19:11:18 -08:00
Khem Raj
77ab8b6445 inotify-tools: Upgrade to 3.21.9.6
Changes
e268888...8f8fcdf

Fixes build errors

/usr/include/bits/stdlib.h:46:12: e3.21.9.6rror: call to '__realpath_chk_warn' declared with attribute warning: second argument of realpath must be either NULL or at least PATH_MAX bytes long buffer [-Werror=attribute-warning]
|    46 |     return __realpath_chk_warn (__name, __resolved, sz);
|       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-15 10:18:25 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Pierre-Jean Texier
ede7eadd2b inotify-tools: upgrade 3.20.2.2 -> 3.20.11.0
- Drop patch (already in version)

This includes the following changes:

98e8dfa inotify-tools 3.20.11.0
583492a Allow produce NULL-delimited output (#118)
e38d78e Resolves Issue #72 (#113)
8672a5e User $(id -u) over $USER
e5f4ec6 Create FUNDING.yml
8967735 Add integration test to test if chown is tracked successfully
e114a35 Only call git clean -fdx if specified
933dea5 Update issue templates
6644476 Create CODE_OF_CONDUCT.md
c03dcfc Added -P/--no-dereference to watch a symlink (#46)
aa125f5 Use localtime_r over localtime
d222aa9 Fix some issues pointed out by lgtm
69829a8 cirrus-ci: disable the FreeBSD 13 builds
c164cfd Add status for FreeBSD
1b06e96 Stop running unit tests on FreeBSD
7ddf451 Makefile.am: add build rule for README (#111)
67b6e71 Add arm64 build

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:25:53 -08:00
Pierre-Jean Texier
da1f9f6361 inotify-tools: upgrade 3.20.1 -> 3.20.2.2
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-25 17:57:15 -08:00
Adrian Bunk
772421e9e9 inotify-tools: Upgrade 3.14 -> 3.20.1
Remove patch applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 14:07:54 -07:00
Jackie Huang
7110ebcffe inotify-tools: fix __NR_inotify_add_watch system call number on _MIPS_SIM_ABI64
The correct value should be the same as defined in
linux/arch/mips/include/uapi/asm/unistd.h

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:45 +02:00
Andrea Galbusera
74d5222967 inotify-tools: add recipe
inotify-tools is a C library and a set of command-line programs for Linux
providing a simple interface to inotify.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:17 +02:00