recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend adds the installation of the /run/wpa_supplicant directory which leads to an error during (kirkstone) build:
ERROR: wpa-supplicant-2.10-r0 do_package_qa: QA Issue: wpa-supplicant installs files in /run, but it is expected to be empty [empty-dirs]
ERROR: wpa-supplicant-2.10-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /yocto/tmp/work/armv8a-poky-linux/wpa-supplicant/2.10-r0/temp/log.do_package_qa.4488
ERROR: Task (/yocto/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb:do_package_qa) failed with exit code '1'
The build runs with the line commented out and when checking out a system running the hardknott release it looks like /run/wpa-supplicant/ is not used but /var/run/wpa-supplicant
EDIT: /var/run is a link to /run so this should not make a difference
Is it safe to remove the line that installs /run/wpa_supplicant ?
recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend adds the installation of the /run/wpa_supplicant directory which leads to an error during (kirkstone) build:
ERROR: wpa-supplicant-2.10-r0 do_package_qa: QA Issue: wpa-supplicant installs files in /run, but it is expected to be empty [empty-dirs] ERROR: wpa-supplicant-2.10-r0 do_package_qa: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: /yocto/tmp/work/armv8a-poky-linux/wpa-supplicant/2.10-r0/temp/log.do_package_qa.4488 ERROR: Task (/yocto/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb:do_package_qa) failed with exit code '1'
The build runs with the line commented out and when checking out a system running the hardknott release it looks like /run/wpa-supplicant/ is not used but /var/run/wpa-supplicant
EDIT: /var/run is a link to /run so this should not make a difference
Is it safe to remove the line that installs /run/wpa_supplicant ?