Advertisement
Guest User

Untitled

a guest
Jan 9th, 2023
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. # Auto-Generated by cargo-bitbake 0.3.16-alpha.0
  2. #
  3. inherit cargo
  4.  
  5. # Ignore errors due to SSH_AUTH_SOCK forwarding in do_compile
  6. do_compile[vardepsexclude] += "BB_ORIGENV"
  7.  
  8. do_compile() {
  9. # Forward SSH_AUTH_SOCK so that cargo can clone private repositories
  10. export SSH_AUTH_SOCK="${@d.getVar('BB_ORIGENV', False).getVar('SSH_AUTH_SOCK', False)}"
  11.  
  12. # Allow cargo to clone private repositories using ~/.ssh/config
  13. export CARGO_NET_GIT_FETCH_WITH_CLI="true"
  14.  
  15. cargo_do_compile
  16. }
  17.  
  18. # If this is git based prefer versioned ones if they exist
  19. DEFAULT_PREFERENCE = "-1"
  20.  
  21. SRC_URI += "git://git@gitlab.com/elaye/kolibri-backend.git;protocol=ssh;nobranch=1;rev=6d0a6a8f41549fb59c5ee81deb50bd88e89d16ae"
  22. SRCREV = "6d0a6a8f41549fb59c5ee81deb50bd88e89d16ae"
  23. S = "${WORKDIR}/git"
  24. CARGO_SRC_DIR = "server/klbserver"
  25. PV:append = ".AUTOINC+6d0a6a8f41"
  26.  
  27. # please note if you have entries that do not begin with crate://
  28. # you must change them to how that package can be fetched
  29. SRC_URI += " \
  30. crate://crates.io/actix-web/4.2.1 \
  31. ... \
  32. git://git@gitlab.com/elaye/kolibri-core.git;protocol=ssh;nobranch=1;name=kcore;destsuffix=kcore \
  33. "
  34.  
  35. SRCREV_FORMAT .= "_kcore"
  36. SRCREV_kcore = "1baee42026b80268288dffe5e582dc305b83394c"
  37. EXTRA_OECARGO_PATHS += "${WORKDIR}/kcore"
  38.  
  39. SUMMARY = "Test server"
  40. HOMEPAGE = "https://gitlab.com/elaye/kolibri-backend"
  41. LICENSE = "CLOSED"
  42.  
  43. # includes this file if it exists but does not fail
  44. # this is useful for anything you may want to override from
  45. # what cargo-bitbake generates.
  46. include klbserver-${PV}.inc
  47. include klbserver.inc
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement