mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] busybox: add more empty folders for ifupdown
@ 2012-07-30 16:32 Alexander Dahl
  2012-09-03 15:29 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2012-07-30 16:32 UTC (permalink / raw)
  To: ptxdist

Hei there, 

After upgrading to busybox v1.20.1 ifupdown complains about two
missing folders if-pre-down.d and if-post-up.d. This patch just
adds two lines for creating those empty folders.

Note: for initmethod systemd the same folders are created. As far as I
could see ifupdown is part of busybox. Is this very ifupdown used
together with systemd? Then these folders have to be added there, too.

Greets
Alex

Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 rules/initmethod-bbinit.make |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make
index b71d1af..f59c321 100644
--- a/rules/initmethod-bbinit.make
+++ b/rules/initmethod-bbinit.make
@@ -60,8 +60,10 @@ ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_NETWORKING
 	@$(call install_alternative, initmethod-bbinit, 0, 0, 0644, /etc/network/interfaces, n)
 	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-down.d)
 	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-up.d)
+	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-pre-down.d)
 	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-post-down.d)
 	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-pre-up.d)
+	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-post-up.d)
 endif
 
 ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
-- 
1.7.2.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] busybox: add more empty folders for ifupdown
  2012-07-30 16:32 [ptxdist] [PATCH] busybox: add more empty folders for ifupdown Alexander Dahl
@ 2012-09-03 15:29 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2012-09-03 15:29 UTC (permalink / raw)
  To: ptxdist

On Mon, Jul 30, 2012 at 06:32:55PM +0200, Alexander Dahl wrote:
> Hei there, 
> 
> After upgrading to busybox v1.20.1 ifupdown complains about two
> missing folders if-pre-down.d and if-post-up.d. This patch just
> adds two lines for creating those empty folders.
> 
> Note: for initmethod systemd the same folders are created. As far as I
> could see ifupdown is part of busybox. Is this very ifupdown used
> together with systemd? Then these folders have to be added there, too.

Correct. I've applied your patch and made the same changes for systemd.

Michael

> Greets
> Alex
> 
> Signed-off-by: Alexander Dahl <post@lespocky.de>
> ---
>  rules/initmethod-bbinit.make |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make
> index b71d1af..f59c321 100644
> --- a/rules/initmethod-bbinit.make
> +++ b/rules/initmethod-bbinit.make
> @@ -60,8 +60,10 @@ ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_NETWORKING
>  	@$(call install_alternative, initmethod-bbinit, 0, 0, 0644, /etc/network/interfaces, n)
>  	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-down.d)
>  	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-up.d)
> +	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-pre-down.d)
>  	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-post-down.d)
>  	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-pre-up.d)
> +	@$(call install_copy, initmethod-bbinit, 0, 0, 0755, /etc/network/if-post-up.d)
>  endif
>  
>  ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
> -- 
> 1.7.2.5
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-03 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 16:32 [ptxdist] [PATCH] busybox: add more empty folders for ifupdown Alexander Dahl
2012-09-03 15:29 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox