All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] teach dmsquash-live-root to use rootflags
@ 2010-03-26 14:01 Joey Boggs
       [not found] ` <1269612076-18504-1-git-send-email-jboggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Joey Boggs @ 2010-03-26 14:01 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Joey Boggs

---
 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
-- 
1.6.6.1

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

* Re: [PATCH] teach dmsquash-live-root to use rootflags
       [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>
  0 siblings, 1 reply; 4+ messages in thread
From: Joey Boggs @ 2010-04-09 14:10 UTC (permalink / raw)
  Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

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?

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

* Re: [PATCH] teach dmsquash-live-root to use rootflags
       [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>
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Hoyer @ 2010-04-09 14:40 UTC (permalink / raw)
  To: Joey Boggs; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

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

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

* Re: [PATCH] teach dmsquash-live-root to use rootflags
       [not found]         ` <4BBF3C56.4010803-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-04-15  5:34           ` Harald Hoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Harald Hoyer @ 2010-04-15  5:34 UTC (permalink / raw)
  To: Joey Boggs; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

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

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

end of thread, other threads:[~2010-04-15  5:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.