[Buildroot] [git commit master 1/1] gdk-pixbuf: ensure startup script is well installed

Peter Korsgaard jacmet at sunsite.dk
Sun Dec 12 23:42:03 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=857cd0d0c642bc27ee45d701b208830e914e7dbf
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

In case /etc/init.d does not exist.

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/gdk-pixbuf/gdk-pixbuf.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index f129e46..cf915bb 100644
--- a/package/gdk-pixbuf/gdk-pixbuf.mk
+++ b/package/gdk-pixbuf/gdk-pixbuf.mk
@@ -44,7 +44,8 @@ GDK_PIXBUF_DEPENDENCIES += \
 	host-pkg-config libglib2
 
 define GDK_PIXBUF_POST_INSTALL_TWEAKS
-	$(INSTALL) -m 755 package/gdk-pixbuf/S26gdk-pixbuf $(TARGET_DIR)/etc/init.d/
+	$(INSTALL) -m 755 -D package/gdk-pixbuf/S26gdk-pixbuf \
+		$(TARGET_DIR)/etc/init.d/S26gdk-pixbuf
 endef
 
 GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
-- 
1.7.2.2




More information about the buildroot mailing list