[Buildroot] [PATCH 05/17] ifplugd: ensure target directories exist before copying into

Peter Korsgaard jacmet at uclibc.org
Sun Dec 12 22:59:23 UTC 2010


>>>>> "llandwerlin" == llandwerlin  <llandwerlin at gmail.com> writes:

 llandwerlin> From: Lionel Landwerlin <llandwerlin at gmail.com>
 llandwerlin> Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
 llandwerlin> ---
 llandwerlin>  package/ifplugd/ifplugd.mk |    1 +
 llandwerlin>  1 files changed, 1 insertions(+), 0 deletions(-)

 llandwerlin> diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
 llandwerlin> index 5e66cea..0be903c 100644
 llandwerlin> --- a/package/ifplugd/ifplugd.mk
 llandwerlin> +++ b/package/ifplugd/ifplugd.mk
 llandwerlin> @@ -22,6 +22,7 @@ define IFPLUGD_INSTALL_FIXUP
 llandwerlin>  		$(INSTALL) $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/; \
 llandwerlin>  		$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
 llandwerlin>  	fi
 llandwerlin> +	mkdir -p $(TARGET_DIR)/etc/ifplugd

Hmm, just a few lines above we have install -d $(TARGET_DIR)/etc/ifplugd
- Isn't that working for you?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list