mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Andrey Borzenkov <arvidjaar-JGs/UdohzUI@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] bootchart module cleanup
Date: Mon, 23 Aug 2010 12:44:11 +0200	[thread overview]
Message-ID: <4C7250FB.4030404@redhat.com> (raw)
In-Reply-To: <20100811174656.15568.98666.stgit@cooker>

pushed
On 08/11/2010 07:46 PM, Andrey Borzenkov wrote:
> - create /lib/bootchart in initramfs, not in live filesystem
> - use proper dracut API to install files
>
> Signed-off-by: Andrey Borzenkov<arvidjaar-JGs/UdohzUI@public.gmane.org>
>
> ---
>
>   modules.d/00bootchart/install |    5 +++--
>   1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/modules.d/00bootchart/install b/modules.d/00bootchart/install
> index ff29de0..8738815 100644
> --- a/modules.d/00bootchart/install
> +++ b/modules.d/00bootchart/install
> @@ -2,8 +2,8 @@
>
>   inst /sbin/bootchartd
>   inst /bin/bash
> -ln -s /init "${initdir}/sbin/init"
> -mkdir -p /lib/bootchart/
> +inst_symlink /init /sbin/init
> +inst_dir /lib/bootchart/
>   inst /lib/bootchart/bootchart-collector
>   inst /etc/bootchartd.conf
>   inst /sbin/accton
> @@ -12,4 +12,5 @@ inst /bin/echo
>   inst /bin/grep
>   inst /bin/usleep
>   inst /usr/bin/[  /bin/[
> +
>   mknod -m 0666 "${initdir}/dev/null" c 1 3
>
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-08-23 10:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 17:46 [PATCH] bootchart module cleanup Andrey Borzenkov
2010-08-23 10:44 ` 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=4C7250FB.4030404@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=arvidjaar-JGs/UdohzUI@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