All of lore.kernel.org
 help / color / mirror / Atom feed
* helloworld image
@ 2009-12-28 22:19 Leon Woestenberg
  2009-12-28 22:55 ` Phil Blundell
  2009-12-29  8:54 ` Koen Kooi
  0 siblings, 2 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-12-28 22:19 UTC (permalink / raw)
  To: openembedded-devel

Hello (world),


when compiling my favorite minimal image ("helloworld-image") under
both the minimal-distro and angstrom
shows 4 MB of cruft being dragged in.

What happened?

I would like to start with nothing and then configure the system for
what I need.

Should I start another more-minimal distro or can we change the
minimal distro to be truely minimalistic?


# Hello world image
# Contains *only* a statically linked hello world init program

IMAGE_INSTALL = "helloworld"
IMAGE_LINGUAS = ""

inherit image


Regards,
-- 
Leon



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-28 22:19 helloworld image Leon Woestenberg
@ 2009-12-28 22:55 ` Phil Blundell
  2009-12-29 15:04   ` Leon Woestenberg
  2009-12-29  8:54 ` Koen Kooi
  1 sibling, 1 reply; 8+ messages in thread
From: Phil Blundell @ 2009-12-28 22:55 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 2009-12-28 at 23:19 +0100, Leon Woestenberg wrote:
> when compiling my favorite minimal image ("helloworld-image") under
> both the minimal-distro and angstrom
> shows 4 MB of cruft being dragged in.
> 
> What happened?
> 
> I would like to start with nothing and then configure the system for
> what I need.
> 
> Should I start another more-minimal distro or can we change the
> minimal distro to be truely minimalistic?

It might be worth trying DISTRO=micro to see if that works any better
for you.

p.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-28 22:19 helloworld image Leon Woestenberg
  2009-12-28 22:55 ` Phil Blundell
@ 2009-12-29  8:54 ` Koen Kooi
  2009-12-29 14:51   ` Leon Woestenberg
  1 sibling, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2009-12-29  8:54 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28-12-09 23:19, Leon Woestenberg wrote:
> Hello (world),
> 
> 
> when compiling my favorite minimal image ("helloworld-image") under
> both the minimal-distro and angstrom
> shows 4 MB of cruft being dragged in.
> 
> What happened?
> 
> I would like to start with nothing and then configure the system for
> what I need.
> 
> Should I start another more-minimal distro or can we change the
> minimal distro to be truely minimalistic?

You're confusing image and distro again. With angstrom I'm using a 80KiB
big image that has an fbdev based gui, so it looks your image recipe is
doing something wrong.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLOcPZMkyGM64RGpERAkP9AKCE4ooqQ0ZfZs72oY5+y/YiYBeHiwCfTqbo
czpMNG83R1f5tge+nY2iK3E=
=YlYb
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-29  8:54 ` Koen Kooi
@ 2009-12-29 14:51   ` Leon Woestenberg
  2009-12-29 18:36     ` Koen Kooi
  0 siblings, 1 reply; 8+ messages in thread
From: Leon Woestenberg @ 2009-12-29 14:51 UTC (permalink / raw)
  To: openembedded-devel

Hello Koen,

On Tue, Dec 29, 2009 at 9:54 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 28-12-09 23:19, Leon Woestenberg wrote:
>> I would like to start with nothing and then configure the system for
>> what I need.
>>
>> Should I start another more-minimal distro or can we change the
>> minimal distro to be truely minimalistic?
>
> You're confusing image and distro again. With angstrom I'm using a 80KiB
> big image that has an fbdev based gui, so it looks your image recipe is
> doing something wrong.
>
I think I am not confusing them again, I think other people are.

This is what happened:

Changes to the distro have made the image bigger (80 kB to 4MB).

Apparently, the image does not define what goes in the image, but the
distro now specifies a minimum amount of packages that goes in.

Also, we seem to be moving to the point where people must both disable
default packages to go in, and enable packages to go in.

Why not simply go back to the idea where the images defines what goes
in?  I think it's more user friendly.

Regards,
-- 
Leon



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-28 22:55 ` Phil Blundell
@ 2009-12-29 15:04   ` Leon Woestenberg
  0 siblings, 0 replies; 8+ messages in thread
From: Leon Woestenberg @ 2009-12-29 15:04 UTC (permalink / raw)
  To: openembedded-devel

Hello Phil,

On Mon, Dec 28, 2009 at 11:55 PM, Phil Blundell <philb@gnu.org> wrote:
> On Mon, 2009-12-28 at 23:19 +0100, Leon Woestenberg wrote:
>> when compiling my favorite minimal image ("helloworld-image") under
>> both the minimal-distro and angstrom
>> shows 4 MB of cruft being dragged in.
>>
>> What happened?
>>
>> I would like to start with nothing and then configure the system for
>> what I need.
>>
>> Should I start another more-minimal distro or can we change the
>> minimal distro to be truely minimalistic?
>
> It might be worth trying DISTRO=micro to see if that works any better
> for you.
>
Thanks for the suggestion.

Instead I would like to learn how is (wrongly) determined what goes
into the image.

This looks pretty definite to me, nothing should override the image
recipe on this one:

IMAGE_INSTALL = "helloworld"

Regards,
-- 
Leon



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-29 14:51   ` Leon Woestenberg
@ 2009-12-29 18:36     ` Koen Kooi
  2009-12-29 18:55       ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2009-12-29 18:36 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29-12-09 15:51, Leon Woestenberg wrote:
> Hello Koen,
> 
> On Tue, Dec 29, 2009 at 9:54 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>> On 28-12-09 23:19, Leon Woestenberg wrote:
>>> I would like to start with nothing and then configure the system for
>>> what I need.
>>>
>>> Should I start another more-minimal distro or can we change the
>>> minimal distro to be truely minimalistic?
>>
>> You're confusing image and distro again. With angstrom I'm using a 80KiB
>> big image that has an fbdev based gui, so it looks your image recipe is
>> doing something wrong.
>>
> I think I am not confusing them again, I think other people are.
> 
> This is what happened:
> 
> Changes to the distro have made the image bigger (80 kB to 4MB).
> 
> Apparently, the image does not define what goes in the image, but the
> distro now specifies a minimum amount of packages that goes in.

Actually it does not, your image recipe has the final say. Like I said,
I have no trouble building an 80KiB image with angstrom.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLOkxEMkyGM64RGpERAudQAKCqxN7YakUHvFGp3e3KvgiOQFsN6gCfY/9V
6QnLd5AXCpWV2HVnRj+Iee4=
=2WHp
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-29 18:36     ` Koen Kooi
@ 2009-12-29 18:55       ` Gary Thomas
  2009-12-29 19:09         ` Koen Kooi
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2009-12-29 18:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

On 12/29/2009 11:36 AM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 29-12-09 15:51, Leon Woestenberg wrote:
>> Hello Koen,
>>
>> On Tue, Dec 29, 2009 at 9:54 AM, Koen Kooi<k.kooi@student.utwente.nl>  wrote:
>>> On 28-12-09 23:19, Leon Woestenberg wrote:
>>>> I would like to start with nothing and then configure the system for
>>>> what I need.
>>>>
>>>> Should I start another more-minimal distro or can we change the
>>>> minimal distro to be truely minimalistic?
>>>
>>> You're confusing image and distro again. With angstrom I'm using a 80KiB
>>> big image that has an fbdev based gui, so it looks your image recipe is
>>> doing something wrong.
>>>
>> I think I am not confusing them again, I think other people are.
>>
>> This is what happened:
>>
>> Changes to the distro have made the image bigger (80 kB to 4MB).
>>
>> Apparently, the image does not define what goes in the image, but the
>> distro now specifies a minimum amount of packages that goes in.
>
> Actually it does not, your image recipe has the final say. Like I said,
> I have no trouble building an 80KiB image with angstrom.
>

I'd like to know what steps you take to make such an image.

Perhaps you could share your config files so that others can
see how it's done (as opposed to just repeating that it *can*
be done)?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: helloworld image
  2009-12-29 18:55       ` Gary Thomas
@ 2009-12-29 19:09         ` Koen Kooi
  0 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2009-12-29 19:09 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29-12-09 19:55, Gary Thomas wrote:
> On 12/29/2009 11:36 AM, Koen Kooi wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 29-12-09 15:51, Leon Woestenberg wrote:
>>> Hello Koen,
>>>
>>> On Tue, Dec 29, 2009 at 9:54 AM, Koen
>>> Kooi<k.kooi@student.utwente.nl>  wrote:
>>>> On 28-12-09 23:19, Leon Woestenberg wrote:
>>>>> I would like to start with nothing and then configure the system for
>>>>> what I need.
>>>>>
>>>>> Should I start another more-minimal distro or can we change the
>>>>> minimal distro to be truely minimalistic?
>>>>
>>>> You're confusing image and distro again. With angstrom I'm using a
>>>> 80KiB
>>>> big image that has an fbdev based gui, so it looks your image recipe is
>>>> doing something wrong.
>>>>
>>> I think I am not confusing them again, I think other people are.
>>>
>>> This is what happened:
>>>
>>> Changes to the distro have made the image bigger (80 kB to 4MB).
>>>
>>> Apparently, the image does not define what goes in the image, but the
>>> distro now specifies a minimum amount of packages that goes in.
>>
>> Actually it does not, your image recipe has the final say. Like I said,
>> I have no trouble building an 80KiB image with angstrom.
>>
> 
> I'd like to know what steps you take to make such an image.
> 
> Perhaps you could share your config files so that others can
> see how it's done (as opposed to just repeating that it *can*
> be done)?

the local.conf I use is the same as contrib/angstrom/local.conf, the
image is in recipes/kexecboot/initramfs-kexecboot-image.bb.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLOlP2MkyGM64RGpERAkjUAKCON8dwDj/dkhNWh79e8HOD1dxFsQCcCY1O
rJc1RWIiu9aE17ewOBQ5X4c=
=R+vW
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-12-29 19:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 22:19 helloworld image Leon Woestenberg
2009-12-28 22:55 ` Phil Blundell
2009-12-29 15:04   ` Leon Woestenberg
2009-12-29  8:54 ` Koen Kooi
2009-12-29 14:51   ` Leon Woestenberg
2009-12-29 18:36     ` Koen Kooi
2009-12-29 18:55       ` Gary Thomas
2009-12-29 19:09         ` Koen Kooi

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.