mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: 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: Thu, 15 Apr 2010 07:34:22 +0200	[thread overview]
Message-ID: <4BC6A55E.2090203@redhat.com> (raw)
In-Reply-To: <4BBF3C56.4010803-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 04/09/2010 04:40 PM, Harald Hoyer wrote:
> On 04/09/2010 04:10 PM, Joey Boggs wrote:
>> 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?
>> --
>> 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
>
> looks good :) will merge


pushed to git

      parent reply	other threads:[~2010-04-15  5:34 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
     [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 [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=4BC6A55E.2090203@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jboggs-H+wXaHxf7aLQT0dZR+AlfA@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