Skip to content

Commit

Permalink
Fix quotes. Remove declare
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsbinder committed May 14, 2024
1 parent ff9e27b commit 629e24b
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion buildconfigs/key_xor_test_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=key_xor_test_app

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_containers_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# TODO: b/333745447 - Replace this file with its counterparts in ./buildconfigs_full_provenance.
package_name=oak_containers_kernel

declare -a build_command=(
build_command=(
nix
develop
.#bzImageProvenance
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_containers_orchestrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_containers_orchestrator

declare -a build_command=(
build_command=(
nix
develop
.#systemImageProvenance
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_containers_stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_containers_stage1

declare -a build_command=(
build_command=(
nix
develop
.#stage1Provenance
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_containers_syslogd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_containers_syslogd

declare -a build_command=(
build_command=(
nix
develop
.#systemImageProvenance
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_containers_system_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_containers_system_image

declare -a build_command=(
build_command=(
nix
develop
.#systemImageProvenance
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_echo_enclave_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_echo_enclave_app

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_echo_raw_enclave_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_echo_raw_enclave_app

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_functions_enclave_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_functions_enclave_app

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_functions_insecure_enclave_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_functions_insecure_enclave_app

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_ml_transparency_eval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_ml_transparency

declare -a build_command=(
build_command=(
env
--chdir=oak_ml_transparency/mnist
/project/runner-musl
Expand Down
2 changes: 1 addition & 1 deletion buildconfigs/oak_orchestrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
package_name=oak_orchestrator

declare -a build_command=(
build_command=(
nix
develop
.#rust
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
# 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",
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
Expand Down
30 changes: 16 additions & 14 deletions buildconfigs/stage0_bin.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
#!/bin/sh

#
# Build configuration for stage0_bin.
#
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",
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
Expand Down

0 comments on commit 629e24b

Please sign in to comment.