gconf: Avoid error when trying to delete files that don't exist
PATCH 1/1 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.
Signed-off-by Phil Blundell <[email protected]>
--- meta/recipes-gnome/gnome/gconf_3.2.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/gnome/gconf_3.2.3.bb +2 -2
@@ -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
Signature · 1 line
1.7.10.4
Saul Wold
AppliedQuoted 15 lines · Phil Blundell
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.Signed-off-by Phil Blundell <[email protected]>--- meta/recipes-gnome/gnome/gconf_3.2.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-gnome/gnome/gconf_3.2.3.bb +0
-0
meta/recipes-gnome/gnome/gconf_3.2.3.bb do_install_append() { · line 40
Quoted 10 lines
meta/recipes-gnome/gnome/gconf_3.2.3.bb +2
-2@@ -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
Merged into OE-Core
Thanks
Sau!