Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] tzdata: install /etc/localtime alongside /etc/timezone
Date: Tue, 4 Sep 2012 11:28:37 -0500	[thread overview]
Message-ID: <50462C35.6000400@windriver.com> (raw)
In-Reply-To: <43FF08E0-8A1F-4B64-9552-D5C68A207D0C@gmail.com>

On 9/1/12 12:30 PM, Andrea Adami wrote:
>
>> On Fri, Aug 31, 2012 at 9:45 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>> On Fri, Aug 31, 2012 at 9:01 AM, Richard Purdie
>>> <richard.purdie@linuxfoundation.org> wrote:
>>>>
>>>> I don't think dropping support for / and ${prefix} makes sense as long
>>>> as it doesn't excessively hurt us
>>>
>>> we already have, done special things to support it look how many
>>> libraries appear in /lib now a days despite their original build
>>> system wanting it in /usr and I still get atleast 50 warnings on it
>>> wanting more in /lib and I am sure someone will send patches
>>> for it because they hate the warning and then we will have this
>>> growing pile of patches
>>> to maintain. So IMO it has already started to hurt us.
>>
>> just to quantify it. I have 11 warnings reported about it.
>>
>> WARNING: QA Issue: .... installed in the base_prefix, requires a
>> shared library under exec_prefix (/usr)
>>
>> this is very custom image but very much similar to core-image-minimal
>> now if I fix this 11 warnings. For the sake of it I fixed these 11 warnings
>> by hacking patches for packages or recipes to move these files into
>> base_prefix and it now gives me 16 more warnings about same but
>> different files it wants to bring along into base_prefix
>>
>> its quite slimy :/
>
> As Khem says, leading distros are even going one step further:
>
> http:\\fedoraproject.org/wiki/Features/UsrMove
>
> Seems it's time to consider alternative rootfs layouts, like this F17 unified filesystem.

I really dislike their snarky FAQ..

I'm sorry, not all devices being generated have initramfs configuration (nor do 
people want that behavior.)   Also we've shown you can build a system w/ a split 
filesystem and it works properly.  The systemd/udev developers seem 'lazy' to 
me... they were unwilling to work through early and late boot so they just gave up.

The comments in the FAQ about /etc and /var being local to a given machine, 
while /usr being shareable is a reasonable set.  This is the situations where 
I've seen this used the most especially in blade systems w/ a local rootfs on 
each, with a shared /usr among them all.

I agree it can make some update processes more difficult, but the reality is 
there are already mechanisms in place -- for many products -- that address this.

Perhaps one way around the whole argument is simply to redefine the problem. 
(As Fedora and others seem to have done.)  Work on an OE solution to construct a 
minimal boot/configuration system that can load the appropriate (combined) /usr 
partition, and then pivot-root, or similar and re-exec init to switch to that 
configuration?  This is similar in concept to the initramfs, but is not tied to 
a specific technique or technology.

This would still allow for the quick boot configuration (RO mount even), udev 
setup, module loading and such -- and the larger /usr partition and upgrade path.

This is not something we have in OE today, and would certainly require some 
custom work.....

--Mark

> Andrea
>
>> __________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




  reply	other threads:[~2012-09-04 16:41 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 14:24 [PATCH 0/2] tzdata fixes Ross Burton
2012-08-29 14:24 ` [PATCH 1/2] tzdata: this package isn't architecture specific Ross Burton
2012-08-29 14:24 ` [PATCH 2/2] tzdata: install /etc/localtime alongside /etc/timezone Ross Burton
2012-08-29 14:47   ` Koen Kooi
2012-08-29 14:49     ` Paul Eggleton
2012-08-29 15:23     ` Burton, Ross
2012-08-29 16:50       ` Koen Kooi
2012-08-29 16:57         ` Burton, Ross
2012-08-29 17:01           ` Paul Eggleton
2012-08-29 17:31             ` Burton, Ross
2012-08-29 19:12               ` Phil Blundell
2012-08-29 19:20                 ` Burton, Ross
2012-08-29 21:38                   ` Khem Raj
2012-08-29 21:50                     ` Burton, Ross
2012-08-29 22:22                       ` Phil Blundell
2012-08-29 22:45                         ` Khem Raj
2012-08-30 10:00                         ` Burton, Ross
2012-08-30 10:21                           ` Phil Blundell
2012-08-31 14:29                         ` Phil Blundell
2012-08-31 14:34                           ` Khem Raj
2012-08-31 16:01                           ` Richard Purdie
2012-08-31 16:45                             ` Khem Raj
2012-08-31 21:31                               ` Khem Raj
2012-09-01 17:30                                 ` Andrea Adami
2012-09-04 16:28                                   ` Mark Hatle [this message]
2012-09-04 19:26                                     ` Burton, Ross
2012-09-04 19:44                                       ` Mark Hatle
2012-09-04 20:06                                         ` Burton, Ross
2012-09-04 20:40                                           ` Mark Hatle
2012-09-04 21:29                                     ` Khem Raj
2012-09-06  9:32                                       ` Paul Eggleton
2012-09-07 16:30                                         ` Khem Raj
2012-09-04 16:16                             ` Mark Hatle
2012-08-30  9:48         ` Burton, Ross
2012-08-29 14:45 ` [PATCH 0/2] tzdata fixes Koen Kooi

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=50462C35.6000400@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.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