mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
gconf: Avoid error when trying to delete files that don't exist
Use "rm -f" in do_install_append() so we don't fail if the files we're trying to delete have already been removed. This can happen if the distro policy suppresses both static libs and .la files. (From OE-Core rev: 2ee9601ae590b2964d1c44b131188a80cc5198a9) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f0a56f6d15
commit
a008df240c
@@ -33,8 +33,8 @@ do_install_append() {
|
||||
install -d ${D}${sysconfdir}/gconf/gconf.xml.system
|
||||
|
||||
# this stuff is unusable
|
||||
rm ${D}${libdir}/GConf/*/*.*a
|
||||
rm ${D}${libdir}/gio/*/*.*a
|
||||
rm -f ${D}${libdir}/GConf/*/*.*a
|
||||
rm -f ${D}${libdir}/gio/*/*.*a
|
||||
}
|
||||
|
||||
# disable dbus-x11 when x11 isn't in DISTRO_FEATURES
|
||||
|
||||
Reference in New Issue
Block a user