Skip to content

Conversation

@ameba23
Copy link
Contributor

@ameba23 ameba23 commented Nov 27, 2025

This is what i plan to use for testing attestation generation / verification code on Azure.

I don't necessarily want to merge this, but keeping a draft PR so i can add notes.

@ameba23 ameba23 marked this pull request as draft November 27, 2025 10:39
"/nix"
)

if [[ ! "$PROFILES" == *"devtools"* ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this i was getting:

‣  Running finalize script /home/debian/mnt/base/debloat.sh…
/work/finalize: line 42: PROFILES: unbound variable
‣ "/work/finalize" returned non-zero exit code 1.

I'm not sure if there is any danger in accepting an unbound value here.

cd '/build/$package'
cargo fetch
cargo build --release --frozen ${extra_features:+--features $extra_features}
cargo build -p $package --release --frozen ${extra_features:+--features $extra_features}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have more than one crate in the workspace, so i need to specify which one i want to build. Im not sure whether this change would effect other users of this script - need to check their crate names (lighthouse, reth and rbuilder).

@ameba23
Copy link
Contributor Author

ameba23 commented Dec 1, 2025

Currently having an issue with missing runtime dependency:

 /usr/bin/dummy-attestation-server server --listen-addr 0.0.0.0:8080 --server-attestation-type azure-tdx
/usr/bin/dummy-attestation-server: error while loading shared libraries: libtss2-tctildr.so.0: cannot open shared object file: No such file or directory


$ldd /usr/bin/dummy-attestation-server
	linux-vdso.so.1 (0x00007fc5d58a7000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc5d4ae6000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007fc5d4a1c000)
	libtss2-esys.so.0 => /lib/x86_64-linux-gnu/libtss2-esys.so.0 (0x00007fc5d4980000)
	libtss2-tctildr.so.0 => not found
	libtss2-mu.so.0 => /lib/x86_64-linux-gnu/libtss2-mu.so.0 (0x00007fc5d4932000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc5d4903000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc5d4813000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc5d461d000)
	libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007fc5d3fe5000)
	libtss2-sys.so.1 => /lib/x86_64-linux-gnu/libtss2-sys.so.1 (0x00007fc5d3fc2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc5d58a9000)``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant