Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Auto-Generated by cargo-bitbake 0.3.16-alpha.0
- #
- inherit cargo
- # Ignore errors due to SSH_AUTH_SOCK forwarding in do_compile
- do_compile[vardepsexclude] += "BB_ORIGENV"
- do_compile() {
- # Forward SSH_AUTH_SOCK so that cargo can clone private repositories
- export SSH_AUTH_SOCK="${@d.getVar('BB_ORIGENV', False).getVar('SSH_AUTH_SOCK', False)}"
- # Allow cargo to clone private repositories using ~/.ssh/config
- export CARGO_NET_GIT_FETCH_WITH_CLI="true"
- cargo_do_compile
- }
- # If this is git based prefer versioned ones if they exist
- DEFAULT_PREFERENCE = "-1"
- SRC_URI += "git://git@gitlab.com/elaye/kolibri-backend.git;protocol=ssh;nobranch=1;rev=6d0a6a8f41549fb59c5ee81deb50bd88e89d16ae"
- SRCREV = "6d0a6a8f41549fb59c5ee81deb50bd88e89d16ae"
- S = "${WORKDIR}/git"
- CARGO_SRC_DIR = "server/klbserver"
- PV:append = ".AUTOINC+6d0a6a8f41"
- # please note if you have entries that do not begin with crate://
- # you must change them to how that package can be fetched
- SRC_URI += " \
- crate://crates.io/actix-web/4.2.1 \
- ... \
- git://git@gitlab.com/elaye/kolibri-core.git;protocol=ssh;nobranch=1;name=kcore;destsuffix=kcore \
- "
- SRCREV_FORMAT .= "_kcore"
- SRCREV_kcore = "1baee42026b80268288dffe5e582dc305b83394c"
- EXTRA_OECARGO_PATHS += "${WORKDIR}/kcore"
- SUMMARY = "Test server"
- HOMEPAGE = "https://gitlab.com/elaye/kolibri-backend"
- LICENSE = "CLOSED"
- # includes this file if it exists but does not fail
- # this is useful for anything you may want to override from
- # what cargo-bitbake generates.
- include klbserver-${PV}.inc
- include klbserver.inc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement