All of lore.kernel.org
 help / color / mirror / Atom feed
* PREMIRROR
@ 2019-07-23 20:49 Russell Peterson
  2019-07-24  8:28 ` PREMIRROR Yi Zhao
  2019-07-24 16:19 ` PREMIRROR Rudolf J Streif
  0 siblings, 2 replies; 12+ messages in thread
From: Russell Peterson @ 2019-07-23 20:49 UTC (permalink / raw)
  To: yocto

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

Hello,

I am looking to have bitbake pick up files for a particular recipe from a
local git repository using the PREMIRROR functionality.

Basically, the recipe (bb file) points to github but in my local build I
add PREMIRROR_prepend = "git://.*/.*
git:///local/path/BASENAME;protocol=file\n"

I will probably make the git regular expression more exact for my specific
github repo but this works for now.

This all works (as I deleted the github download from the local download
directory) because I can see in the do_fetch log and the correct (local)
repo was found and placed in the DL_DIR.

Problem is, do_unpack fails because it appears to be looking for the
original (github) SRC_URI.  Then it complains about "no up to date source
found: clone or directory not available or not up to date (shallow clone
not enabled)"

Any help on what I am missing would be appreciated.

Regards,

Russell

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

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

end of thread, other threads:[~2019-07-26 22:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23 20:49 PREMIRROR Russell Peterson
2019-07-24  8:28 ` PREMIRROR Yi Zhao
2019-07-24 18:30   ` PREMIRROR Russell Peterson
2019-07-24 16:19 ` PREMIRROR Rudolf J Streif
2019-07-24 18:28   ` PREMIRROR Russell Peterson
2019-07-24 18:57     ` PREMIRROR Rudolf J Streif
2019-07-24 19:53       ` PREMIRROR Russell Peterson
2019-07-24 19:55         ` PREMIRROR Rudolf J Streif
2019-07-25 15:14           ` PREMIRROR Russell Peterson
2019-07-25 20:58             ` PREMIRROR Rudolf J Streif
2019-07-25 23:48               ` PREMIRROR Russell Peterson
2019-07-26 22:19                 ` PREMIRROR Rudolf J Streif

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.