Add --ignore-fail-on-non-empty for rmdir in case there are files in the
directories.
(From meta-openembedded rev:
2e4b24dad58095579ce3fb34a33b029cfcf0a813)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
do_install_append() {
# Remove empty /usr/bin and /usr/sbin directories since the mount helper
# is installed to /sbin
- rmdir ${D}${bindir} ${D}${sbindir}
+ rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir}
}
RRECOMMENDS_${PN} = "kernel-module-cifs"