Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Phil Blundell
On Mon, 2013-06-10 at 19:06 -0700, Khem Raj wrote: On May 31, 2013, at 7:11 AM, Marcin Juszkiewicz mar...@juszkiewicz.com.pl wrote: First hit: pci.ids.gz and usb.ids.gz ~350KB in total. udev just RRECOMMENDS usbutils-ids pciutils-ids so how did it get into build time dependencies to

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Khem Raj
On Tue, Jun 11, 2013 at 8:03 AM, Phil Blundell p...@pbcl.net wrote: Er, don't RRECOMMENDS always go into the build dependency list? if they do then whats the difference between DEPENDS and RRECOMMENDS functionally. since now rrecommended packages will always be available and they will always

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Phil Blundell
On Tue, 2013-06-11 at 08:22 -0700, Khem Raj wrote: On Tue, Jun 11, 2013 at 8:03 AM, Phil Blundell p...@pbcl.net wrote: Er, don't RRECOMMENDS always go into the build dependency list? if they do then whats the difference between DEPENDS and RRECOMMENDS functionally. RDEPENDS are required

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Martin Jansa
On Tue, Jun 11, 2013 at 08:22:27AM -0700, Khem Raj wrote: On Tue, Jun 11, 2013 at 8:03 AM, Phil Blundell p...@pbcl.net wrote: Er, don't RRECOMMENDS always go into the build dependency list? if they do then whats the difference between DEPENDS and RRECOMMENDS functionally. RDEPENDS and

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Khem Raj
On Tue, Jun 11, 2013 at 8:26 AM, Phil Blundell p...@pbcl.net wrote: On Tue, 2013-06-11 at 08:22 -0700, Khem Raj wrote: On Tue, Jun 11, 2013 at 8:03 AM, Phil Blundell p...@pbcl.net wrote: Er, don't RRECOMMENDS always go into the build dependency list? if they do then whats the difference

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Phil Blundell
On Tue, 2013-06-11 at 08:40 -0700, Khem Raj wrote: yeah now I see the code build is going to build RRECOMMENDS automatically hmm. Do BAD_RECOMMENDATIONS work with rpm ? I think you mean with smart, and as far as I know the answer is no. p. ___

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-11 Thread Burton, Ross
On 11 June 2013 16:43, Phil Blundell p...@pbcl.net wrote: On Tue, 2013-06-11 at 08:40 -0700, Khem Raj wrote: yeah now I see the code build is going to build RRECOMMENDS automatically hmm. Do BAD_RECOMMENDATIONS work with rpm ? I think you mean with smart, and as far as I know the answer is

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-10 Thread Khem Raj
On May 31, 2013, at 7:11 AM, Marcin Juszkiewicz mar...@juszkiewicz.com.pl wrote: First hit: pci.ids.gz and usb.ids.gz ~350KB in total. udev just RRECOMMENDS usbutils-ids pciutils-ids so how did it get into build time dependencies to begin with ?

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-06-10 Thread Saul Wold
On 06/10/2013 07:06 PM, Khem Raj wrote: On May 31, 2013, at 7:11 AM, Marcin Juszkiewicz mar...@juszkiewicz.com.pl wrote: First hit: pci.ids.gz and usb.ids.gz ~350KB in total. udev just RRECOMMENDS usbutils-ids pciutils-ids so how did it get into build time dependencies to begin with ? I

[OE-core] [RFC] get minimal rootfs to be even smaller

2013-05-31 Thread Marcin Juszkiewicz
I build core-image-minimal today and got 5.1MB image (AArch64/eglibc). Looked inside the image and found some extra files which can be dropped. First hit: pci.ids.gz and usb.ids.gz ~350KB in total. Normally they are needed for lspci/lsusb but they are brought by udev which does not need them.

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-05-31 Thread Phil Blundell
On Fri, 2013-05-31 at 16:11 +0200, Marcin Juszkiewicz wrote: Next one can be ldconfig which is ~600KB. There's already an option to turn that off: you can set USE_LDCONFIG=0 in your distro configuration (which micro does, for example). Converting that to be a modern DISTRO_FEATURE would be a

Re: [OE-core] [RFC] get minimal rootfs to be even smaller

2013-05-31 Thread Marcin Juszkiewicz
W dniu 31.05.2013 16:41, Phil Blundell pisze: On Fri, 2013-05-31 at 16:11 +0200, Marcin Juszkiewicz wrote: Next one can be ldconfig which is ~600KB. There's already an option to turn that off: you can set USE_LDCONFIG=0 in your distro configuration (which micro does, for example).