From: "Steven J. Hill" Date: Sat, 16 Jun 2007 17:54:38 +0000 (-0000) Subject: Fix install of scripts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f8e19df58fc4af3c6b4c5b63e2ab18e3e07d720;p=buildroot.git Fix install of scripts. --- diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk index b79a9e3d5f..9f43ec06ba 100644 --- a/package/nfs-utils/nfs-utils.mk +++ b/package/nfs-utils/nfs-utils.mk @@ -64,7 +64,7 @@ $(STAGING_DIR)/.fakeroot.nfs-utils: $(NFS_UTILS_DIR)/$(NFS_UTILS_BINARY) echo "$(MAKE) prefix=$(TARGET_DIR)/usr statedir=$(TARGET_DIR)/var/lib/nfs CC=$(TARGET_CC) -C $(NFS_UTILS_DIR) install" > $@ echo "rm -f $(TARGET_DIR)/usr/bin/event_rpcgen.py $(TARGET_DIR)/usr/sbin/nhfs* $(TARGET_DIR)/usr/sbin/nfsstat $(TARGET_DIR)/usr/sbin/showmount" >> $@ echo "rm -rf $(TARGET_DIR)/usr/share/man" >> $@ - echo "$(INSTALL) -m 0755 -D package/nfs-utils/S60nfs $(TARGET_DIR)/etc/init.d" >> $@ + echo "$(INSTALL) -m 0755 package/nfs-utils/S60nfs $(TARGET_DIR)/etc/init.d" >> $@ echo -n "for file in $(NFS_UTILS_TARGETS_) ; do rm -f $(TARGET_DIR)/" >> $@ echo -n "\$$" >> $@ echo "file; done" >> $@ diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk index 6b0ba453a0..677b914e76 100644 --- a/package/portmap/portmap.mk +++ b/package/portmap/portmap.mk @@ -26,7 +26,7 @@ $(PORTMAP_DIR)/$(PORTMAP_BINARY): $(PORTMAP_DIR)/.unpacked $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY): $(PORTMAP_DIR)/$(PORTMAP_BINARY) $(INSTALL) -D $(PORTMAP_DIR)/$(PORTMAP_BINARY) $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) - $(INSTALL) -m 0755 -D package/portmap/S13portmap $(TARGET_DIR)/etc/init.d + $(INSTALL) -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d portmap: uclibc $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index 231f4535a2..fb61a5d62a 100644 --- a/package/proftpd/proftpd.mk +++ b/package/proftpd/proftpd.mk @@ -56,7 +56,7 @@ $(TARGET_DIR)/$(PROFTPD_TARGET_BINARY): $(PROFTPD_DIR)/$(PROFTPD_BINARY) @if [ ! -f $(TARGET_DIR)/etc/proftpd.conf ] ; then \ $(INSTALL) -m 0644 -D $(PROFTPD_DIR)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \ fi; - $(INSTALL) -m 0755 -D package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d + $(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d proftpd: uclibc $(TARGET_DIR)/$(PROFTPD_TARGET_BINARY) diff --git a/package/samba/samba.mk b/package/samba/samba.mk index dd177c063b..353615f877 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -92,7 +92,7 @@ $(TARGET_DIR)/$(SAMBA_TARGET_BINARY): $(SAMBA_DIR)/$(SAMBA_BINARY) for file in $(SAMBA_TARGETS_) ; do \ rm -f $(TARGET_DIR)/$$file; \ done - $(INSTALL) -m 0755 -D package/samba/S91smb $(TARGET_DIR)/etc/init.d + $(INSTALL) -m 0755 package/samba/S91smb $(TARGET_DIR)/etc/init.d @if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ] ; then \ $(INSTALL) -m 0755 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \ fi; diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk index 8a9b6c5900..59d604ff5e 100644 --- a/package/tftpd/tftpd.mk +++ b/package/tftpd/tftpd.mk @@ -59,7 +59,7 @@ $(TARGET_DIR)/$(TFTP_HPA_TARGET_BINARY): $(TFTP_HPA_DIR)/$(TFTP_HPA_BINARY) rm -f $(TARGET_DIR)/$(TFTP_HPA_TARGET_BINARY); \ cp -a $(TFTP_HPA_DIR)/$(TFTP_HPA_BINARY) $(TARGET_DIR)/$(TFTP_HPA_TARGET_BINARY); fi ; @if [ ! -f $(TARGET_DIR)/etc/init.d/S80tftpd-hpa ] ; then \ - $(INSTALL) -m 0755 -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d \ + $(INSTALL) -m 0755 package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d; \ fi; tftpd: uclibc $(TARGET_DIR)/$(TFTP_HPA_TARGET_BINARY) diff --git a/package/udev/udev.mk b/package/udev/udev.mk index 52b99efeac..b6b050fd96 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -45,7 +45,7 @@ $(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY) LDFLAGS="-warn-common" \ USE_LOG=false USE_SELINUX=false \ udevdir=$(UDEV_ROOT) -C $(UDEV_DIR) install - $(INSTALL) -m 0755 -D package/udev/S10udev $(TARGET_DIR)/etc/init.d + $(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d rm -rf $(TARGET_DIR)/usr/share/man ifneq ($(strip $(BR2_PACKAGE_UDEV_UTILS)),y) rm -f $(TARGET_DIR)/usr/sbin/udevmonitor