All of lore.kernel.org
 help / color / mirror / Atom feed
From: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] LIBDIR detection without /proc
Date: Wed, 20 May 2009 16:57:35 -0400	[thread overview]
Message-ID: <4A146EBF.5060404@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0905202249560.7805-bvJ793YqIODNUDpmljszgg@public.gmane.org>

On 05/20/2009 04:52 PM, Andreas Thienemann wrote:
> On Wed, 20 May 2009, Warren Togami wrote:
>
>> Could we please not rely on /proc to detect anything?  Something like
>> the following would work fine.  It also has the benefit of being able to
>> run without /proc mounted, which is great for building initrd's within a
>> chroot.
>
> I'm not sure if checking for an installed file is going to work flawless.
> *shrug*

If you have 64bit plymouth it will be at that location.  If it isn't at 
that location, then the previous lib vs lib64 check and subsequent 
copying would have failed to do its job anyway.  So what is the possible 
harm?

Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
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

  parent reply	other threads:[~2009-05-20 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 20:22 [PATCH] LIBDIR detection without /proc Warren Togami
     [not found] ` <4A146687.3020508-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-20 20:52   ` Andreas Thienemann
     [not found]     ` <Pine.LNX.4.58.0905202249560.7805-bvJ793YqIODNUDpmljszgg@public.gmane.org>
2009-05-20 20:57       ` Warren Togami [this message]
     [not found]         ` <4A146EBF.5060404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-20 21:24           ` Andreas Thienemann
     [not found]             ` <Pine.LNX.4.58.0905202309060.7805-bvJ793YqIODNUDpmljszgg@public.gmane.org>
2009-05-20 22:02               ` Warren Togami
     [not found]                 ` <4A147DF3.4070108-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-21  0:37                   ` [PATCH] Check /sbin/plymouthd for arch instead of /proc/$$/exe Warren Togami

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=4A146EBF.5060404@redhat.com \
    --to=wtogami-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 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.