diff options
author | Theodore A. Roth <troth@openavr.org> | 2022-07-01 10:01:40 -0600 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-02 11:40:50 -0400 |
commit | b85b4afe93df65f11ccb7ee52e8f4525dba04a14 (patch) | |
tree | 8eefb257b2e5b4c0e882185ea49586d0ee9f413a /meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | |
parent | 8687d488f7352fa0c5c7dbc919aa14e577ce153e (diff) | |
download | meta-openembedded-b85b4afe93df65f11ccb7ee52e8f4525dba04a14.tar.gz |
crda: Depend on correct wireless-regdb package
The cdra application is looking for the `regulatory.bin` file that is
installed by the `wireless-regdb` package, but that is not installed
because the RDEPENDS lists`wireless-regdb-static` (which conflicts with
`wireless-regdb`).
Changing RDEPENDS to use `wireless-regdb` instead of
`wireless-regdb-static` allows the cdra application to function
properly.
Example output before this fix was applied:
root@yocto:~# COUNTRY=US crda
failed to open db file: No such file or directory
root@yocto:~# COUNTRY=US strace crda
execve("/usr/sbin/crda", ["crda"], 0xbec80d70 /* 17 vars */) = 0
...
openat(AT_FDCWD, "/usr/local/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)
...
write(3, "failed to open db file: No such "..., 50failed to open db file: No such file or directory
) = 50
close(3) = 0
exit_group(-2) = ?
+++ exited with 254 +++
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse/run-ptest')
0 files changed, 0 insertions, 0 deletions