Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all references to pccs service #1057

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

berrange
Copy link

@berrange berrange commented Oct 1, 2024

The PCCS code was deleted in the DCAP 1.22 release that SGX references, resulting in a failure to build the installers for DCAP / TDX. e.g.

 $ /usr/bin/make -I linux/installer/common/psw-dcap -f linux/installer/common/psw-dcap/Makefile SRCDIR=. DESTDIR=build/vroot/psw install
 ...snip...
 python /var/home/berrange/rpmbuild/BUILD/linux-sgx-sgx_2.25_reproducible/linux/installer/common/gen_source/copy_source.py --bom-file /var/home/berrange/rpmbuild/BUILD/linux-sgx-sgx_2.25_reproducible/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt --src-path . --dst-path build/pkgroot/sgx-dcap-pccs
 Error: src directory/file ./external/dcap_source/QuoteGeneration/pccs/config/default.json does not exist!
 make: *** [linux/installer/common/psw-dcap/Makefile:195: pre_sgx-dcap-pccs] Error 1

Remove all traces of PCCS from the installer.

NB: this does not attempt to put any "Obsoletes: sgx-dcap-pccs" line into any remaining RPM to cause 'sgx-dcap-pccs' to be uninstalled on package update, since it isn't clear what (if any) upgrade story there is wrt the removal of PCCS, for users whom were relying on it previously.

The PCCS code was deleted in the DCAP 1.22 release that SGX
references, resulting in a failure to build the installers
for DCAP / TDX. e.g.

 $ /usr/bin/make -I linux/installer/common/psw-dcap -f linux/installer/common/psw-dcap/Makefile SRCDIR=. DESTDIR=build/vroot/psw install
 ...snip...
 python /var/home/berrange/rpmbuild/BUILD/linux-sgx-sgx_2.25_reproducible/linux/installer/common/gen_source/copy_source.py --bom-file /var/home/berrange/rpmbuild/BUILD/linux-sgx-sgx_2.25_reproducible/linux/installer/common/psw-dcap/BOM_install/sgx-dcap-pccs.txt --src-path . --dst-path build/pkgroot/sgx-dcap-pccs
 Error: src directory/file ./external/dcap_source/QuoteGeneration/pccs/config/default.json does not exist!
 make: *** [linux/installer/common/psw-dcap/Makefile:195: pre_sgx-dcap-pccs] Error 1

Remove all traces of PCCS from the installer.

Signed-off-by: Daniel P. Berrangé <[email protected]>
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.

2 participants