* Prevent zImage to be copied to /boot/ in image
@ 2013-04-03 14:56 Christophe Aeschlimann
2013-04-03 15:01 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Christophe Aeschlimann @ 2013-04-03 14:56 UTC (permalink / raw)
To: yocto@yoctoproject.org
Hi,
I'm using the danny branch and I would like to know if there is a way to
not have the zImage included in the generated image under the /boot/ folder.
I'm trying to save on space in the generated image and I couldn't find
anywhere to configure that behaviour.
Thank you,
--
Christophe Aeschlimann
Embedded Software Engineer & IT Manager
ACN Advanced Communications Networks S.A.
2000 - Neuchâtel, Switzerland
Tel. +41 32 724 74 31
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prevent zImage to be copied to /boot/ in image
2013-04-03 14:56 Prevent zImage to be copied to /boot/ in image Christophe Aeschlimann
@ 2013-04-03 15:01 ` Bruce Ashfield
2013-04-04 14:55 ` Christophe Aeschlimann
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2013-04-03 15:01 UTC (permalink / raw)
To: Christophe Aeschlimann; +Cc: yocto@yoctoproject.org
On 13-04-03 10:56 AM, Christophe Aeschlimann wrote:
> Hi,
>
> I'm using the danny branch and I would like to know if there is a way to
> not have the zImage included in the generated image under the /boot/ folder.
>
> I'm trying to save on space in the generated image and I couldn't find
> anywhere to configure that behaviour.
Have you tried clearing this variable:
(from kernel.bbclass)
# Allow machines to override this dependency if kernel image files are
# not wanted in images as standard
RDEPENDS_kernel-base ?= "kernel-image"
Cheers,
Bruce
>
> Thank you,
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prevent zImage to be copied to /boot/ in image
2013-04-03 15:01 ` Bruce Ashfield
@ 2013-04-04 14:55 ` Christophe Aeschlimann
2013-04-04 15:53 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Christophe Aeschlimann @ 2013-04-04 14:55 UTC (permalink / raw)
To: yocto
> On 13-04-03 10:56 AM, Christophe Aeschlimann wrote:
>
> Have you tried clearing this variable:
>
> (from kernel.bbclass)
>
> # Allow machines to override this dependency if kernel image files are
> # not wanted in images as standard
> RDEPENDS_kernel-base ?= "kernel-image"
Thank you for your answer,
I did that but it still didn't work.
I now found out that it is because I have an out-of-tree kernel module
in my layer that inherits module.bbclass.
And module.bbclass does the following :
RDEPENDS += "kernel-image update-modules"
Is there a reason why module.bbclass requires kernel-image ?
Best regards,
--
Christophe Aeschlimann
Embedded Software Engineer & IT Manager
ACN Advanced Communications Networks S.A.
2000 - Neuchâtel, Switzerland
Tel. +41 32 724 74 31
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Prevent zImage to be copied to /boot/ in image
2013-04-04 14:55 ` Christophe Aeschlimann
@ 2013-04-04 15:53 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2013-04-04 15:53 UTC (permalink / raw)
To: Christophe Aeschlimann; +Cc: yocto
On 13-04-04 10:55 AM, Christophe Aeschlimann wrote:
>> On 13-04-03 10:56 AM, Christophe Aeschlimann wrote:
>>
>> Have you tried clearing this variable:
>>
>> (from kernel.bbclass)
>>
>> # Allow machines to override this dependency if kernel image files are
>> # not wanted in images as standard
>> RDEPENDS_kernel-base ?= "kernel-image"
>
> Thank you for your answer,
>
> I did that but it still didn't work.
>
> I now found out that it is because I have an out-of-tree kernel module
> in my layer that inherits module.bbclass.
>
> And module.bbclass does the following :
>
> RDEPENDS += "kernel-image update-modules"
>
> Is there a reason why module.bbclass requires kernel-image ?
It shouldn't be required, the image isn't used by the modules at
runtime. In fact, I can see that we've removed the dependency in
master (along with other module build reorganizations).
Cheers,
Bruce
>
> Best regards,
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-04 15:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 14:56 Prevent zImage to be copied to /boot/ in image Christophe Aeschlimann
2013-04-03 15:01 ` Bruce Ashfield
2013-04-04 14:55 ` Christophe Aeschlimann
2013-04-04 15:53 ` Bruce Ashfield
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.