mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Joey Boggs <jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] teach dmsquash-live-root to use rootflags
Date: Fri, 09 Apr 2010 10:10:35 -0400	[thread overview]
Message-ID: <4BBF355B.80600@redhat.com> (raw)
In-Reply-To: <1269612076-18504-1-git-send-email-jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 03/26/2010 10:01 AM, Joey Boggs wrote:
> ---
>   modules.d/90dmsquash-live/dmsquash-live-root |    7 ++++++-
>   1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root
> index b1754dc..c98cdef 100755
> --- a/modules.d/90dmsquash-live/dmsquash-live-root
> +++ b/modules.d/90dmsquash-live/dmsquash-live-root
> @@ -172,7 +172,12 @@ if [ -b "$OSMIN_LOOPDEV" ]; then
>       echo "0 $( blockdev --getsz $BASE_LOOPDEV ) snapshot $BASE_LOOPDEV $OSMIN_LOOPDEV p 8" | dmsetup create --readonly live-osimg-min
>   fi
>
> +ROOTFLAGS="$(getarg rootflags)"
> +if [ -n "$ROOTFLAGS" ]; then
> +    ROOTFLAGS="-o $ROOTFLAGS"
> +fi
> +
>   ln -s /dev/mapper/live-rw /dev/root
> -printf '/bin/mount /dev/mapper/live-rw %s\n' "$NEWROOT">  /mount/01-$$-live.sh
> +printf '/bin/mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT">  /mount/01-$$-live.sh
>
>   exit 0
>    
any comments on this one?

  parent reply	other threads:[~2010-04-09 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 14:01 [PATCH] teach dmsquash-live-root to use rootflags Joey Boggs
     [not found] ` <1269612076-18504-1-git-send-email-jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-04-09 14:10   ` Joey Boggs [this message]
     [not found]     ` <4BBF355B.80600-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-04-09 14:40       ` Harald Hoyer
     [not found]         ` <4BBF3C56.4010803-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-04-15  5:34           ` Harald Hoyer

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=4BBF355B.80600@redhat.com \
    --to=jboggs-h+wxahxf7alqt0dzr+alfa@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