All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Recipe changes to pull/fetch the source code from local instead of a remote server.
@ 2017-05-03  5:16 Aravindhlal G.S.S
  2017-05-03  7:11 ` Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Aravindhlal G.S.S @ 2017-05-03  5:16 UTC (permalink / raw)
  To: Aravindhlal G.S.S, yocto

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

[Gentle reminder]

Can someone help me here, please ?

Thanks
-Aravindh

From: Aravindhlal G.S.S
Sent: 26 April 2017 20:29
To: yocto@yoctoproject.org
Subject: Recipe changes to pull/fetch the source code from local instead of a remote server.

Hi Experts,

I am trying to make changes in the bitbake files(recipes) to pull/fetch the source code from the local instead of the remote server. The SRC_URI points to the local workspace, however I see that while building the source code is pulled from a remote repository.

Do I need to make any specific changes in the recipes or any conf files under build directory (auto.conf) ? Could you please let me your pointers/suggestions ?

Appreciate your help.

Thanks
-Aravindh


[-- Attachment #2: Type: text/html, Size: 3927 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Recipe changes to pull/fetch the source code from local instead of a remote server.
  2017-05-03  5:16 Recipe changes to pull/fetch the source code from local instead of a remote server Aravindhlal G.S.S
@ 2017-05-03  7:11 ` Alexander Kanavin
  2017-05-03  8:29   ` Aravindhlal G.S.S
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kanavin @ 2017-05-03  7:11 UTC (permalink / raw)
  To: yocto, aravindhlalgss

On 05/03/2017 08:16 AM, Aravindhlal G.S.S wrote:
> I am trying to make changes in the bitbake files(recipes) to pull/fetch
> the source code from the local instead of the remote server. The SRC_URI
> points to the local workspace, however I see that while building the
> source code is pulled from a remote repository.

Can you copy-paste the recipe here? Or at least what the SRC_URI 
specifically says? You can obfuscate your project name etc, if that is 
confidential.

> Do I need to make any specific changes in the recipes or any conf files
> under build directory (auto.conf) ? Could you please let me your
> pointers/suggestions ?

Maybe this?
http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#building-software-from-an-external-source

> [Gentle reminder]
> Can someone help me here, please ?

It's more difficult to provide help, if you describe the issue in 
generic terms, maybe that's why there was no reaction.


Alex


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Recipe changes to pull/fetch the source code from local instead of a remote server.
  2017-05-03  7:11 ` Alexander Kanavin
@ 2017-05-03  8:29   ` Aravindhlal G.S.S
  2017-05-03  8:46     ` Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Aravindhlal G.S.S @ 2017-05-03  8:29 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]

Alex,



Please see the recipe here.



SUMMARY = "HAL for RDK CCSP components"

HOMEPAGE = "http://github.com/belvedere-yocto/hal"



LICENSE = "Apache-2.0"

LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e"



PROVIDES = "virtual/ccsp-hal"



SRC_URI = "${RDKB_CCSP_ROOT_GIT}/hal/generic;protocol=${RDK_GIT_PROTOCOL};branch=${CCSP_GIT_BRANCH};name=hal"



SRCREV_hal = "${AUTOREV}"

SRCREV_FORMAT = "hal"



PV = "${RDK_RELEASE}+git${SRCPV}"



S = "${WORKDIR}/git"

CFLAGS_prepend = "-I${S}/include"



inherit autotools



I went through the link as well, however I don't see the variables (EXTERNALSRC<http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-EXTERNALSRC>, EXTERNALSRC_BUILD<http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-EXTERNALSRC_BUILD>) are defined in the recipes.



Thanks

-Aravindh

-----Original Message-----
From: Alexander Kanavin [mailto:alexander.kanavin@linux.intel.com]
Sent: 03 May 2017 12:42
To: yocto@yoctoproject.org; Aravindhlal G.S.S
Subject: Re: [yocto] Recipe changes to pull/fetch the source code from local instead of a remote server.



On 05/03/2017 08:16 AM, Aravindhlal G.S.S wrote:

> I am trying to make changes in the bitbake files(recipes) to

> pull/fetch the source code from the local instead of the remote

> server. The SRC_URI points to the local workspace, however I see that

> while building the source code is pulled from a remote repository.



Can you copy-paste the recipe here? Or at least what the SRC_URI specifically says? You can obfuscate your project name etc, if that is confidential.



> Do I need to make any specific changes in the recipes or any conf

> files under build directory (auto.conf) ? Could you please let me your

> pointers/suggestions ?



Maybe this?

http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#building-software-from-an-external-source



> [Gentle reminder]

> Can someone help me here, please ?



It's more difficult to provide help, if you describe the issue in generic terms, maybe that's why there was no reaction.





Alex

[-- Attachment #2: Type: text/html, Size: 8885 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Recipe changes to pull/fetch the source code from local instead of a remote server.
  2017-05-03  8:29   ` Aravindhlal G.S.S
@ 2017-05-03  8:46     ` Alexander Kanavin
  2017-05-04  7:21       ` SOLVED " Aravindhlal G.S.S
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Kanavin @ 2017-05-03  8:46 UTC (permalink / raw)
  To: Aravindhlal G.S.S; +Cc: yocto

On 05/03/2017 11:29 AM, Aravindhlal G.S.S wrote:
> SRC_URI =
> "${RDKB_CCSP_ROOT_GIT}/hal/generic;protocol=${RDK_GIT_PROTOCOL};branch=${CCSP_GIT_BRANCH};name=hal"

Where are these variables defined? What do they say?

Where do you expect the source code to be pulled from, and where does it 
actually come from?

Alex



^ permalink raw reply	[flat|nested] 7+ messages in thread

* SOLVED RE: Recipe changes to pull/fetch the source code from local instead of a remote server.
  2017-05-03  8:46     ` Alexander Kanavin
@ 2017-05-04  7:21       ` Aravindhlal G.S.S
  0 siblings, 0 replies; 7+ messages in thread
From: Aravindhlal G.S.S @ 2017-05-04  7:21 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: yocto

Alex, I went through all the variables and found that it is fetching the source code from the remote server.
Thanks for your help, appreciate it.

Best
-Aravindh

-----Original Message-----
From: Alexander Kanavin [mailto:alexander.kanavin@linux.intel.com] 
Sent: 03 May 2017 14:17
To: Aravindhlal G.S.S
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Recipe changes to pull/fetch the source code from local instead of a remote server.

On 05/03/2017 11:29 AM, Aravindhlal G.S.S wrote:
> SRC_URI =
> "${RDKB_CCSP_ROOT_GIT}/hal/generic;protocol=${RDK_GIT_PROTOCOL};branch=${CCSP_GIT_BRANCH};name=hal"

Where are these variables defined? What do they say?

Where do you expect the source code to be pulled from, and where does it actually come from?

Alex



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Recipe changes to pull/fetch the source code from local instead of a remote server.
  2017-04-26 14:58 Aravindhlal G.S.S
@ 2017-05-03  7:08 ` Nicolas Dechesne
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Dechesne @ 2017-05-03  7:08 UTC (permalink / raw)
  To: Aravindhlal G.S.S; +Cc: yocto

On Wed, Apr 26, 2017 at 4:58 PM, Aravindhlal G.S.S
<aravindhlalgss@embedur.com> wrote:
> I am trying to make changes in the bitbake files(recipes) to pull/fetch the
> source code from the local instead of the remote server. The SRC_URI points
> to the local workspace, however I see that while building the source code is
> pulled from a remote repository.
>
>
>
> Do I need to make any specific changes in the recipes or any conf files
> under build directory (auto.conf) ? Could you please let me your
> pointers/suggestions ?
>

Not sure if this is exactly what you want to do, but you build an OE
recipe using an already existing local git workspace, instead of
fetching from a remote location:

http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-classes-externalsrc

>
>
> Appreciate your help.
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Recipe changes to pull/fetch the source code from local instead of a remote server.
@ 2017-04-26 14:58 Aravindhlal G.S.S
  2017-05-03  7:08 ` Nicolas Dechesne
  0 siblings, 1 reply; 7+ messages in thread
From: Aravindhlal G.S.S @ 2017-04-26 14:58 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Hi Experts,

I am trying to make changes in the bitbake files(recipes) to pull/fetch the source code from the local instead of the remote server. The SRC_URI points to the local workspace, however I see that while building the source code is pulled from a remote repository.

Do I need to make any specific changes in the recipes or any conf files under build directory (auto.conf) ? Could you please let me your pointers/suggestions ?

Appreciate your help.

Thanks
-Aravindh


[-- Attachment #2: Type: text/html, Size: 2499 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-04  7:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03  5:16 Recipe changes to pull/fetch the source code from local instead of a remote server Aravindhlal G.S.S
2017-05-03  7:11 ` Alexander Kanavin
2017-05-03  8:29   ` Aravindhlal G.S.S
2017-05-03  8:46     ` Alexander Kanavin
2017-05-04  7:21       ` SOLVED " Aravindhlal G.S.S
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26 14:58 Aravindhlal G.S.S
2017-05-03  7:08 ` Nicolas Dechesne

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.