mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
insane.bbclass: allow fifos
Allow recipes to create fifos. If insane.bbclass tries to read() a fifo, the process will hang waiting for something to read(). Therefore, skip any check that would try to read() the object, if the object is a fifo. (From OE-Core rev: a7b1d22e93c8846d84a9855876038c2b38958dec) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
10955631b0
commit
f0d083a984
@@ -87,7 +87,8 @@ def package_qa_add_message(messages, section, new_msg):
|
||||
|
||||
QAPATHTEST[shebang-size] = "package_qa_check_shebang_size"
|
||||
def package_qa_check_shebang_size(path, name, d, elf, messages):
|
||||
if os.path.islink(path) or elf:
|
||||
import stat
|
||||
if os.path.islink(path) or stat.S_ISFIFO(os.stat(path).st_mode) or elf:
|
||||
return
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user