Skip to content

bpradipt/guest-components-vendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Vendor the deps

make vendor

Copy the instructions mentioned in the o/p to app/.cargo/config.toml by replacing all the entries under "### Replace the next entries based on o/p of make vendor"

Sync the vendor files to app/vendor

make sync

Test

You can run test builds of the projects to ensure offline build works.

  • Clone the guest-components project
git clone https://github.com/confidential-containers/guest-components.git
  • Clone the vendor project
git clone https://github.com/bpradipt/guest-components-vendor
  • Checkout v0.8.0 branch
cd guest-components
git checkout -b v0.8.0-local v0.8.0
  • Copy the guest-components-vendor/app/.cargo/config.toml to the project root and adjust the source.vendored-sources entry

Assuming you are under guest-components dir, run the following command:

cp -r guest-components-vendor/app/.cargo .

Adjust the source.vendored-sources entry. For example, if guest-components-vendor is under /root/, then the updated entry should look like this:

[source.vendored-sources]
directory = "/root/guest-components-vendor/app/vendor"
  • Run builds
cd attestation-agent
make KBC="cc_kbc" ttrpc=true LIBC=gnu
cd ..
cd api-server-rest
make
cd ..
cd confidential-data-hub
make RESOURCE_PROVIDER=kbs PROVIDER=kbs LIBC=gnu
cd ..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published