mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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:
committed by
Joe MacDonald
parent
ddfcd90894
commit
2e4b24dad5
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user