mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Will Woods <wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH cleanups] livenet: simplify writing net.ifaces
Date: Wed, 26 Sep 2012 11:52:28 +0200	[thread overview]
Message-ID: <5062D05C.40301@redhat.com> (raw)
In-Reply-To: <1348589458-13212-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Am 25.09.2012 18:10, schrieb Will Woods:
> commit db2b12f removed the rd.neednet argument and uses /tmp/net.ifaces
> instead. This means we don't need to mess with CMDLINE.
> ---
>  modules.d/90livenet/parse-livenet.sh | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh
> index 365eca1..0e61870 100755
> --- a/modules.d/90livenet/parse-livenet.sh
> +++ b/modules.d/90livenet/parse-livenet.sh
> @@ -9,10 +9,7 @@
>  updates=$(getarg live.updates=)
>  if [ -n "$updates" ]; then
>      # make sure network comes up even if we're doing a local live device
> -    if [ -z "$netroot" ]; then
> -	echo > /tmp/net.ifaces
> -	unset CMDLINE
> -    fi
> +    [ -z "$netroot" ] && >> /tmp/net.ifaces
>      echo "$updates" > /tmp/liveupdates.info
>      echo '[ -e /tmp/liveupdates.done ]' > \
>          $hookdir/initqueue/finished/liveupdates.sh
> 

but commit 48dba7f9ace186871528eb4d83cd96e92e853c6c added it again :)

  parent reply	other threads:[~2012-09-26  9:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 16:10 [PATCH cleanups] livenet: simplify writing net.ifaces Will Woods
     [not found] ` <1348589458-13212-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-09-26  9:52   ` Harald Hoyer [this message]
     [not found]     ` <5062D05C.40301-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-09-26 15:52       ` Will Woods

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=5062D05C.40301@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=wwoods-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