mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Daniel Drake <dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] 99base/init: avoid using cp -t
Date: Wed, 09 Nov 2011 10:08:55 +0100	[thread overview]
Message-ID: <4EBA4327.5040907@redhat.com> (raw)
In-Reply-To: <20111108211140.3E57D9D401E-k/4jFdqg8LLlyo9zxV8I99HuzzzSOjJt@public.gmane.org>

Am 08.11.2011 22:11, schrieb Daniel Drake:
> -t is not supported by busybox's cp.
> 
> Signed-off-by: Daniel Drake <dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org>
> ---
>  modules.d/99base/init |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/modules.d/99base/init b/modules.d/99base/init
> index 36b2152..e0e2630 100755
> --- a/modules.d/99base/init
> +++ b/modules.d/99base/init
> @@ -133,7 +133,7 @@ fi
>  if ! ismounted /run; then
>      mkdir -m 0755 /newrun
>      mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 2>&1
> -    cp -a -t /newrun /run/*
> +    cp -a /run/* /newrun
>      mount --move /newrun /run
>      rm -fr /newrun
>  fi

gah... fix busybox... patch applied.

      parent reply	other threads:[~2011-11-09  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 21:11 [PATCH] 99base/init: avoid using cp -t Daniel Drake
     [not found] ` <20111108211140.3E57D9D401E-k/4jFdqg8LLlyo9zxV8I99HuzzzSOjJt@public.gmane.org>
2011-11-09  9:08   ` Harald Hoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBA4327.5040907@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox