[OE-core] [PATCH] u-boot: Add RPROVIDES bootloader

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Dec 5 19:45:40 UTC 2016


On Mon, Dec 5, 2016 at 5:31 PM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> On Fri, 02 Dec 2016 11:59:52 Fabio Berton wrote:
>> This change allow to install u-boot in /boot partition using
>> MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable e.g.:
>>
>> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "bootloader"
>>
>> This is usefull when system has only one partition and u-boot,
>> kernel and device tree need to be installed in /boot.
>
> If the intention is that other packages also have "bootloader" in RPROVIDES, I
> thought that these kinds of "virtual provides" weren't supported well by all
> of the package managers. (We might get away with it here since they probably
> will all be in their own separate machine-specific feeds, though).

The point in having the bootloader is because different bootloaders
may provide the functionality for the board. This is especially keen
for commercial distributions where a U-Boot fork may include fixes and
this should be used on top of the BSP default and without many changes
on the layer.

As you pointed out, the U-Boot usually has a single provider as it is
a MACHINE_ARCH package. I think it is a safe addition, isn't it?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list