Skip to contentSkip to conversation

changed rm into rm -f to remove old libtool stuff

PATCH In review Frans Meulenbroeks 2 participants 4 messages Dec 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 changed rm into rm -f to remove old libtool stuff

this keeps things working even if the files are not there (e.g. because configure is ran twice)

---
 recipes/lesstif/lesstif_0.95.0.bb                  |    2 +-
 recipes/lftp/lftp_4.0.5.bb                         |    2 +-
 recipes/libfribidi/libfribidi_0.10.4.bb            |    6 +++---
 recipes/libgee/libgee.inc                          |    2 +-
 recipes/rxtx/rxtx_2.1-7r2.bb                       |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_4.8.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_4.9.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.2.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.3.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.4.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.6.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_cvs.bb           |    2 +-
 recipes/rxvt/rxvt_2.7.9.bb                         |    2 +-
 recipes/rxvt/rxvt_2.8.0.bb                         |    2 +-
 recipes/util-linux-ng/util-linux-ng.inc            |    2 +-
 recipes/xmms/xmms_1.2.10.bb                        |    2 +-
 .../xorg-driver/xf86-video-openchrome_0.2.904.bb   |    2 +-
 17 files changed, 19 insertions(+), 19 deletions(-)
recipes/lesstif/lesstif_0.95.0.bb +1 -1
index 065bc97..407658a 100644
@@ -29,7 +29,7 @@ do_preconfigure() {
 	mv ac_find_xft.m4 m4/
 	mv acinclude.m4 m4/
 
-	rm aclocal.m4
+	rm -f aclocal.m4
 
 	sed -i -e "s|LT_HAVE_FREETYPE|HAVEFREETYPE|" m4/acinclude.m4
 	sed -i -e "s|LT_HAVE_XRENDER|HAVEXRENDER|" m4/acinclude.m4
recipes/lftp/lftp_4.0.5.bb +1 -1
index 11f181e..61e12bb 100644
@@ -11,7 +11,7 @@ SRC_URI = "http://ftp.yars.free.net/pub/source/lftp/lftp-${PV}.tar.bz2;name=u1"
 EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"
 
 do_configure_prepend () {
-    rm ${S}/m4/iconv.m4
+    rm -f ${S}/m4/iconv.m4
 }
 
 inherit autotools gettext
recipes/libfribidi/libfribidi_0.10.4.bb +3 -3
index b83c484..cf93cab 100644
@@ -14,7 +14,7 @@ inherit autotools lib_package binconfig pkgconfig
 
 do_configure_prepend () {
         # this version of libtool is old - we have to nobble this file to get it to litoolize
-        rm ltconfig
-        rm aclocal.m4
-        rm acinclude.m4
+        rm -f ltconfig
+        rm -f aclocal.m4
+        rm -f acinclude.m4
 }
recipes/libgee/libgee.inc +1 -1
index 3b8d792..87220ca 100644
@@ -12,6 +12,6 @@ inherit autotools vala
 do_configure_prepend() {
      MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
       for i in ${MACROS}; do
-         rm m4/$i
+         rm -f m4/$i
       done
 }
recipes/rxtx/rxtx_2.1-7r2.bb +1 -1
index d2e78b1..c4944f6 100644
@@ -15,7 +15,7 @@ SRC_URI = "\
     "
 
 do_removebinaries_append() {
-	rm acinclude.m4
+	rm -f acinclude.m4
 }
 
 do_compile() {
recipes/rxvt-unicode/rxvt-unicode_4.8.bb +1 -1
index b246c56..bf4e1cd 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_4.9.bb +1 -1
index bad8222..018514e 100644
@@ -34,7 +34,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_5.2.bb +1 -1
index d125d37..518dafd 100644
@@ -36,7 +36,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_5.3.bb +1 -1
index 7164e1c..ee09e6f 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_5.4.bb +1 -1
index 6c15eb1..f68a511 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_5.6.bb +1 -1
index 5b9c3da..8039ea1 100644
@@ -39,7 +39,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt-unicode/rxvt-unicode_cvs.bb +1 -1
index 67ba216..d31b839 100644
@@ -38,7 +38,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt/rxvt_2.7.9.bb +1 -1
index f4840b7..6cd834b 100644
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/rxvt/rxvt_2.8.0.bb +1 -1
index 0ed4392..99b4de2 100644
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
 do_configure () {
 	mv autoconf/configure.in . || true
-	rm autoconf/libtool.m4
+	rm -f autoconf/libtool.m4
 	libtoolize --force
 	autotools_do_configure
 	echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
recipes/util-linux-ng/util-linux-ng.inc +1 -1
index fbc92e4..fa367d9 100644
@@ -80,7 +80,7 @@ do_configure_prepend_chinook-compat () {
 
         for i in  lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4
         do
-                rm ${S}/m4/${i}
+                rm -f ${S}/m4/${i}
         done
 }
 
recipes/xmms/xmms_1.2.10.bb +1 -1
index 0585a7f..34b1e07 100644
@@ -26,7 +26,7 @@ EXTRA_OECONF = "--disable-opengl --disable-esd \
 
 do_configure_prepend() {
 	cp ${WORKDIR}/acinclude.m4 ${S}
-	rm ${S}/libxmms/acinclude.m4 || true
+	rm -f ${S}/libxmms/acinclude.m4 || true
 	for i in $(find . -name "Makefile*") ; do
 		sed -i -e 's:MKINSTALLDIRS = @MKINSTALLDIRS@:MKINSTALLDIRS = @mkdir_p@:g' \ 
 	           -e 's:$(SHELL) $(MKINSTALLDIRS):$(MKINSTALLDIRS):g' $i
recipes/xorg-driver/xf86-video-openchrome_0.2.904.bb +1 -1
index 83bdf89..a1f2aca 100644
@@ -8,5 +8,5 @@ SRC_URI[archive.md5sum] = "f2481d98ef54febf5bffbb88a2a2426d"
 SRC_URI[archive.sha256sum] = "c7bdf7c48365b1d077a4be7ccc652cf3f7a0f385fddeb2d4fe71b00b6c6b7aea"
 
 do_configure_prepend() {
-        rm ${S}/acinclude.m4 || true
+        rm -f ${S}/acinclude.m4 || true
 }
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 libsdl-image: moved task to do_configure_prepend changed rm into rm -f

- less tasks makes it slighly faster
- other recipes also do this in do_configure_prepend or do_configure
- rm -f avoid error of file dues not exist (e.g. because the task is ran twice)

---
 recipes/libsdl/libsdl-image_1.2.10.bb |   18 ++++++++----------
 recipes/libsdl/libsdl-image_1.2.6.bb  |    8 +++-----
 2 files changed, 11 insertions(+), 15 deletions(-)
recipes/libsdl/libsdl-image_1.2.10.bb +8 -10
index 98a4e83..7f7f5ee 100644
@@ -7,18 +7,16 @@ DEPENDS += "tiff"
 # Disable the run-time loading of the libs and bring back the soname dependencies.
 EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
 
-do_unpackpost() {
+do_configure_prepend() {
 	# Removing this file fixes a libtool version mismatch.
-	rm acinclude/libtool.m4
-	rm acinclude/sdl.m4
-	rm acinclude/pkg.m4
-	rm acinclude/lt~obsolete.m4
-	rm acinclude/ltoptions.m4
-	rm acinclude/ltsugar.m4
-	rm acinclude/ltversion.m4
+	rm -f acinclude/libtool.m4
+	rm -f acinclude/sdl.m4
+	rm -f acinclude/pkg.m4
+	rm -f acinclude/lt~obsolete.m4
+	rm -f acinclude/ltoptions.m4
+	rm -f acinclude/ltsugar.m4
+	rm -f acinclude/ltversion.m4
 }
 
-addtask unpackpost after do_unpack before do_patch
-
 SRC_URI[md5sum] = "6c06584b31559e2b59f2b982d0d1f628"
 SRC_URI[sha256sum] = "75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876"
recipes/libsdl/libsdl-image_1.2.6.bb +3 -5
index b014275..46d7924 100644
@@ -4,13 +4,11 @@ PR = "${INC_PR}.1"
 
 DEPENDS += "tiff"
 
-do_unpackpost() {
+do_configure_prepend() {
 	# Removing this file fixes a libtool version mismatch.
-	rm acinclude/libtool.m4
-	rm acinclude/sdl.m4
+	rm -f acinclude/libtool.m4
+	rm -f acinclude/sdl.m4
 }
 
-addtask unpackpost after do_unpack before do_patch
-
 SRC_URI[md5sum] = "b866dc4f647517bdaf57f6ffdefd013e"
 SRC_URI[sha256sum] = "88fcb1dbf934af33163667a6677312065c7d0a7f01cd764e3374c4c19b386ec4"
Signature · 1 line
1.7.1
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] libsdl-image: moved task to do_configure_prepend changed rm into rm -f

Quoted 5 lines · Frans Meulenbroeks

- less tasks makes it slighly faster
- other recipes also do this in do_configure_prepend or do_configure
- rm -f avoid error of file dues not exist (e.g. because the task is ran twice)

Quoted 66 lines

---
 recipes/libsdl/libsdl-image_1.2.10.bb |   18 ++++++++---------- recipes/libsdl/libsdl-image_1.2.6.bb  |    8 +++-----

 2 files changed, 11 insertions(+), 15 deletions(-)
recipes/libsdl/libsdl-image_1.2.10.bb +0 -0
index 98a4e83..7f7f5ee 100644
@@ -7,18 +7,16 @@ DEPENDS += "tiff"
  # Disable the run-time loading of the libs and bring back the soname dependencies.

 EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"

recipes/libsdl/libsdl-image_1.2.10.bb +1 -1
-do_unpackpost() {
+do_configure_prepend() {

       # Removing this file fixes a libtool version mismatch.
-       rm acinclude/libtool.m4
-       rm acinclude/sdl.m4
-       rm acinclude/pkg.m4
-       rm acinclude/lt~obsolete.m4
-       rm acinclude/ltoptions.m4
-       rm acinclude/ltsugar.m4
-       rm acinclude/ltversion.m4
+       rm -f acinclude/libtool.m4
+       rm -f acinclude/sdl.m4
+       rm -f acinclude/pkg.m4
+       rm -f acinclude/lt~obsolete.m4
+       rm -f acinclude/ltoptions.m4
+       rm -f acinclude/ltsugar.m4
+       rm -f acinclude/ltversion.m4
 }

recipes/libsdl/libsdl-image_1.2.10.bb +0 -2
-addtask unpackpost after do_unpack before do_patch
-

 SRC_URI[md5sum] = "6c06584b31559e2b59f2b982d0d1f628"
 SRC_URI[sha256sum] = "75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876"

recipes/libsdl/libsdl-image_1.2.6.bb +0 -0
index b014275..46d7924 100644
@@ -4,13 +4,11 @@ PR = "${INC_PR}.1"
 

 DEPENDS += "tiff"

recipes/libsdl/libsdl-image_1.2.6.bb +1 -1
-do_unpackpost() {
+do_configure_prepend() {

       # Removing this file fixes a libtool version mismatch.
-       rm acinclude/libtool.m4
-       rm acinclude/sdl.m4
+       rm -f acinclude/libtool.m4
+       rm -f acinclude/sdl.m4
 }

recipes/libsdl/libsdl-image_1.2.6.bb +0 -2
-addtask unpackpost after do_unpack before do_patch
-

 SRC_URI[md5sum] = "b866dc4f647517bdaf57f6ffdefd013e"
 SRC_URI[sha256sum] = "88fcb1dbf934af33163667a6677312065c7d0a7f01cd764e3374c4c19b386ec4" --
1.7.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Acked-by on v1 1/2
#3 lore raw
In reply to Frans Meulenbroeks
Quoted 4 lines · Frans Meulenbroeks

this keeps things working even if the files are not there (e.g. because configure is ran twice)

Quoted 249 lines

---
 recipes/lesstif/lesstif_0.95.0.bb                  |    2 +- recipes/lftp/lftp_4.0.5.bb                         |    2 +- recipes/libfribidi/libfribidi_0.10.4.bb            |    6 +++--- recipes/libgee/libgee.inc                          |    2 +- recipes/rxtx/rxtx_2.1-7r2.bb                       |    2 +-

 recipes/rxvt-unicode/rxvt-unicode_4.8.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_4.9.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.2.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.3.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.4.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_5.6.bb           |    2 +-
 recipes/rxvt-unicode/rxvt-unicode_cvs.bb           |    2 +-

 recipes/rxvt/rxvt_2.7.9.bb                         |    2 +- recipes/rxvt/rxvt_2.8.0.bb                         |    2 +- recipes/util-linux-ng/util-linux-ng.inc            |    2 +- recipes/xmms/xmms_1.2.10.bb                        |    2 +- .../xorg-driver/xf86-video-openchrome_0.2.904.bb   |    2 +-

 17 files changed, 19 insertions(+), 19 deletions(-)
recipes/lesstif/lesstif_0.95.0.bb +0 -0
index 065bc97..407658a 100644
@@ -29,7 +29,7 @@ do_preconfigure() {

       mv ac_find_xft.m4 m4/
       mv acinclude.m4 m4/

-       rm aclocal.m4
+       rm -f aclocal.m4

       sed -i -e "s|LT_HAVE_FREETYPE|HAVEFREETYPE|" m4/acinclude.m4 sed -i -e "s|LT_HAVE_XRENDER|HAVEXRENDER|" m4/acinclude.m4

recipes/lftp/lftp_4.0.5.bb +0 -0
index 11f181e..61e12bb 100644
@@ -11,7 +11,7 @@ SRC_URI = "http://ftp.yars.free.net/pub/source/lftp/lftp-${PV}.tar.bz2;name=u1"

 EXTRA_OECONF = "--disable-largefile --disable-rpath --with-included-readline=no"

 do_configure_prepend () {
-    rm ${S}/m4/iconv.m4
+    rm -f ${S}/m4/iconv.m4
 }

 inherit autotools gettext

recipes/libfribidi/libfribidi_0.10.4.bb +3 -3
index b83c484..cf93cab 100644
@@ -14,7 +14,7 @@ inherit autotools lib_package binconfig pkgconfig
 
  do_configure_prepend () {
         # this version of libtool is old - we have to nobble this file to get it to litoolize
-        rm ltconfig
-        rm aclocal.m4
-        rm acinclude.m4
+        rm -f ltconfig
+        rm -f aclocal.m4
+        rm -f acinclude.m4
  }
recipes/libgee/libgee.inc +0 -0
index 3b8d792..87220ca 100644
@@ -12,6 +12,6 @@ inherit autotools vala
  do_configure_prepend() {

     MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" for i in ${MACROS}; do
-         rm m4/$i
+         rm -f m4/$i
      done
 }

recipes/rxtx/rxtx_2.1-7r2.bb +0 -0
index d2e78b1..c4944f6 100644
@@ -15,7 +15,7 @@ SRC_URI = "\

    "

 do_removebinaries_append() {
-       rm acinclude.m4
+       rm -f acinclude.m4
 }

 do_compile() {

recipes/rxvt-unicode/rxvt-unicode_4.8.bb +0 -0
index b246c56..bf4e1cd 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_4.9.bb +0 -0
index bad8222..018514e 100644
@@ -34,7 +34,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_5.2.bb +0 -0
index d125d37..518dafd 100644
@@ -36,7 +36,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_5.3.bb +0 -0
index 7164e1c..ee09e6f 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_5.4.bb +0 -0
index 6c15eb1..f68a511 100644
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_5.6.bb +0 -0
index 5b9c3da..8039ea1 100644
@@ -39,7 +39,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt-unicode/rxvt-unicode_cvs.bb +0 -0
index 67ba216..d31b839 100644
@@ -38,7 +38,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt/rxvt_2.7.9.bb +0 -0
index f4840b7..6cd834b 100644
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/rxvt/rxvt_2.8.0.bb +0 -0
index 0ed4392..99b4de2 100644
@@ -29,7 +29,7 @@ EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
 
  do_configure () {

       mv autoconf/configure.in . || true
-       rm autoconf/libtool.m4
+       rm -f autoconf/libtool.m4
       libtoolize --force
       autotools_do_configure
       echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h

recipes/util-linux-ng/util-linux-ng.inc +0 -0
index fbc92e4..fa367d9 100644
@@ -80,7 +80,7 @@ do_configure_prepend_chinook-compat () {
 

        for i in  lt~obsolete.m4 ltsugar.m4 libtool.m4 ltoptions.m4 ltversion.m4 do
-                rm ${S}/m4/${i}
+                rm -f ${S}/m4/${i}
        done
 }

recipes/xmms/xmms_1.2.10.bb +1 -1
index 0585a7f..34b1e07 100644
@@ -26,7 +26,7 @@ EXTRA_OECONF = "--disable-opengl --disable-esd \
 
  do_configure_prepend() {
        cp ${WORKDIR}/acinclude.m4 ${S}
-       rm ${S}/libxmms/acinclude.m4 || true
+       rm -f ${S}/libxmms/acinclude.m4 || true

       for i in $(find . -name "Makefile*") ; do
               sed -i -e 's:MKINSTALLDIRS = @MKINSTALLDIRS@:MKINSTALLDIRS = @mkdir_p@:g' \
                  -e 's:$(SHELL) $(MKINSTALLDIRS):$(MKINSTALLDIRS):g' $i

recipes/xorg-driver/xf86-video-openchrome_0.2.904.bb +0 -0
index 83bdf89..a1f2aca 100644
@@ -8,5 +8,5 @@ SRC_URI[archive.md5sum] = "f2481d98ef54febf5bffbb88a2a2426d"

 SRC_URI[archive.sha256sum] = "c7bdf7c48365b1d077a4be7ccc652cf3f7a0f385fddeb2d4fe71b00b6c6b7aea"

 do_configure_prepend() {
-        rm ${S}/acinclude.m4 || true
+        rm -f ${S}/acinclude.m4 || true
 }
--
1.7.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel