* Building images without kernel
@ 2018-04-05 9:30 Claudius Heine
2018-04-05 9:40 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Claudius Heine @ 2018-04-05 9:30 UTC (permalink / raw)
To: isar-users, Jan Kiszka
Hi,
my use-case is creating nfs root file systems with isar, so I don't need
the kernel created by isar. That worked with older isar version.
Now we have a strong dependency to some kernel.
Using my multiconfig it currently complains about:
Nothing PROVIDES 'linux-image-${KERNEL_NAME}'
Sure I can just set `KERNEL_IMAGE` to something, but wouldn't that then
deploy the kernel to my rfs?
Cheers,
Claudius
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building images without kernel
2018-04-05 9:30 Building images without kernel Claudius Heine
@ 2018-04-05 9:40 ` Jan Kiszka
2018-04-05 9:54 ` Alexander Smirnov
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2018-04-05 9:40 UTC (permalink / raw)
To: Claudius Heine, isar-users
On 2018-04-05 11:30, Claudius Heine wrote:
> Hi,
>
> my use-case is creating nfs root file systems with isar, so I don't need
> the kernel created by isar. That worked with older isar version.
> Now we have a strong dependency to some kernel.
>
> Using my multiconfig it currently complains about:
> Nothing PROVIDES 'linux-image-${KERNEL_NAME}'
>
> Sure I can just set `KERNEL_IMAGE` to something, but wouldn't that then
> deploy the kernel to my rfs?
That hard dependency is encoded into isar-image-base.bb (I think it was
before as well). You could probably do IMAGE_INSTALL_remove, or you
provide a linux-image-none recipe (KERNEL_NAME=none to install nothing
in your image. Maybe we should include such a dummy recipe upstream so
that this case can be handled without boilerplate code.
Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building images without kernel
2018-04-05 9:40 ` Jan Kiszka
@ 2018-04-05 9:54 ` Alexander Smirnov
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Smirnov @ 2018-04-05 9:54 UTC (permalink / raw)
To: Jan Kiszka, isar-users
On 04/05/2018 12:40 PM, Jan Kiszka wrote:
> On 2018-04-05 11:30, Claudius Heine wrote:
>> Hi,
>>
>> my use-case is creating nfs root file systems with isar, so I don't need
>> the kernel created by isar. That worked with older isar version.
>> Now we have a strong dependency to some kernel.
>>
>> Using my multiconfig it currently complains about:
>> Nothing PROVIDES 'linux-image-${KERNEL_NAME}'
>>
>> Sure I can just set `KERNEL_IMAGE` to something, but wouldn't that then
>> deploy the kernel to my rfs?
>
> That hard dependency is encoded into isar-image-base.bb (I think it was
> before as well). You could probably do IMAGE_INSTALL_remove, or you
> provide a linux-image-none recipe (KERNEL_NAME=none to install nothing
> in your image. Maybe we should include such a dummy recipe upstream so
> that this case can be handled without boilerplate code.
>
Another approach could be distro features, like it's done in Yocto via
DISTRO_FEATURES. The features could be: kernel, bootloader, debug etc...
In general I think it's eventually very useful cascading.
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-05 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 9:30 Building images without kernel Claudius Heine
2018-04-05 9:40 ` Jan Kiszka
2018-04-05 9:54 ` Alexander Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox