Patchwork [0/4] Fixes for tiny distros and linux-yocto-tiny

login
register
mail settings
Submitter Darren Hart
Date Dec. 28, 2011, 11:38 p.m.
Message ID <cover.1325115066.git.dvhart@linux.intel.com>
Download mbox
Permalink /patch/17745/
State New
Headers show

Pull-request

git://git.yoctoproject.org/user-contrib/dvhart/oe-core dvhart/tiny

Comments

Darren Hart - Dec. 28, 2011, 11:38 p.m.
In preparation for defining a poky-tiny distribution for meta-yocto, I found
I needed the following patches. They mostly enable finer grained configuration
of dependencies and allow for building without widechar support.


The linux-yocVto-tiny recipe isn't poky-tiny specific and could be of use to
others, so I opted to keep it with the other linux-yocto recipes. It is a
placeholder until the linux-yocto_3.2 recipes are ready for oe-core. At that
time, linux-yocto-tiny will drop all config fragments in favor of the
to-be-in-tree versions and make use of a new yocto/standard/tiny/base branch.
For now, this recipe allows us to build a reasonably small kernel with fewer
dependencies.

Thanks,

Darren


The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:

  coreutils: ensure --color works so DEPEND on libcap (2011-12-24 10:05:35 +0000)

are available in the git repository at:
  git://git.yoctoproject.org/user-contrib/dvhart/oe-core dvhart/tiny
  http://git.yoctoproject.org/cgit.cgi/user-contrib/dvhart/oe-core/log/?h=dvhart/tiny

Darren Hart (3):
  eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
  linux-yocto-tiny: New kernel recipe for tiny distros
  task-core-boot: Allow DISTRO to disable keymaps via VIRTUAL-RUNTIME_keymaps

Richard Purdie (1):
  native.bbclass: Fix variable remapping coverage

 meta/classes/native.bbclass                        |    2 +-
 meta/recipes-core/eglibc/eglibc-package.inc        |    6 +-
 meta/recipes-core/tasks/task-core-boot.bb          |    8 +-
 meta/recipes-devtools/autoconf/autoconf.inc        |    2 +
 meta/recipes-devtools/autoconf/autoconf_2.68.bb    |    8 -
 meta/recipes-devtools/automake/automake_1.11.1.bb  |    4 +-
 .../recipes-devtools/python/python-native_2.7.2.bb |    2 +
 meta/recipes-gnome/gnome/gconf_3.2.3.bb            |    1 +
 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 +
 .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 +
 .../linux/linux-yocto-tiny/debug.cfg               |    5 +
 .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 +
 .../linux/linux-yocto-tiny/e1000.cfg               |    7 +
 .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 +
 .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 +
 .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 +
 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 +
 .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 ++++++++++++++++++++
 .../linux/linux-yocto-tiny/ramfs.cfg               |    6 +
 .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 +
 .../linux/linux-yocto-tiny/serial.cfg              |    7 +
 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 +
 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   36 ++
 meta/recipes-support/boost/boost.inc               |    1 +
 24 files changed, 777 insertions(+), 17 deletions(-)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
Saul Wold - Jan. 4, 2012, 12:39 a.m.
On 12/28/2011 03:38 PM, Darren Hart wrote:
> In preparation for defining a poky-tiny distribution for meta-yocto, I found
> I needed the following patches. They mostly enable finer grained configuration
> of dependencies and allow for building without widechar support.
>
>
> The linux-yocVto-tiny recipe isn't poky-tiny specific and could be of use to
> others, so I opted to keep it with the other linux-yocto recipes. It is a
> placeholder until the linux-yocto_3.2 recipes are ready for oe-core. At that
> time, linux-yocto-tiny will drop all config fragments in favor of the
> to-be-in-tree versions and make use of a new yocto/standard/tiny/base branch.
> For now, this recipe allows us to build a reasonably small kernel with fewer
> dependencies.
>
> Thanks,
>
> Darren
>
>
> The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:
>
>    coreutils: ensure --color works so DEPEND on libcap (2011-12-24 10:05:35 +0000)
>
> are available in the git repository at:
>    git://git.yoctoproject.org/user-contrib/dvhart/oe-core dvhart/tiny
>    http://git.yoctoproject.org/cgit.cgi/user-contrib/dvhart/oe-core/log/?h=dvhart/tiny
>
> Darren Hart (3):
>    eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
This patch was not taken at this time due to the comment on the Mailing List

>    linux-yocto-tiny: New kernel recipe for tiny distros
>    task-core-boot: Allow DISTRO to disable keymaps via VIRTUAL-RUNTIME_keymaps
These two were merged into OE-Core


>

> Richard Purdie (1):
>    native.bbclass: Fix variable remapping coverage
>
Richard rejected his own patch as being too much of WIP.

Thanks
	Sau!

>   meta/classes/native.bbclass                        |    2 +-
>   meta/recipes-core/eglibc/eglibc-package.inc        |    6 +-
>   meta/recipes-core/tasks/task-core-boot.bb          |    8 +-
>   meta/recipes-devtools/autoconf/autoconf.inc        |    2 +
>   meta/recipes-devtools/autoconf/autoconf_2.68.bb    |    8 -
>   meta/recipes-devtools/automake/automake_1.11.1.bb  |    4 +-
>   .../recipes-devtools/python/python-native_2.7.2.bb |    2 +
>   meta/recipes-gnome/gnome/gconf_3.2.3.bb            |    1 +
>   meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 +
>   .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 +
>   .../linux/linux-yocto-tiny/debug.cfg               |    5 +
>   .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 +
>   .../linux/linux-yocto-tiny/e1000.cfg               |    7 +
>   .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 +
>   .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 +
>   .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 +
>   meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 +
>   .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 ++++++++++++++++++++
>   .../linux/linux-yocto-tiny/ramfs.cfg               |    6 +
>   .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 +
>   .../linux/linux-yocto-tiny/serial.cfg              |    7 +
>   meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 +
>   meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   36 ++
>   meta/recipes-support/boost/boost.inc               |    1 +
>   24 files changed, 777 insertions(+), 17 deletions(-)
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg
>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
>
Darren Hart - Jan. 4, 2012, 4:23 p.m.
On 01/03/2012 04:39 PM, Saul Wold wrote:
> On 12/28/2011 03:38 PM, Darren Hart wrote:
>> In preparation for defining a poky-tiny distribution for meta-yocto, I found
>> I needed the following patches. They mostly enable finer grained configuration
>> of dependencies and allow for building without widechar support.
>>
>>
>> The linux-yocVto-tiny recipe isn't poky-tiny specific and could be of use to
>> others, so I opted to keep it with the other linux-yocto recipes. It is a
>> placeholder until the linux-yocto_3.2 recipes are ready for oe-core. At that
>> time, linux-yocto-tiny will drop all config fragments in favor of the
>> to-be-in-tree versions and make use of a new yocto/standard/tiny/base branch.
>> For now, this recipe allows us to build a reasonably small kernel with fewer
>> dependencies.
>>
>> Thanks,
>>
>> Darren
>>
>>
>> The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:
>>
>>    coreutils: ensure --color works so DEPEND on libcap (2011-12-24 10:05:35 +0000)
>>
>> are available in the git repository at:
>>    git://git.yoctoproject.org/user-contrib/dvhart/oe-core dvhart/tiny
>>    http://git.yoctoproject.org/cgit.cgi/user-contrib/dvhart/oe-core/log/?h=dvhart/tiny
>>
>> Darren Hart (3):
>>    eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
> This patch was not taken at this time due to the comment on the Mailing List
> 
>>    linux-yocto-tiny: New kernel recipe for tiny distros
>>    task-core-boot: Allow DISTRO to disable keymaps via VIRTUAL-RUNTIME_keymaps
> These two were merged into OE-Core
> 
> 
>>
> 
>> Richard Purdie (1):
>>    native.bbclass: Fix variable remapping coverage
>>
> Richard rejected his own patch as being too much of WIP.
> 

OK, just so everyone understands, poky-tiny (merged to meta-yocto) will
not build until we come up with alternatives to the two patches above.

--
Darren


> Thanks
> 	Sau!
> 
>>   meta/classes/native.bbclass                        |    2 +-
>>   meta/recipes-core/eglibc/eglibc-package.inc        |    6 +-
>>   meta/recipes-core/tasks/task-core-boot.bb          |    8 +-
>>   meta/recipes-devtools/autoconf/autoconf.inc        |    2 +
>>   meta/recipes-devtools/autoconf/autoconf_2.68.bb    |    8 -
>>   meta/recipes-devtools/automake/automake_1.11.1.bb  |    4 +-
>>   .../recipes-devtools/python/python-native_2.7.2.bb |    2 +
>>   meta/recipes-gnome/gnome/gconf_3.2.3.bb            |    1 +
>>   meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg |    9 +
>>   .../recipes-kernel/linux/linux-yocto-tiny/core.cfg |   19 +
>>   .../linux/linux-yocto-tiny/debug.cfg               |    5 +
>>   .../linux/linux-yocto-tiny/devtmpfs.cfg            |    6 +
>>   .../linux/linux-yocto-tiny/e1000.cfg               |    7 +
>>   .../recipes-kernel/linux/linux-yocto-tiny/ext2.cfg |    1 +
>>   .../recipes-kernel/linux/linux-yocto-tiny/ext3.cfg |    2 +
>>   .../recipes-kernel/linux/linux-yocto-tiny/lzma.cfg |    3 +
>>   meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg |   26 +
>>   .../linux/linux-yocto-tiny/qemux86/defconfig       |  613 ++++++++++++++++++++
>>   .../linux/linux-yocto-tiny/ramfs.cfg               |    6 +
>>   .../linux/linux-yocto-tiny/rtc-pc.cfg              |   13 +
>>   .../linux/linux-yocto-tiny/serial.cfg              |    7 +
>>   meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg |    7 +
>>   meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb  |   36 ++
>>   meta/recipes-support/boost/boost.inc               |    1 +
>>   24 files changed, 777 insertions(+), 17 deletions(-)
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ata.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/core.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/debug.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/devtmpfs.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/e1000.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext2.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ext3.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/lzma.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/net.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/qemux86/defconfig
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/ramfs.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/rtc-pc.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/serial.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny/smp.cfg
>>   create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
>>
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Darren Hart - Jan. 4, 2012, 4:27 p.m.
On 01/03/2012 04:39 PM, Saul Wold wrote:
> On 12/28/2011 03:38 PM, Darren Hart wrote:

>> Darren Hart (3):
>>    eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
> This patch was not taken at this time due to the comment on the Mailing List

Saul,

Koen raised some concerns and suggested modifying xtrace and tzselect to
not depend on bash. I responded and suggested we keep that as a future
enhancement as it also pulls in some additional repackaging work.

Koen, any further thoughts from you?

Saul, what are you looking for as a resolution?
Darren Hart - Jan. 4, 2012, 4:28 p.m.
On 01/03/2012 04:39 PM, Saul Wold wrote:
> On 12/28/2011 03:38 PM, Darren Hart wrote:
> 
>>
> 
>> Richard Purdie (1):
>>    native.bbclass: Fix variable remapping coverage
>>
> Richard rejected his own patch as being too much of WIP.

Richard, what's next here? Do you want me to work on finishing this
patch off? Can you comment on what about it is a WIP?
Richard Purdie - Jan. 4, 2012, 4:32 p.m.
On Wed, 2012-01-04 at 08:23 -0800, Darren Hart wrote:
> 
> On 01/03/2012 04:39 PM, Saul Wold wrote:
> > On 12/28/2011 03:38 PM, Darren Hart wrote:
> >> In preparation for defining a poky-tiny distribution for meta-yocto, I found
> >> I needed the following patches. They mostly enable finer grained configuration
> >> of dependencies and allow for building without widechar support.
> >>
> >>
> >> The linux-yocVto-tiny recipe isn't poky-tiny specific and could be of use to
> >> others, so I opted to keep it with the other linux-yocto recipes. It is a
> >> placeholder until the linux-yocto_3.2 recipes are ready for oe-core. At that
> >> time, linux-yocto-tiny will drop all config fragments in favor of the
> >> to-be-in-tree versions and make use of a new yocto/standard/tiny/base branch.
> >> For now, this recipe allows us to build a reasonably small kernel with fewer
> >> dependencies.
> >>
> >> Thanks,
> >>
> >> Darren
> >>
> >>
> >> The following changes since commit 8f348ccad083d6c02c200652ff6295e701e88f0d:
> >>
> >>    coreutils: ensure --color works so DEPEND on libcap (2011-12-24 10:05:35 +0000)
> >>
> >> are available in the git repository at:
> >>    git://git.yoctoproject.org/user-contrib/dvhart/oe-core dvhart/tiny
> >>    http://git.yoctoproject.org/cgit.cgi/user-contrib/dvhart/oe-core/log/?h=dvhart/tiny
> >>
> >> Darren Hart (3):
> >>    eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
> > This patch was not taken at this time due to the comment on the Mailing List
> > 
> >>    linux-yocto-tiny: New kernel recipe for tiny distros
> >>    task-core-boot: Allow DISTRO to disable keymaps via VIRTUAL-RUNTIME_keymaps
> > These two were merged into OE-Core
> > 
> > 
> >>
> > 
> >> Richard Purdie (1):
> >>    native.bbclass: Fix variable remapping coverage
> >>
> > Richard rejected his own patch as being too much of WIP.
> > 
> 
> OK, just so everyone understands, poky-tiny (merged to meta-yocto) will
> not build until we come up with alternatives to the two patches above.

I rejected my own patch as it results in other build failures. I'm
working on addressing that but fixing one thing properly is breaking
other things and its a mess with changes like:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/useradd5&id=3177faee7859f416da72d7d49ae05db5356fbdbd

The first patch is a harder problem, I'm still trying to find something
better way to address it. I did wonder if we could just disable nls
entirely for tiny...

Cheers,

Richard
Richard Purdie - Jan. 4, 2012, 4:36 p.m.
On Wed, 2012-01-04 at 08:27 -0800, Darren Hart wrote:
> 
> On 01/03/2012 04:39 PM, Saul Wold wrote:
> > On 12/28/2011 03:38 PM, Darren Hart wrote:
> 
> >> Darren Hart (3):
> >>    eglibc: Only add eglibc-utils to PACKAGES if wchar is supported
> > This patch was not taken at this time due to the comment on the Mailing List
> 
> Saul,
> 
> Koen raised some concerns and suggested modifying xtrace and tzselect to
> not depend on bash. I responded and suggested we keep that as a future
> enhancement as it also pulls in some additional repackaging work.
> 
> Koen, any further thoughts from you?
> 
> Saul, what are you looking for as a resolution?

The problem is bash depends on gettext, right? Would USE_NLS="no" as
policy in poky-tiny address this (see gettext.bbclass)?

I can't see you caring about NLS in tiny...

Cheers,

Richard
Richard Purdie - Jan. 4, 2012, 4:37 p.m.
On Wed, 2012-01-04 at 08:28 -0800, Darren Hart wrote:
> On 01/03/2012 04:39 PM, Saul Wold wrote:
> > On 12/28/2011 03:38 PM, Darren Hart wrote:
> > 
> >>
> > 
> >> Richard Purdie (1):
> >>    native.bbclass: Fix variable remapping coverage
> >>
> > Richard rejected his own patch as being too much of WIP.
> 
> Richard, what's next here? Do you want me to work on finishing this
> patch off? Can you comment on what about it is a WIP?

My patch breaks meta-toolchain builds so I can't accept it until that is
fixed. I didn't look at it over the holidays but I'm working on it now.

Cheers,

Richard