[OE-core] [PATCH 1/4] bootimg.bbclass: add support to disable HDD image building
Otavio Salvador
otavio at ossystems.com.br
Fri Oct 21 12:27:32 UTC 2011
On Fri, Oct 21, 2011 at 04:07, Khem Raj <raj.khem at gmail.com> wrote:
> On Thu, Oct 20, 2011 at 8:31 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>> ---
>> meta/classes/bootimg.bbclass | 44 +++++++++++++++++++++--------------------
>> 1 files changed, 23 insertions(+), 21 deletions(-)
>>
>> diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
>> index a5ba3cf..eecc2bf 100644
>> --- a/meta/classes/bootimg.bbclass
>> +++ b/meta/classes/bootimg.bbclass
>> @@ -48,34 +48,36 @@ SYSLINUXMENU = "${HDDDIR}/menu"
>> inherit syslinux
>>
>> build_boot_bin() {
>> - install -d ${HDDDIR}
>> - install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage \
>> - ${HDDDIR}/vmlinuz
>> + # Create an HDD image
>> + if [ "${NOHDD}" != "1" ] ; then
>
> please document this new variable NOHDD somewhere so people know how
> and when to use it
What do you suggests.
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-core
mailing list