-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0103f6
commit ff9e27b
Showing
15 changed files
with
267 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_containers_kernel. | ||
# | ||
# TODO: b/333745447 - Replace this file with its counterparts in ./buildconfigs_full_provenance. | ||
package_name=oak_containers_kernel | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#bzImageProvenance | ||
--command | ||
env | ||
--chdir=oak_containers_kernel | ||
make | ||
) | ||
|
||
binary_path=oak_containers_kernel/target/bzImage | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_containers_orchestrator. | ||
# | ||
package_name=oak_containers_orchestrator | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#systemImageProvenance | ||
--command | ||
just | ||
oak_containers_orchestrator | ||
) | ||
|
||
binary_path=oak_containers_orchestrator/target/oak_containers_orchestrator | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_containers_stage1. | ||
# | ||
package_name=oak_containers_stage1 | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#stage1Provenance | ||
--command | ||
env | ||
--chdir=oak_containers_stage1 | ||
make | ||
) | ||
|
||
binary_path=target/stage1.cpio | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_containers_syslogd. | ||
# | ||
package_name=oak_containers_syslogd | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#systemImageProvenance | ||
--command | ||
just | ||
oak_containers_syslogd | ||
) | ||
|
||
binary_path=oak_containers_syslogd/target/oak_containers_syslogd_patched | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_echo_enclave_app. | ||
# | ||
package_name=oak_echo_enclave_app | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#rust | ||
--command | ||
env | ||
--chdir=enclave_apps/oak_echo_enclave_app | ||
cargo | ||
build | ||
--release | ||
) | ||
|
||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_echo_enclave_app | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
#!/bin/sh | ||
|
||
package_name=oak_echo_enclave_app | ||
# | ||
# Build configuration for oak_echo_raw_enclave_app. | ||
# | ||
package_name=oak_echo_raw_enclave_app | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#rust | ||
--command | ||
env | ||
--chdir=enclave_apps/oak_echo_enclave_app | ||
--chdir=enclave_apps/oak_echo_raw_enclave_app | ||
cargo | ||
build | ||
--release | ||
) | ||
|
||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_echo_enclave_app | ||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_echo_raw_enclave_app | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_functions_enclave_app. | ||
# | ||
package_name=oak_functions_enclave_app | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#rust | ||
--command | ||
env | ||
--chdir=enclave_apps/oak_functions_enclave_app | ||
cargo | ||
build | ||
--release | ||
) | ||
|
||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_functions_enclave_app | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_functions_insecure_enclave_app. | ||
# | ||
package_name=oak_functions_insecure_enclave_app | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#rust | ||
--command | ||
env | ||
--chdir=enclave_apps/oak_functions_enclave_app | ||
cargo | ||
build | ||
--release | ||
--no-default-features | ||
--features=allow_sensitive_logging | ||
) | ||
|
||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_functions_insecure_enclave_app | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_ml_transparency. | ||
# | ||
package_name=oak_ml_transparency | ||
|
||
declare -a build_command=( | ||
env | ||
--chdir=oak_ml_transparency/mnist | ||
/project/runner-musl | ||
--model=/project/mnist_model.tar.gz | ||
--model-name=mnist | ||
--eval-script=/project/eval.py | ||
--output=claim.json | ||
) | ||
|
||
binary_path=oak_ml_transparency/mnist/claim.json | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_orchestrator. | ||
# | ||
package_name=oak_orchestrator | ||
|
||
declare -a build_command=( | ||
nix | ||
develop | ||
.#rust | ||
--command | ||
env | ||
--chdir=enclave_apps/oak_orchestrator | ||
cargo | ||
build | ||
--release | ||
) | ||
|
||
binary_path=enclave_apps/target/x86_64-unknown-none/release/oak_orchestrator | ||
subject_path="${binary_path}" |
19 changes: 19 additions & 0 deletions
19
buildconfigs/oak_restricted_kernel_simple_io_init_rd_wrapper_bin.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# | ||
# Build configuration for oak_restricted_kernel_simple_io_init_rd_wrapper_bin. | ||
# | ||
# TODO: b/333745447 - Replace this file with its counterparts in ./buildconfigs_full_provenance. | ||
|
||
package_name=oak_restricted_kernel_simple_io_init_rd_wrapper_bin | ||
|
||
declare -a build_command=( | ||
"nix", | ||
"develop", | ||
".#rust", | ||
"--command", | ||
"just", | ||
"oak_restricted_kernel_simple_io_init_rd_wrapper", | ||
) | ||
|
||
binary_path=oak_restricted_kernel_wrapper/target/x86_64-unknown-none/release/oak_restricted_kernel_simple_io_init_rd_wrapper_bin | ||
subject_path="${binary_path}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
|
||
package_name=stage0_bin | ||
|
||
declare -a build_command=( | ||
"nix", | ||
"develop", | ||
".#rust", | ||
"--command", | ||
"env", | ||
"--chdir=stage0_bin", | ||
"cargo", | ||
"objcopy", | ||
"--release", | ||
"--", | ||
"--output-target=binary", | ||
"target/x86_64-unknown-none/release/stage0_bin", | ||
) | ||
|
||
binary_path=stage0_bin/target/x86_64-unknown-none/release/stage0_bin | ||
subject_path="${binary_path}" |