iwlwifi: Fix install_append for usrmerge

Since everything is installed into /usr when usrmerge is enabled,
don't rm /usr!  Also the  is not needed for anything do
don't create it in the first place.

[YOCTO #11882]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Saul Wold 2017-08-08 08:42:42 -07:00
parent 7cfcf8d940
commit 1a35dee120

View File

@ -26,11 +26,8 @@ do_configure() {
MODULES_INSTALL_TARGET="install"
do_install_append() {
## install configs and service scripts
install -d ${D}${sbindir} ${D}${sysconfdir}/modprobe.d
install -d ${D}${sysconfdir}/modprobe.d
install -m 0644 ${WORKDIR}/iwlwifi.conf ${D}${sysconfdir}/modprobe.d
## this gets generated for no good reason. delete it.
rm -rf ${D}/usr
}
SYSTEMD_AUTO_ENABLE_${PN} = "enable"