cifs-utils: add --ignore-fail-on-non-empty for rmdir

Add --ignore-fail-on-non-empty for rmdir in case there are files in the
directories.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Robert Yang 2013-10-24 10:40:50 -04:00 committed by Joe MacDonald
parent ddfcd90894
commit 2e4b24dad5

View File

@ -20,7 +20,7 @@ inherit autotools pkgconfig
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"