bitbake: bitbake: Add pyinotify to lib/
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Apr 2015 14:57:01 +0000 (15:57 +0100)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:55 +0000 (10:13 -0300)
commit8ee34c1975cc86a57e229b9cc9399045dabaf9fa
tree8ecce2994c07032b5b98d139e6c1155f60c1d009
parent104bf8583354a9861cd391e0574c879fcb03db78
bitbake: bitbake: Add pyinotify to lib/

We need inotify support within bitbake and pyinotify provides the best
mechanism to add this. We have a few options:

a) Depend on pyinotify from the system
b) Add in our own copy
c) Only use pyinotify in cases like the memory resident server

For a), it would mean adding in dependencies, updating documentation and
generally creating churn for users as well as having implications for things
like the build-appliance recipe.

It turns out that glibc has the C functionality we need from version 2.4
onwards (2006) and that we just need a single python file for b), there
is no binary module needed. We therefore add in a copy of pyinotify 0.9.5
into the tree meaning we can depend on it simply and unconditionally.

c) is unattractive as we need fewer possible code paths, not more.

(Bitbake rev: d49004a4e247e3958a2f7ea9ffe5ec92794e1352)

(Bitbake rev: 2835b12288cf0c46586d6f708a0ee0b5e025cba3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/pyinotify.py [new file with mode: 0644]