Skip to contentSkip to conversation

Kernel Version Dependency in BB Recipe

DISCUSSION Andres Sagot 3 participants 7 messages Oct 29, 2015 – Dec 10, 2015

lore
Share & tools
lore
#0 lore raw

Hello Yocto Community, I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux. Thank you and best regards,Andres

#1 lore raw

To Specify the Linux Kernel Local Path In SRC_URI

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Thank you and best regards,
Andres

#2 lore raw

Re: To Specify the Linux Kernel Local Path In SRC_URI

Quoted 9 lines · YUKATHARSANI JEYACHANDRA

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

Quoted 33 lines

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Thank you and best regards,
Andres

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw

Re: To Specify the Linux Kernel Local Path In SRC_URI

Thank you khem..It worked.

Quoted 50 lines · Khem Raj
Quoted 9 lines · YUKATHARSANI JEYACHANDRA

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

Quoted 23 lines

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Quoted 9 lines

Thank you and best regards,
Andres

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

.

#4 lore raw

To Customize the toolchain path in meta-bsp layer

In reply to Khem Raj

Hi All,

I am trying to build my meta-bsp layer using external linaro
toolchain path.
But i am getting some issues since i set EXTERNAL_TOOLCHAIN
path in local.conf file.
Is there any way to customize my meta layer alone to take
external linaro tool chain not other general meta layers.

Thanks and Regards,
Yukatharsani J.

Quoted 50 lines · Khem Raj
Quoted 9 lines · YUKATHARSANI JEYACHANDRA

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

Quoted 23 lines

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Quoted 9 lines

Thank you and best regards,
Andres

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

.

#5 lore raw

Re: Computing transaction Error

Hi All,

I am getting the following error while running my bsp image.

Loading cache...
Updating cache... ######################################## [100%]

Computing transaction...error: Can't install packagegroup-mrvl-bsp-1.0-r17.1@bg4ct: no package provides amp

Any idea what might go wrong ?

Thanks and Regards,
Yukatharsani J.

Quoted 66 lines · Yukatharsani Jeyachandra

Hi All,

I am trying to build my meta-bsp layer using external linaro
toolchain path.
But i am getting some issues since i set EXTERNAL_TOOLCHAIN
path in local.conf file.
Is there any way to customize my meta layer alone to take
external linaro tool chain not other general meta layers.

Thanks and Regards,
Yukatharsani J.

Quoted 51 lines · Khem Raj
Quoted 9 lines · YUKATHARSANI JEYACHANDRA

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

Quoted 18 lines

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

Quoted 14 lines

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Thank you and best regards,
Andres

Signature · 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

.

#6 lore raw

Re: Computing transaction Error

Quoted 13 lines · Yukatharsani Jeyachandra

Hi All,

I am getting the following error while running my bsp image.

Loading cache...
Updating cache... ######################################## [100%]

Computing transaction...error: Can't install packagegroup-mrvl-bsp-1.0-r17.1@bg4ct: no package provides amp

Any idea what might go wrong ?

you have a package called amp which is actually empty so it gets removed from final package list but the package group still has the depepndency so you can use ALLOW_EMPTY in amp recipe or your run time dependency in package group is wrong it should probably be some other package coming out of same recipe thats building amp. May be a library

Quoted 73 lines

Thanks and Regards,
Yukatharsani J.

Quoted 6 lines · Yukatharsani Jeyachandra

Hi All,

I am trying to build my meta-bsp layer using external linaro toolchain path.
But i am getting some issues since i set EXTERNAL_TOOLCHAIN path in local.conf file.
Is there any way to customize my meta layer alone to take external linaro tool chain not other general meta layers.

Quoted 56 lines

Thanks and Regards,
Yukatharsani J.

Quoted 50 lines · Khem Raj
Quoted 9 lines · YUKATHARSANI JEYACHANDRA

Hi,

I am trying to build kernel image for new hardware.

So, I prefer to use my linux 3.x version with specific changes.

I want bitbake to fetch the local path of my linux.

Is it possible to specify the local path in SRC_URI.

yes. use file:///path/to/linux.tar or even you can use externalsrc and point it to your tree during development.
read through
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#building-software-from-an-external-source

Quoted 23 lines

Thanks and Regards,

Yukatharsani J.

________________________________
From: [email protected] <[email protected]> on behalf of Andres Sagot <[email protected]>
Sent: Thursday, October 29, 2015 9:49 AM
To: [email protected]
Subject: [yocto] Kernel Version Dependency in BB Recipe

Hello Yocto Community,

I did a search and found a great deal about layer dependencies, but I am still not clear on how or if it is possible to add a kernel version dependency to a BB recipe. I would like to bitbake to report an error if it attempts to build my custom package with an unsupported version of Linux.

Quoted 9 lines

Thank you and best regards,
Andres

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

.

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto